码迷,mamicode.com
首页 > 系统相关 > 详细

vm Linux centos 链接外网

时间:2018-07-14 19:58:59      阅读:156      评论:0      收藏:0      [点我收藏+]

标签:ip add   tar   查看   linux   重启   链接   配置   art   服务   

修改network配置

vi  /etc/sysconfig/network-scripts/ifcfg-ens33
修改ONBOOT=yes

重启服务

service network restart

查看ip

ip addr show

vm Linux centos 链接外网

标签:ip add   tar   查看   linux   重启   链接   配置   art   服务   

原文地址:https://www.cnblogs.com/cmyxn/p/9310762.html

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