Centos7重启不能自动联网解决方法 Gcod 7 年 前 执行 ifconfig 查看网卡名称 使用vim编辑该文件 vim /etc/sysconfig/network-scripts/ifcfg-网卡名称 找到 ONBOOT=no 改为 ONBOOT=yes ESC :wq 保存退出