Installing Linux system on a VMware Virtual Machine condition:
1, the current Windows system has been installed VMware virtual machine software
2, prepare a CentOS mirror image of the installation package if not, please refer to this article https://blog.51cto.com/14451009/2426348 ( Linux from scratch first bomb (Linux Introduction to pay the download link) ).
Prerequisite ready after we started the installation.
First we open the VMware virtual machine software click New Virtual Machine. As shown below, do not click to select automatically install custom installation.
Next, select a compatible version of VMware 14.
Since the time of installation we're going to configure some things, here we choose later to install, click Next.
Here we select the system you want to install, because our system to be installed is a version of Linux CentOS 7, so here choose to install CentOS7.
Here is an installation path, try not to choose the default path to manually install the letter to him than the C drive them to go. Because the virtual machine is quite account for storage space, if you install them by default to the C drive to the case, will lead to the original host becomes slower card.
Here I chose to install my computer disk E below.
Here is to give the system configuration CPU, if you own more powerful computer's configuration, you can give him a dual-core processor. But do not run any services as a novice to learn Linux, single-core processor is sufficient, click Next.
If you want the virtual machine to run more smoothly, I suggested to him to add to 2G of memory, of course, a G is also possible, this is completely personal preferences.
In order to make CentOS 7 after the installation can access the Internet, here to select NAT mode, which is the mode circled in the figure below, click Next.
Here you can select the default, and click on Next.
Are now using SCSI hard disk directly select default click Next.
接下来使给磁盘分配空间默认是一个20G,如果你的本身硬盘的空间比较大的话,建议给它40个G的容量,点击下一步。
接下来到了一个设置磁盘存储路径,我们把它和系统存放路径放到一起,这样做便于以后删除的时候方便删除。
接下来点击自定义硬件,把不需要用的一些硬件我们移除掉,避免我们的一些资源浪费。如以下的USB控制器,打印机跟声卡我们就用不到选择把它们移除。
下面我们要给光驱设备里面添加我们事先准备好的CentOS 7 的安装镜像文件。
这样我们的虚拟机就创建好了,这就类似于一个没有安装系统的电脑一样,好我们开机电脑给它安装系统。
直接利用↑键选择Install CentOS 7(安装CentOS 7)的选项,进入安装界面。
进去安装界面后把选项向下拉,点击选择中文,如果你英语够好的话也可以选择英文。
.
这边安装的时候系统默认是连图形界面都不带的最小安装,我们要进去选择安装图形界面。
点击下面的GNOME然后左上角点击完成。
这边不使用它的自动分区,我们手动分区点击进入安装位置选项。
然后点击我要配置分区,点击左上角完成。
点击+号依次添加分区。
这边的分区说明 /boot 系统启动目录,保存系统启动相关文件,如内核文件和启动引导程序(grub)文件等,swap是在Linux下,SWAP的作用类似Windows系统下的“虚拟内存”。当物理内存不足时,拿出部分硬盘空间当SWAP分区(虚拟成内存)使用,从而解决内存容量不足的情况,/home 存放所有用户文件的根目录,是用户主目录的基点,比如用户user的主目录就是/home/user,可以用~user表示,. / - 根目录:每一个文件和目录都从这里开始。只有root用户具有该目录下的写权限。此目录和/root目录不同,/root目录是root用户的主目录。
这边的配置方案是40G的硬盘/boot(系统启动目录)6个G,/(根目录)20个G,/home(存放所有用户文件的根目录)10个G,swap(虚拟内存)4个G。
点击左上角的完成后点击接受更改,然后直接点击开始安装,我们的SentOS 7就开始安装了。
进入安装过程中间,我们要给ROOT(超级管理员)添加一个密码,因为它拥有系统的最高权限。
安装完成后点击重新启动。
重启后点击第一个选项进去后点击(我同意许可)点击完成。
这边点击汉语,然后选择前进。
这边注意了,除了超级管理员账号之外我们还要添加一个自己的账户,这边我添加了一个名叫zhangsan的用户,然后设置密码。
注意这边需要遵循Cent OS的一个密码要求。
安装完成后我们点击开始使用,进去后使用自带的火狐浏览器看看能不能访问百度。
发现不能够访问百度,这是为什么呢?因为它系统默认关闭网卡,我们要去开启它的网卡设备。
Click on the top left corner of the application, click on the Tools pull-down menu system inside the system is set to enter the setup interface.
Inside there is a wired connection options, click Open on the line I, we can not again try to access Baidu.