1.修改IP地址
(1).修改70-persistent-net.rules
vi /etc/udev/rules.d/70-persistent-net.rules
(2).重启:start_udev
(3).修改ip地址
vi /etc/sysconfig/network-scripts/ifcfg-eth0
(4)重启一下网络 srevice network restart
(5).如果还是报错-重启一下
(6)方法二 修改vi /etc/sysconfig/network-scripts/ifcfg-eth0 将eth0改为eth1,重启一下网络srevice network restart
2.修改主机名
vi /etc/sysconfig/network