1. yum install *priorities
2. check "enabled = 1" in "/etc/yum/pluginconf.d/priorities.conf"
3. [base], [addons], [updates], [extras] = priority=1
4. [centosplus],[contrib] = priority=2
5. add rpmforge.repo
# Name: RPMforge RPM Repository for Red Hat Enterprise 5 - dag
# URL: http://rpmforge.net/
[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
#baseurl = http://apt.sw.be/redhat/el5/en/$basearch/dag
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
priority=20
6. uname -i
i386 - http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm
x86_64 - http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
7. install DAG's GPG key
rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
8. check rpmforge release file
rpm -K rpmforge-release-0.5.1-1.el5.rf.*.rpm
9. install rpmforge
rpm -i rpmforge-release-0.5.1-1.el5.rf.*.rpm
10. check yum
yum check-update
......
Loading "priorities" plugin
**packages excluded due to repository priority protections
11. success