Linux没有网络,可能的解决方法

[root@localhost etc]# cd /etc/sysconfig/network-scripts/

[root@localhost network-scripts]# ll

在这里插入图片描述

修改此文件中的ONBOOT=yes

[root@localhost network-scripts]# vim ifcfg-ens33 

在这里插入图片描述

重启网络

[root@localhost network-scripts]# service network restart 
posted @ 2020-02-28 19:54  周星星、同学  阅读(3343)  评论(0编辑  收藏  举报