修改机器的IP配置
vim /etc/sysconfig/network-scripts/ifcfg-eth0
修改DNS服务器配置
vim /etc/resolv.conf
nameserver 8.8.8.8nameserver 8.8.4.4
修改网络配置
vim /etc/sysconfig/network
NETWORKING=yes
重启网络
/etc/init.d/network restart
发布时间:2016-05-19
修改机器的IP配置
vim /etc/sysconfig/network-scripts/ifcfg-eth0
修改DNS服务器配置
vim /etc/resolv.conf
nameserver 8.8.8.8nameserver 8.8.4.4
修改网络配置
vim /etc/sysconfig/network
NETWORKING=yes
重启网络
/etc/init.d/network restart