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

猜你喜欢

转载自blog.csdn.net/chunlongyuan/article/details/79258200