[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
[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
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。