centos6

# rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm


centos7

# rpm -vih http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm