修改/etc/resolv.conf
添加:nameserver 8.8.8.8
yum 安装时错误 Couldn't resolve host 解决办法
原文:http://www.cnblogs.com/yangqimo/p/7457075.html