在CentOS终端执行:

[root@localhost ~]# wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm 
[root@localhost ~]# rpm -Uvh epel-release-6-8.noarch.rpm