How to install CentOS 7 on VirtualBox

1. Introduction VirtualBox
VirtualBox is an open source virtual machine software. VirtualBox is a software developed by Innotek of Germany and produced by Sun Microsystems. It is written in Qt and officially changed its name to Oracle VM VirtualBox after Sun was acquired by Oracle. Innotek releases VirtualBox under the GNU General Public License (GPL), and provides binary version and OSE version code. Users can install and execute Solaris, Windows, DOS, Linux, OS/2 Warp, BSD and other systems on VirtualBox as client operating systems. It has been developed by Oracle Corporation and is part of Oracle Corporation's xVM virtualization platform technology.
VirtualBox claims to be the strongest free virtual machine software. It not only has rich features, but also has excellent performance. It is easy to use, and the virtual systems include Windows (from Windows 3.1 to Windows 10, Windows Server 2012, all Windows systems are supported), Mac OS X, Linux, OpenBSD, Solaris, IBM OS2 and even Android and other operating systems. Users can install and run the above-mentioned operating systems on VirtualBox. Compared with VMware and Virtual PC of the same nature, the unique features of VirtualBox include the support of Remote Desktop Protocol (RDP), iSCSI and USB. VirtualBox can already support USB 3.0 hardware devices on the client operating system, but VirtualBox needs to be installed Extension Pack.
2. Download VirtualBox
Download the installation file of the corresponding system on the official website of VirtualBox (https://www.virtualbox.org/wiki/Downloads). The current computer is a Windows system, so download Windows accordingly.
VirtualBox Windows version download

3. Install VirtualBox
Click to download the corresponding system version .exe file from the official website
installation interface
Set the location where the program is installed, be careful not to have Chinese in the directory
click is Y
click is Y
click to install
Installing interface
The installation is successful and click Finish
The interface opened after the installation is complete
4. Introduction Centos 7
CentOS 7 is an open source server operating system released by the CentOS project. It was officially released on July 7, 2014. [1]
CentOS 7 is an enterprise-level Linux distribution, which is redistributed from RedHat's free and open source code. [2] The CentOS 7 kernel is updated to 3.10.0, supports Linux containers, supports Open VMware Tools and 3D images out-of-the-box, supports OpenJDK-7 as the default JDK, supports iSCSI and FCoE in the kernel space, supports PTPv2 and other functions . [1-2]
On November 12, 2020, the official version of CentOS 7 launched the final version of the series, CentOS 7.9.2009.
5. Download Centos7
Download the corresponding Centos7 installation package from the Aliyun mirror station (https://mirrors.aliyun.com/centos/7.9.2009/isos/x86_64/), depending on individual needs, there are many versions, Here we choose the relatively small CentOS-7-x86_64-Minimal-2009.iso
Download resources of Centos7 in the Aladdin mirror station
6. Install Centos7
1. First use VirtualBox to create a virtual computer, open the interface, and click the "New" button.
Create a virtual computer page
The name refers to the name displayed in the manager Name, folder is the directory for storing virtual system files, virtual disc is for storing virtual system files in the CD, type is the type of system to be installed, and version is the version of the system to be installed.
Create a new virtual computer

Set the memory allocated to the virtual computer

Set the disk space of the virtual hard disk

After setting, click the "Finish" button

After the creation is complete, you can view the information of the virtual host

2、安装Centos7

Click Settings, click Storage, and then click Add Drive Letter, select the downloaded centos7 installation package, and click OK
After setting, click the start button
starting
Use the arrow keys to select "Install Centos7"
Select the corresponding Chinese language to install
Click on the installation location to open the settings

Keep the default, just click the "Finish" button

Then click on "Network and Hostnames"
Open the network and hostname configuration interface, open the network connection, and set the hostname Click the "Apply" button, and then click the "Finish" button

After the setting is complete, click the "Start Installation" button to install

Click "ROOT password" in the user settings to set the corresponding password
Open the ROOT password setting page, enter the password, and click the "Finish" button

Wait for the installation to complete
After the installation is complete, click the "Restart" button

After restarting, re-enter Centos7

Enter ip addr to view the ip address of linux

Guess you like

Origin blog.csdn.net/lssffy/article/details/131417848