1、 首先卸载以前装的epel 以免影响
rpm -e epel-release
2、 下载阿里提供的epel ,PS 感谢马云。
wget -P /etc/yum.repos.d/ http://mirrors.aliyun.com/repo/epel-6.repo
3、yum clean all
4、yum makecache
转自:http://www.apelearn.com/bbs/forum.php?mod=viewthread&tid=8094&highlight=epel
转载于:https://blog.51cto.com/more3/1665164