# In order to better learning
Download VirtualBox: https://www.virtualbox.org/wiki/Downloads , according to its own computer system to download the corresponding version
Centos7 Download: https://www.centos.org/download/ , select the appropriate version of the download, the present embodiment is the selected version: CentOS-7-x86_64-DVD -1611.iso
VirtualBox installation steps skip ......
The official start of the installation process Centos
1. Create a new virtual machine
Open VirtualBox> New
Edit the name, type, version, and click Next
NOTE: Because Centos is actually a clone of RedHat, so the version type selection RedHat (64-bit), the relationship between the two may refer to the article: http://www.linuxidc.com/Linux/2011-07/39098.htm
According to their actual situation configuration of the computer, click Next
Click Create
Note: Select the type of disk file when the main consideration is whether the Centos 7 other virtualization software (such as vmware) use
VDI: the use VirtualBox
VHD: by using Microsoft Virtual PC
VMDK: used Vmware
Article details Reference: https://vimsky.com/article/3578.html
Here select the type of VDI, you click Next
Fixed size and dynamic allocation Referring to explain here to choose a dynamic allocation, click Next
设置该磁盘的最大值,之所以有最大值是因为我们选择的是动态调整磁盘的大小(可点击大小输入框,直接输入数字,免去滑动杆灵敏度太高,不方便调整的缺点)
点击创建,完成虚拟机的建立
2.将CentOS-7-x86_64-DVD-1611.iso与该虚拟机做关联
点击设置>>存储
找到CentOS-7-x86_64-DVD-1611.iso所在的位置,然后点击OK
系统>>主板,设置启动顺序,将光驱启动设置为第一项
然后点击OK
3.开始安装Centos7到虚拟磁盘中
点击启动,开始安装过程
选择Install Centos Linux 7
安装界面选择中文简体(这里只是设置安装界面的语系,和系统跑起来使用的语系不是一回事)
点击继续
选择安装位置,此处安装到VirtualBox刚才建立的虚拟磁盘,如果要安装到U盘中,此处的磁盘请选择U盘盘符
注意Centos 7默认为最小化安装,即默认不安装图形界面,如果需要使用图形界面,请选择《软件选择》,来进行其他功能的安装
全部设置妥当之后点击开始安装
可创建root密码和普通用户
等到系统提示重启,系统重启之后可进入linux commond line模式,系统安装成功