最小安裝下,網絡卡不會自行啟動,須手動。
參考自 http://preview.tinyurl.com/lk8rk8u
網路卡設定檔 /etc/sysconfig/network-scripts/ifcfg-eth0
[root@localhost ~] # vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=none HWADDR=00:0C:29:1D:86:BD NM_CONTROLLED=yes ONBOOT=yes TYPE =Ethernet UUID=da0d1da0-568a-45cf-a93f-66a30a4870e7 IPADDR=192.168.1.12 NETMASK=255.255.255.0 GATEWAY=192.168.1.1 IPV6INIT=no USERCTL=no |
[root@localhost ~] # vi /etc/resolv.conf nameserver 168.95.1.1 nameserver 8.8.8.8 |
[root@localhost ~] # vi /etc/sysconfig/network NETWORKING=yes HOSTNAME=COS63 |
沒有留言:
張貼留言