Centos 开启网络

  1. 在VMWare上安装了Centos 7,但是发现网络无法连接。
  2. # ping www.baidu.com 确认网络无法连接
  3. # ifconfig 查看centos7中的网络配置属性。
  4. 启动网络,开启ens33 网络:#ifup ens33 ,再次 # ping www.baidu.com 确认网络能够连接
  5. # ifdown ens33 可以关闭网络
  6. 至此,结束。
posted @ 2018-03-27 23:58  草人木  阅读(307)  评论(0编辑  收藏  举报