标签:
参考http://www.111cn.net/sys/CentOS/56456.htm
1.设置IP地址、网关、DNS
1.开启网络连接
vi /etc/sysconfig/network-scripts/ifcfg-eth0
ONBOOT=yes #开启自动启用网络连接
IPV6INIT=no #禁止IPV6
//--------------------------------------------
service ip6tables stop #停止IPV6服务
chkconfig ip6tables off #禁止IPV6开机启动
service network restart #重启网络连接
ifconfig #查看IP地址
2.设置主机名
标签:
原文地址:http://www.cnblogs.com/jdhu/p/4240107.html