A beginner of the program was studying according to "Linux Standard Textbook" to learn Linux commands. There was a description on the curriculum to install CentOS, but there was no description about CentOS 8, so I checked it myself. The download page of CentOS has changed quite a bit, so I hope you find it helpful.
macOS Catalina MacBook Air (without optical drive)
When you read the textbook, you should install linux. Do you download it from the site? I understood that, but when I think about it, I realize that it cannot be installed normally because it is OS software. As a result of investigation, I found that CentOS can be virtually run on MacOS by using virtualization software called VirtualBox.
I tried installing CentOS 7 using VirtualBox on Mac Most of it is written here, so I wonder if there is no problem if CentOS 8 can be downloaded safely.
[Clogged up when installing VirtualBox on Mac and building CentOS 8] (https://qiita.com/blackpeach7/items/bc181a6115bbb8cf97ba)
There is a download link in Official, so just download it normally from there. You can download the dmg file from the link "OS X hosts", so open it and install it.
Download from Official. There are various versions and I am at a loss, but I chose "CentOS Linux" here.
Next, select "x86_64" in the ISO file.
You will be taken to a page where you can choose which type to download.
It seems OK wherever it says The following mirrors in your region
, but I'mhttp://ftp.iij.ad.jp/pub/linux/centos/8.2.2004/isos/x86_64/ I downloaded it from where it says
. (I selected the one that says riken, but the download didn't progress so much, so I changed it to iij.)
This downloaded data is in ISO format and seems to be a file containing the CentOS 8 installer.
After this, start VirtualBox and install CentOS 8 on that virtual machine.
The procedure from here is basically the same as Reference URL, so please refer to that. If you proceed according to the captured image, CentOS will start without any problem. What I got stuck in was the network connection.
I made it here Refer to the article and connected by NAT. I was able to build the network settings by setting guest OS (CentOS) → VirtualBox (role of router) → host OS (macOS).
After that, I wanted to operate CentOS with CLI instead of GUI, so I tried to install the OS again, but I was able to proceed with learning Linux safely. Regarding the network connection part, after the Linux standard textbook, "[Network & Server Construction from AWS Basics](https://www.amazon.co.jp/Amazon-Web-Services-%E5%9F%BA%] E7% A4% 8E% E3% 81% 8B% E3% 82% 89% E3% 81% AE% E3% 83% 8D% E3% 83% 83% E3% 83% 88% E3% 83% AF% E3% 83% BC% E3% 82% AF-% E3% 82% B5% E3% 83% BC% E3% 83% 90% E3% 83% BC% E6% A7% 8B% E7% AF% 89 / dp / 4822237443 ) ”, And I understood how to write NAT and IP address, so I can understand what I was doing when I was writing this article.
Recommended Posts