安装epel-release报错
[root@localhost ~]# yum -y install epel-release
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
解决办法
[root@localhost ~]# vim /etc/yum.repos.d/epel.repo #将第3行注释取消,第4行添加注释
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
[root@localhost ~]# yum clean all
[root@localhost ~]# yum -y install epel-release