针对centOs7 其他系统自测
vim /etc/network 添加
NETWORKING=yes
HOSTNAME=localhost
vim /etc/sysconfig/network-scripts/ifcfg-en33
BOOTPROTO=static
vim /etc/hosts
添加xxx(你的ip) localhost
一般只用更改hosts就完事了
针对centOs7 其他系统自测
vim /etc/network 添加
NETWORKING=yes
HOSTNAME=localhost
vim /etc/sysconfig/network-scripts/ifcfg-en33
BOOTPROTO=static
vim /etc/hosts
添加xxx(你的ip) localhost
一般只用更改hosts就完事了