CentOS6 use RPMforge to install the source (software warehouse)

Source: Internet
Author: User
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 ).

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.