首页 > 代码库 > CentOS7配置网络

CentOS7配置网络

1 #进入目录
2 cd  /etc/sysconfig/network-scripts/
3 #编辑ifcfg-XXX
4 vi ifcfg-eno167777
5 #把onboot=no 改为yes
6 #重启
7 shutdown -r now

 

CentOS7配置网络