码迷,mamicode.com
首页 > 其他好文 > 详细

Redhat开机没有启动网络

时间:2015-06-10 01:20:48      阅读:138      评论:0      收藏:0      [点我收藏+]

标签:redhat开机没有启动网络

Redhat开机没有启动网络


首先检查下网络文件中ONBOOT是否为yes


# vi /etc/sysconfig/network-scripts/ifcfg-eth0


 ONBOOT=yes   (如果为no改为yes)


:wq




如果改后还不行,在/etc/rc.local里写上开机启动即可


# vi /etc/rc.local


/sbin/ifup eth0


:wq


本文出自 “linux” 博客,请务必保留此出处http://yangzhiming.blog.51cto.com/4849999/1660218

Redhat开机没有启动网络

标签:redhat开机没有启动网络

原文地址:http://yangzhiming.blog.51cto.com/4849999/1660218

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!