Pycurl error 6-"Couldn't install something ERROR, apache installation startup solves the following error when executing the statement yum install cvs sysstat lrzsz gcc-c ++ ncurses-devel libxml2-devel libjpeg-devel libpng-devel openssl-devel ntp make on the server: loaded plugins: fastestmirrorcocould not retrieve your list http://mirrorlist.centos.org /? Release = 6 & arch = x86_64 & repo = OS error was14: PYCURL ERROR 6-"Couldn 'tresolve host' into list .centos.org '" Error: Cannot retrieve repository metadata (repomd. xml) for repository: base. please verify its path and try again solution 1. Execute echo "nameserver 8.8.8.8">/etc/resolv. if you set the dns server in conf, you can find the cause of the problem. This is because the server does not set the dns server address. apache installation and startup 1 is incorrect. Execute yum clean all to perform these two steps. (Step 2 Do You Want To execute to be verified?) 2. Execute yum-y install httpd (appche server program) 3. Execute/etc/init. d/httpd start (start apache)