yum安装的时候报这个错误:
[Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.163.com'"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
到这里发现问题了,我的域名解析不了,yum的配置文件里指向的域名就识别不了了。重新设置下dns指向。
[root@hbase01-222 ~]# vim /etc/resolv.conf
# Generated by NetworkManager
nameserver 8.8.8.8
[root@hbase01-222 ~]# yum install lrzsz
发现是不是好了
阅读(952) | 评论(0) | 转发(0) |