skip to Main Content

In this mini article, I’m going to show you how to install the EPEL and Remi Repositories on CentOS. These repositories contain some useful tools and utilities, which can help improve your life as a Systems Administrator. They also contain updated versions of certain softwares, such as MariaDB and PHP.

Let’s begin!

 

1. Install the EPEL and Remi Repositories

This step literally can’t get any easier. Simply run the below commands, and the repositories will be downloaded and installed on your system

 

CentOS 6.7

rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

CentOS 7.1

rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm

 

Enable the REMI repository globally:

nano /etc/yum.repos.d/remi.repo

 

Under the section that looks like [remi] make the following changes:

[remi]
name=Remi's RPM repository for Enterprise Linux 6 - $basearch
#baseurl=http://rpms.remirepo.net/enterprise/6/remi/$basearch/
mirrorlist=http://rpms.remirepo.net/enterprise/6/remi/mirror
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi

 

You’re done!

Sponsored Links

This Post Has 0 Comments

Don't be shy, leave a reply!