安裝eple源,在yum clean all;yum makecache 后出現報錯

Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again


解決辦法:

sed -i 's/mirrorlist/\#mirrorlist/g' epel.repo?epel-testing.repo


sed -i 's/\#baseurl/baseurl/g' epel.repo epel-testing.repo


yum clean all

yum makecache