centos设置网卡开机自启动

1.进入目录/etc/sysconfig/network-scripts/
2.修改ifcfg-enxxxxxxxx 文件   (即你的网卡标识命名的配置文件)
3. 将ONBOOT=no改成yes
4. 保存后重启即可

猜你喜欢

转载自www.cnblogs.com/setout/p/10699948.html