centos 配置 ip
DEVICE="eth0" BOOTPROTO="static" HWADDR=00:0c:29:6e:6f:b4 IPV6INIT=NO NM_CONTROLLED="yes" ONBOOT="yes" TYPE="Ethernet" UUID="a8341592-4696-4795-b339-e8fb6f805250" IPADDR=192.168.232.5 GATEWAY=192.168.232.2 # 网关是 vmware 配置的!!,参考 首选项 -》 网络配置 NETMASK=255.255.255.0 DNS1=192.168.232.2 DNS=192.168.232.0
关于配置 阿里软件源: