centos ifconfig not found

修改網卡配置文件,將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

thank and

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章