阿里云epel源

epel是个好东西,不过国外的速度实在是不能忍受。所以 有了这篇文章。
1、 首先卸载以前装的epel以免影响

rpm -e epel-release

2、 下载阿里提供的epel

wget -P /etc/yum.repos.d/ http://mirrors.aliyun.com/repo/epel-6.repo
##centos6
wget -P /etc/yum.repos.d/ http://mirrors.aliyun.com/repo/Centos-7.repo
##centos7

3、清除建立缓存

yum clean all
yum makecache

好了,现在你要装epel源的软件的时候 不再慢吞吞了。

或者直接安装

rpm -ivh http://mirrors.aliyun.com/epel/epel-release-latest-6.noarch.rpm
原文地址:https://www.cnblogs.com/linuxde/p/8719423.html