1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| vi /etc/resolv.conf #这个要对应上mac网络上的IP地址 nameserver 192.168.0.8
vi /etc/sysconfig/network NETWORKING=yes
vi /etc/sysconfig/network-scripts/ifcfg-eth0 #这个文件只保留这些就可以 DEVICE=eth0 ONBOOT=yes MM_CONTROLLED=no BOOTPROTO=dhcp
vi /etc/yum/pluginconf.d/fastestmirror.conf enabled=0
chkconfig iptables off /etc/init.d/network restart
|