1.通过:https://mirrors.ustc.edu.cn/找到epel rpm包链接,这里的是
https://mirrors.ustc.edu.cn/epel/epel-release-latest-6.noarch.rpm
2.wget https://mirrors.ustc.edu.cn/epel/epel-release-latest-6.noarch.rpm
3.rpm -ivh epel-release-latest-6.noarch.rpm
4.通过yum repolist来验证
Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * epel: mirrors.ustc.edu.cn repo id repo name status base CentOS-6 - Base - 163.com 6,696 epel Extra Packages for Enterprise Linux 6 - x86_64 12,201 extras CentOS-6 - Extras - 163.com 62 updates CentOS-6 - Updates - 163.com 462 repolist: 19,421 # 第二行即是
附EPEL介绍:http://www.linuxidc.com/Linux/2013-12/93433.htm