Posted On April 1, 2019

Adding Repositories in Centos 5.3

kimconnect 0 comments
blog.KimConnect.com >> Linux >> Adding Repositories in Centos 5.3
yum install yum-priorities
vim /etc/yum/pluginconf.d/priorities.conf
—-
[main]
enabled=1
—-
 
Install RPMForge:
cd /home
wget
rpm –import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt  //install DAG’s GPG key
rpm -K rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm //verify package
rpm -i rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm //install
 
yum check-update
 
Setting priorities:
—-
cd /etc/yum.repos.d
dir  //to find .repo files
vim rpmforge.repo    //set priority to 3 or higher
vim /etc/yum.repos.d/CentOS-Base.repo
—-
priority=N //where N=1 to 99
—-
—- Recommended settings —-
[base], [addons], [updates], [extras] … priority=1
[centosplus],[contrib] … priority=2
Third Party Repos such as rpmforge … priority=N  (where N is > 10 and based on your preference)
—-

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Linux SMB Mount via Command Line Bash Shell

Install smbfs to include these functions smbmount smbunmount Here is a demonstration of smbmount to…

Bash: How To Join Array With Comma Delimiter

# The following function joins an array of numbers # Limitation: the delimiter is expected…

Experimental selinux Settings

enable or disable selinux: vim /etc/sysconfig/selinux   setsebool -P httpd_read_user_content 1   grep nginx /var/log/audit/audit.log |…