yum "Couldn't resolve host 'mirrorlist.centos.org'" for CentOS 6

我执行yum install screen命令出现下图的错误信息:

解决方法:

vi /etc/resolv.conf

nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 127.0.0.1

这里最多只能设置4个 保存好文件yum就可以正常使用了

具体问题出现的原因参考 http://www.utdream.org/post.cfm/yum-couldn-t-resolve-host-mirrorlist-centos-org-for-centos-6

posted @ 2013-06-12 19:10  Tang Ru Cheng  阅读(417)  评论(0编辑  收藏  举报