Centos7不能联网且ifconfig出现command not found

转自
解决Centos7不能联网且ifconfig出现command not found

使用ip addr代替ifconfig

将文件/etc/sysconfig/network-scripts/ifcfg-enXXXX

ONBOOT=no 改为 ONBOOT=yes

service network restart

猜你喜欢

转载自blog.csdn.net/xy707707/article/details/80916036