centos虚拟机ping不通 报错 name or service not known
生活随笔
收集整理的這篇文章主要介紹了
centos虚拟机ping不通 报错 name or service not known
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
http://mirrors.ustc.edu.cn/centos/7.2.1511/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.ustc.edu.cn; Unknown error"
Trying other mirror.
?
網(wǎng)卡配置問題,
進入 cd /etc/sysconfig/network-scripts
打開vi ifcfg-ens33
更改BOOTPROTO=dhcp
ONBOOT=yes
啟用激活網(wǎng)卡
執(zhí)行命令?
service network restart
總結(jié)
以上是生活随笔為你收集整理的centos虚拟机ping不通 报错 name or service not known的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 使用hiredis实现redis分布式锁
- 下一篇: c++ linux下读取指定目录的所有文