PYCURLERROR6-& quot; Couldn & amp; #39; t installation error, apache installation startup solves the statement yuminstallcvssysstatlrzszgccgcc-c ++ ncurses-devellibxml2-devellibjpeg-devellibpng-developen executed on the server... 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 into list http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os Error was14: pycurl error 6-"Couldn't resolve 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)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service