1.1安装Centos7.5

1.1.1在VMware Workstation新建虚拟机

centos7安装虚拟机 centos7 安装vmware_IPV6


centos7安装虚拟机 centos7 安装vmware_centos7安装虚拟机_02


centos7安装虚拟机 centos7 安装vmware_重启_03


centos7安装虚拟机 centos7 安装vmware_linux_04


centos7安装虚拟机 centos7 安装vmware_重启_05


centos7安装虚拟机 centos7 安装vmware_重启_06


centos7安装虚拟机 centos7 安装vmware_重启_07


centos7安装虚拟机 centos7 安装vmware_linux_08


centos7安装虚拟机 centos7 安装vmware_linux_09


centos7安装虚拟机 centos7 安装vmware_IPV6_10


centos7安装虚拟机 centos7 安装vmware_linux_11


centos7安装虚拟机 centos7 安装vmware_linux_12

勾选cpu虚拟化引擎选项

centos7安装虚拟机 centos7 安装vmware_vmware_13

centos7安装虚拟机 centos7 安装vmware_重启_14

1.1.2设置及安装Centos7.5

(1)选中虚拟机右键设置,选择镜像文件路径

centos7安装虚拟机 centos7 安装vmware_linux_15

(2)启动虚拟机

centos7安装虚拟机 centos7 安装vmware_IPV6_16

(3)选中install Centos 7进行安装

centos7安装虚拟机 centos7 安装vmware_linux_17

  1. 选择语言为中文

centos7安装虚拟机 centos7 安装vmware_vmware_18

  1. 软件选择,选择带有gui服务器,右侧不选

centos7安装虚拟机 centos7 安装vmware_IPV6_19

  1. 选择系统安装位置,直接点完成自动分区

centos7安装虚拟机 centos7 安装vmware_vmware_20


centos7安装虚拟机 centos7 安装vmware_IPV6_21

  1. 配置网络

centos7安装虚拟机 centos7 安装vmware_linux_22

centos7安装虚拟机 centos7 安装vmware_linux_23

centos7安装虚拟机 centos7 安装vmware_重启_24

centos7安装虚拟机 centos7 安装vmware_vmware_25


centos7安装虚拟机 centos7 安装vmware_linux_26

  1. 开始安装

centos7安装虚拟机 centos7 安装vmware_vmware_27

centos7安装虚拟机 centos7 安装vmware_centos7安装虚拟机_28

  1. 等待安装
  2. centos7安装虚拟机 centos7 安装vmware_IPV6_29

  3. 安装完毕后重启,配置初始设置

centos7安装虚拟机 centos7 安装vmware_重启_30

centos7安装虚拟机 centos7 安装vmware_重启_31

centos7安装虚拟机 centos7 安装vmware_linux_32

centos7安装虚拟机 centos7 安装vmware_centos7安装虚拟机_33

centos7安装虚拟机 centos7 安装vmware_vmware_34

如前面没设置IP,可登录后手工设置:
切换root账号

su root #输入密码

编辑设置ip

vim /etc/sysconfig/network-scripts/ifcfg-ens33
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=ens33
UUID=d3252c80-ee79-454f-8bf3-df16af7402bd
DEVICE=ens33
ONBOOT=yes

IPADDR=192.168.27.27
NETMASK=255.255.255.0
GATEWAY=192.168.27.2
DNS1=8.8.8.8

centos7安装虚拟机 centos7 安装vmware_centos7安装虚拟机_35


重启网络服务

service network restart

1.1.3克隆虚拟机

  1. 关闭虚拟机,选中虚拟机右键管理->克隆

centos7安装虚拟机 centos7 安装vmware_centos7安装虚拟机_36


centos7安装虚拟机 centos7 安装vmware_vmware_37


centos7安装虚拟机 centos7 安装vmware_vmware_38


centos7安装虚拟机 centos7 安装vmware_重启_39

  1. 运行克隆的虚拟机

centos7安装虚拟机 centos7 安装vmware_重启_40


centos7安装虚拟机 centos7 安装vmware_linux_41

  1. 配置hostname和ip

centos7安装虚拟机 centos7 安装vmware_linux_42


centos7安装虚拟机 centos7 安装vmware_vmware_43

  1. 打开终端

centos7安装虚拟机 centos7 安装vmware_centos7安装虚拟机_44

  1. 修改hostname

centos7安装虚拟机 centos7 安装vmware_centos7安装虚拟机_45


centos7安装虚拟机 centos7 安装vmware_vmware_46

(6)reboot重启虚拟机