美文网首页
CentOS 6.8 启动网卡

CentOS 6.8 启动网卡

作者: 瓦伦西亚晨影 | 来源:发表于2016-06-21 07:49 被阅读0次

    问题:CentOS minimal安装后,使用ifconfig无法看到eth0的IP地址
    正确配置的方法:

    1.开启网卡

    引导时启动
    在/etc/sysconfig/network-scripts/目录下修改ifcfg-eth0文件
    将ONBOOT=[yes|no]改为yes

    2.重启网卡

    service network restart

    3.检查

    ifconfig

    屏幕快照 2016-06-21 07.45.33.png

    相关文章

      网友评论

          本文标题:CentOS 6.8 启动网卡

          本文链接:https://www.haomeiwen.com/subject/tgfgdttx.html