This post cover the steps to install remi repository on linux CentOS 6.3 server. There are several 3rd party repositories for CentOS 6 server. One of the popular one is remi repository. The Remi repository is a repository containing updated PHP and MySQL packages and is maintained by Remi.
1. Import the RPM-GPG-KEY key and
[root@centos63 ~]# rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi
2. Download remi rpm package :
[root@centos63 ~]# wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
Examples :
[root@centos63 ~]# wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm --2012-08-10 00:04:32-- http://rpms.famillecollet.com/enterprise/remi-release-6.rpm Resolving rpms.famillecollet.com... 88.191.74.232, 2a01:e0b:1:74:2e0:f4ff:fe1b:b827 Connecting to rpms.famillecollet.com|88.191.74.232|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 5292 (5.2K) [application/x-rpm] Saving to: âremi-release-6.rpmâ 100%[==========================================================>] 5,292 --.-K/s in 0.02s 2012-08-10 00:04:33 (280 KB/s) - âremi-release-6.rpmâ
3. Install remi rpm package :
[root@centos63 ~]# rpm -ivh remi-release-6.rpm Preparing... ########################################### [100%] 1:remi-release ########################################### [100%]
4. Start install using Yum :
[root@centos63 ~]# yum install --enablerepo=remi httpd