Thứ Hai, 31 tháng 3, 2014

Installing RHEL EPEL Repo on Centos 5.x or 6.x

When I need to install phpMyAdmin on Centos server, I found that it need install the extra repositories.

Install the Fedora Epel repos and third party remi package repos.
With Centos 5.x
wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
sudo rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm

With Centos 6.x
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm


To enable the remi repository:
First, open the /etc/yum.repos.d/remi.repo.
And then, edit the [remi] portion of the file so that the enabled option is set to 1.

Source: http://www.rackspace.com/knowledge_center/article/installing-rhel-epel-repo-on-centos-5x-or-6x

- Comments

0 nhận xét:

Đăng nhận xét