Other versions Centos7 ultra-detailed installation process for reference VMwear

Original https://www.jianshu.com/p/ce08cdbc4ddb?utm_source=tuicool&utm_medium=referral

VMwear installation Centos7 ultra-detailed process 

 


1. Preparation software and hardware
Software: recommended VMwear, I use VMwear 12
Mirror: CentOS6, if there is no image can be downloaded from Ali cloud  https://mirrors.aliyun.com/centos/

 

 

Hardware: Because it is installed centos running virtualization software on the host, so there are certain requirements for the configuration of the host machine. At least I5CPU dual-core, hard drive 500G, more than 4G memory.

 

2. The virtual machine is ready
1. Open VMwear select New Virtual Machine

 

 

2. Typical installation and Custom installation
Typical installation: mainstream VMwear will configure applications on the operating system of the virtual machine for the novice to very friendly.
Custom Installation: Custom install some resources can be targeted to strengthen, to remove unwanted resources. To avoid waste of resources.
Here I select Custom Installation.

 

3. Select the virtual machine compatibility
to note here is compatibility, if a copy of a virtual machine to create VMwear12 VM11,10 or less there will be a version incompatibilities. Compatibility is not a problem if it is open in VMwear12 the virtual machine VMwear10 created.

 

4. Choose to install the operating system later

 

 

The choice of operating system
installed here after selecting the operating system, the right choice will be more compatible vm tools. Select here under CentOS linux

 

 

6. The virtual machine name and location of
the virtual machine name is a name for yourself and find more time in the virtual machine.
The default location VMwear is in the C drive, I've changed to F drive.

 

 

7.处理器与内存的分配
处理器分配要根据自己的实际需求来分配。在使用过程中CPU不够的话是可以再增加的。这次只做安装CentOS演示,所以处理器与核心都选1.

 

内存也是要根据实际的需求分配。我的宿主机内存是8G所以我给虚拟机分配2G内存。

 

 

8.网络连接类型的选择,网络连接类型一共有桥接、NAT、仅主机和不联网四种。
桥接:选择桥接模式的话虚拟机和宿主机在网络上就是平级的关系,相当于连接在同一交换机上。
NAT:NAT模式就是虚拟机要联网得先通过宿主机才能和外面进行通信。
仅主机:虚拟机与宿主机直接连起来
桥接与NAT模式访问互联网过程,如下图所示

 

 
桥接与NAT区别

这里选择桥接模式

 

 

9.其余两项按虚拟机默认选项即可

 

 

10.磁盘容量
磁盘容量暂时分配100G即可后期可以随时增加,不要勾选立即分配所有磁盘,否则虚拟机会将100G直接分配给CentOS,会导致宿主机所剩硬盘容量减少。
勾选将虚拟磁盘拆分成多个文件,这样可以使虚拟机方便用储存设备拷贝复制。

 

 

11.磁盘名称,默认即可

 

 

12.取消不需要的硬件
点击自定义硬件

 

 

选择声卡、打印机等不需要的硬件然后移除。

 

 

13.点击完成,已经创建好虚拟机。

 

 

3.安装CentOS
1.连接光盘
右击刚创建的虚拟机,选择设置

 

 

先选择CD/DVD,再选择使用ISO映像文件,最后选择浏览找到下载好的镜像文件。启动时连接一定要勾选上后确定。

 

 

2.开启虚拟机

 

 

 

3.安装操作系统

开启虚拟机后会出现以下界面

  • Install CentOS 7 安装CentOS 7
  • Test this media & install CentOS 7 测试安装文件并安装CentOS 7
  • Troubleshooting 修复故障

选择第一项,安装直接CentOS 7,回车,进入下面的界面

 

 
Paste_Image.png

 

选择安装过程中使用的语言,这里选择英文、键盘选择美式键盘。点击Continue

 

 

首先设置时间

 

 

 

时区选择上海,查看时间是否正确。然后点击Done

 

 


选择需要安装的软件

 


选择 Server with Gui,然后点击Done

 

 

选择安装位置,在这里可以进行磁盘划分。

 

 

选择i wil configure partitioning(我将会配置分区),然后点击done

 

 

 

如下图所示,点击加号,选择/boot,给boot分区分200M。最后点击Add

 

 


然后以同样的办法给其他三个区分配好空间后点击Done

 


然后会弹出摘要信息,点击AcceptChanges(接受更改)

 

 

设置主机名与网卡信息

 

 

 

首先要打开网卡,然后查看是否能获取到IP地址(我这里是桥接),再更改主机名后点击Done。

 

 


最后选择Begin Installation(开始安装)

 


设置root密码

 

 

设置root密码后点击Done

 

 


点击USER CREATION 创建管理员用户

 


输入用户名密码后点击Done

 


等待系统安装完毕重启系统即可

 

Guess you like

Origin www.cnblogs.com/vliz/p/11588704.html