yum 安装时错误 Errno 14 Couldn't resolve host 解决办法 原因是DNS服务器错误,解决办法如下: vi /etc/resolv.conf 加入nameserver 8.8.8.8