Centos 5: Setting up RPMForge and updated repos
When setting up a new sever I like to have updated packages such as PHP 5.3 => etc which don’t ship with Centos 5′s default repos. So I normally end up adding RPM Forge and the Remi Repo.
To setup RPM forge you need to do the following:
Install DAGs GPG Key – A GPG key is basically allows you to install a signed package.
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
Install the new package
rpm -i rpmforge-release-0.5.2-2.el5.rf.*.rpm
And there you have it. RPM Forge should be installed
To install remi you need to do the following:
wget -o /etc/yum.repos.d/remi.repo http://rpms.famillecollet.com/enterprise/remi.repo
Then edit remi.repo and set:
nano /etc/yum.repos.d/remi.repo enabled=1
If you want to not enable Remi, but just use it as and when you do the following:
yum --enablerepo=remi install packagename
Like this Article? Share it!
About the Author
Tom's a developer who has a love of all things technical. 7TB For the fileserver just isn't enough for him these days. You can usually find him buying things he doesn't need or watching Reading FC.