1. Download centos-8.2.2004
centos-8.2.2004 download link : add link description
Click x86_64
Choose a suitable mirror source to download, I choose Alibaba Cloud ,
Choose the right version to download
Be sure to remember the location of the downloaded iso file! ! ! Later configuration will be used
2. Create a new virtual machine
Open VirtualBox
Click New
Fill in the name, type, version and other information of the environment (as shown in the figure above)
Because Centos is actually a clone of RedHat, the version type is RedHat (64-bit)
Then click next
Set the memory size according to your computer, and then click Next
If it is the first time to use, select "Create Now". If you have already created a virtual machine, you can directly click "Use Existing". I choose "Use Existing" here, and then click Create.
You can find more virtual machines with centos 8
3. Associate the centos-8.2.2004 ISO file with the virtual machine
Click "Settings"
Click store
Click "No Disc", then click the small disc icon in the upper right corner
Click "select virtual disk file" and enter the path where you just downloaded centos-8.2.2004 to find the iso file
Select and click "Open"
Click "OK"
Click on the system and drag to set the "CD-ROM drive" as the first boot sequence, and then click OK
4. Install centos-8.2.2004 to the virtual disk
Click to start
Choose Install Centos Linux 8
Choose Chinese for installation language, click to continue
As a result, the installation cannot be performed normally at this step. The reason is that the installation space is insufficient because I directly chose "Use existing virtual hard disk file" to install the virtual machine. How to solve it?
Solution
Click Settings
Choose Create
Start again
Wait for the installation and
installation to complete, restart to use, the
follow-up has been the default next step