孙肖宁

CentOS联网配置
CentOS的网卡默认是关闭的,所以刚安装的CentOS连不上网络,需要更改配置文件vi /etc/sysconf...
扫描右侧二维码阅读全文
20
2018/04

CentOS联网配置

CentOS的网卡默认是关闭的,所以刚安装的CentOS连不上网络,需要更改配置文件
vi /etc/sysconfig/network-scripts/ifcfg-ens33(名字可能不同)
打开之后把ONBOOT的值改成yes
wl.png
保存之后
重启网卡就可以连接外网了
service network restart
关闭防火墙
systemctl stop firewalld.service

Last modification:April 23rd, 2018 at 09:05 pm
If you think my article is useful to you, please feel free to appreciate

Leave a Comment