我是靠谱客的博主 酷酷小蝴蝶,这篇文章主要介绍CentOS网络设置 Error 6- "couldn't resolve host 'mirrorlist.centos.org",现在分享给大家,希望可以做个参考。
在VMWare上安装好centos后,使用yum命令报错:"can not resolve host 'mirritlist.centos.org"
百度上很多都说在/etc/resolv.conf文件末尾添加nameserver 0.0.0.0 nameserver 192.163.10.10
但是并没有什么用
另一种就是重启一下eth0网络适配器,它就会自动连接网络。
命令如下:
ifdown eth0
ifup eth0
原文章地址:https://www.cnblogs.com/davidpan/p/5855531.html
最后
以上就是酷酷小蝴蝶最近收集整理的关于CentOS网络设置 Error 6- "couldn't resolve host 'mirrorlist.centos.org"的全部内容,更多相关CentOS网络设置内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复