Acesse o terminal SSH e siga os passos:
Instalando no CentOS 5:
## CentOS 5 32bit ## wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm rpm -ivh epel-release-5-4.noarch.rpm ## CentOS 5 64bit ## wget http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm rpm -ivh epel-release-5-4.noarch.rpm
Instalando no CentOS 6:
## CentOS 6 32bit ## wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm sudo rpm -ivh epel-release-6-8.noarch.rpm ## CentOS 6 64bit ## wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm sudo rpm -ivh epel-release-6-8.noarch.rpm
Instalando no CentOS 7:
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm sudo rpm -Uvh epel-release-7-5.noarch.rpm
Para ativar ou desativar o repositório edite o arquivo “/etc/yum.repos.d/epel.repo” e altere a linha “enabled”:
Para ativar:
enabled=1
Para desativar:
enabled=0