[Errno 14] PYCURL ERROR 7 - “couldn‘t connect to host“

 出现这种情况就是作为镜像源的服务器的httpd服务没有启动,直接使用命令

[root@datanode01 yum.repos.d]# yum install vim*
已加载插件:fastestmirror
设置安装进程
Repository HDP-UTILS-1.1.0.21 is listed more than once in the configuration
Loading mirror speeds from cached hostfile
http://192.168.2.212/HDP/centos6/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
尝试其他镜像。
错误:Cannot retrieve repository metadata (repomd.xml) for repository: HDP-2.6.2.0. Please verify its path and try again
[root@datanode01 yum.repos.d]# service httpd start
正在启动 httpd:httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.2.212 for ServerName
                                                           [确定]
[root@datanode01 yum.repos.d]# free -h

猜你喜欢

转载自blog.csdn.net/qq_35995514/article/details/112869949
今日推荐