Similar to centos5.0 installation steps 1. install the yum-priorities plugin; 2. download and install the EPEL rpm Package; 3. download and install the rpmforge rpm Package; 1. install the yum-priorities plug-in. 1. install the yum-priorities plug-in and set it correctly to ensure that the official library is optimized.
Steps similar to centos5.0 installation
1. install the yum-priorities plug-in;
2. download and install the EPEL rpm package;
3. download and install the rpmforge rpm package;
1. install the yum-priorities plugin
1. install the yum-priorities plug-in and set it correctly to ensure the highest priority of the official library.
Yum-y install yum-priorities
2. Then, set/etc/yum. repos. d/CentOS-Base.repo, add the order directive priority = N (N from 1 to 99,1 highest priority ),
Set priority = 1 for [base], [updates], [addons], and [extras ].
Set [centosplus] and [contrib] to priority = 2.
2. download and install the EPEL rpm Package
1. download and install the EPEL rpm Package
I downloaded the rpm for centos6.0 x86.
Http://download.Fedora.RedHat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm
2. import the PGP Key of the DAG
I am in the/etc/pki/rpm-gpg folder
Then rpm -- import RPM-GPG-KEY-EPEL-6
3. set the source level in/etc/yum. repos. d/epel. repo to priority = 11 (higher than above ).
3. download and install the rpmforge rpm Package
1. download the rpmforge rpm file package
I downloaded the rpmforge-release-0.5.2-2.el6.rf.i686.rpm with the rpm-import RPM-GPG-KEY.dag.txt
Free in http://linux.linuxidc.com/
The username and password are both www.linuxidc.com
Install the RPMforge source in/pub/CentOS/2011/08/06/CentOS 6.0/
Suitable for x86
2. install the PGP Key of the DAG (the method is inconsistent with the original text. if direct-import fails, you can use the following method)
Rpm-import RPM-GPG-KEY.dag.txt
3. verify rpmforge's rpm file package
Rpm-K rpmforge-release-0.5.1-1.el5.rf. *. rpm
4. install rpmforge's rpm Package
Rpm-I rpmforge-release-0.5.1-1.el5.rf. *. rpm
5. set the source level in the/etc/yum. repos. d/rpmforge. repo file to priority = 12 (higher than above ).