修改網卡配置文件,將
ONBOOT=no
改爲ONBOOT=yes
[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
修改完成後重啓網卡
[root@localhost ~]# /etc/init.d/network stop
[root@localhost ~]# /etc/init.d/network start
安裝網絡工具包
[root@localhost ~]# yum install net-tools
[root@localhost ~]# yum install wget