重点是4.网络配置 很多人网络都搞不来,这里上图了
时区设置
2. 分区设置--基本没啥好说的选择XFS 尝鲜
3.密码设置基本不用说
4.网络配置这个是关键
修改虚拟机配置文件添加ethernet0.virtualDev = "e1000"这样VMware的网卡就变成了Intel的1000M网卡了
6.
[root@mail ~]# ifconfig
eno16777736: flags=4163 mtu 1500
inet 192.168.1.238 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::20c:29ff:fe5f:3935 prefixlen 64 scopeid 0x20
ether 00:0c:29:5f:39:35 txqueuelen 1000 (Ethernet)
RX packets 3278 bytes 207860 (202.9 KiB)
RX errors 0 dropped 7 overruns 0 frame 0
TX packets 179 bytes 20872 (20.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73 mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 0 (Local Loopback)
RX packets 12 bytes 1032 (1.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 12 bytes 1032 (1.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@mail ~]# cd /etc/sysconfig/network-scripts/
[root@mail network-scripts]# ls
ifcfg-eno1677736 ifdown-bnep ifdown-ipv6 ifdown-ppp ifdown-Team ifup ifup-eth ifup-isdn ifup-post ifup-sit ifup-tunnel network-functions
ifcfg-lo ifdown-eth ifdown-isdn ifdown-routes ifdown-TeamPort ifup-aliases ifup-ippp ifup-plip ifup-ppp ifup-Team ifup-wireless network-functions-ipv6
ifdown ifdown-ippp ifdown-post ifdown-sit ifdown-tunnel ifup-bnep ifup-ipv6 ifup-plusb ifup-routes ifup-TeamPort init.ipv6-global
[root@mail network-scripts]# cat ifcfg-eno1677736
TYPE=Ethernet
BOOTPROTO=static
OnBOOT=yes
IPADDR=192.168.1.238
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
[root@mail network-scripts]# ping g.cn
PING g.cn (203.208.49.176) 56(84) bytes of data.
64 bytes from 203.208.49.176: icmp_seq=1 ttl=55 time=50.0 ms
64 bytes from 203.208.49.176: icmp_seq=2 ttl=55 time=50.0 ms
64 bytes from 203.208.49.176: icmp_seq=3 ttl=55 time=50.1 ms
本文出自 “steven 业精于勤荒于嬉..” 博客,请务必保留此出处http://steven2.blog.51cto.com/855881/1539815