CentOS 6 Use RPMforge to install the source (software warehouse)
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 ).