[Errno 14] PYCURL ERROR 7 - "no se pudo conectar al host"

 Esta situación es que el servicio httpd del servidor como fuente espejo no se inicia, use el comando directamente

[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

 

Supongo que te gusta

Origin blog.csdn.net/qq_35995514/article/details/112869949
Recomendado
Clasificación