Configuring rpmforge third party repository

01. Download the repository configuration file
[root@server ~]# wget http://tr.im/elsrf32
[root@server ~]# ls -l

02. Go to download location and double click on “rpmforge-release-0.3.6-1.el5.rf.i386.rpm” to install it.

03. Check
[root@server ~]# yum repolist

Optionally we can enable centos Plus and Contrib repositories

01. Locate the system file
[root@server ~]# cd /etc/yum.repos.d
[root@server ~]# ls –l

02. Open the file
[root@server ~]#nano CentOS.Base.repo

03. Go to end of file
[centos plus]
---------------------
---------------------
---------------------
enable=0 change to enable=1

[contrib]
---------------------
---------------------
---------------------
enable=0 change to enable=1

04. Save this file
Ctrl + O

05. Exit the file
Ctrl + X

06. Check
[root@server ~]# yum repolist

1 comments:

Zaheer Ahmad Khan said...

very nice, thanks alot fromm a CentOS rider,