环境介绍:32位X86架构+CentOS5.6+中国大陆更新源

RPMforge, ELRepo, ATrpms, EPEL and RPMfusion

http://wiki.centos.org/AdditionalResources/Repositories

一、RPMforge for CentOS 5:
1、安装rpm包:
rpm -Uvh http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm

2、安装DAG’s GPG key:
rpm –import http://http://mirrors.sohu.com/dag/RPM-GPG-KEY.dag.txt

3、编辑/etc/yum.repos.d/rpmforge.repo使用搜狐的源:
### Name: RPMforge RPM Repository for RHEL 5 – dag
### URL: http://rpmforge.net/
[rpmforge]
name = RHEL $releasever – RPMforge.net – dag
baseurl = http://mirrors.sohu.com/dag/redhat/el5/en/$basearch/rpmforge
#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

[rpmforge-extras]
name = RHEL $releasever – RPMforge.net – extras
baseurl = http://mirrors.sohu.com/dag/redhat/el5/en/$basearch/extras
#mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge-extras
mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge-extras
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

[rpmforge-testing]
name = RHEL $releasever – RPMforge.net – testing
baseurl = http://mirrors.sohu.com/dag/redhat/el5/en/$basearch/testing
#mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge-testing
mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge-testing
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

二、Extra Packages for Enterprise Linux (EPEL):
1、安装rpm包
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm

2、编辑/etc/yum.repos.d/epel.repo使用搜狐的源:
[epel]
name=Extra Packages for Enterprise Linux 5 – $basearch
baseurl=http://mirrors.sohu.com/fedora-epel/5/$basearch
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL

[epel-debuginfo]
name=Extra Packages for Enterprise Linux 5 – $basearch – Debug
baseurl=http://mirrors.sohu.com/fedora-epel/5/$basearch/debug
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-5&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
gpgcheck=1

[epel-source]
name=Extra Packages for Enterprise Linux 5 – $basearch – Source
baseurl=http://mirrors.sohu.com/fedora-epel/5/SRPMS
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-source-5&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
gpgcheck=1

3、编辑/etc/yum.repos.d/epel-testing.repo使用搜狐的源:
[epel-testing]
name=Extra Packages for Enterprise Linux 5 – Testing – $basearch
baseurl=http://mirrors.sohu.com/fedora-epel/5/$basearch
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel5&arch=$basearch
failovermethod=priority
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL

[epel-testing-debuginfo]
name=Extra Packages for Enterprise Linux 5 – Testing – $basearch – Debug
baseurl=http://mirrors.sohu.com/fedora-epel/5/$basearch/debug
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-debug-epel5&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
gpgcheck=1

[epel-testing-source]
name=Extra Packages for Enterprise Linux 5 – Testing – $basearch – Source
baseurl=http://mirrors.sohu.com/fedora-epel/5/SRPMS
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-source-epel5&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
gpgcheck=1

三、RPMfusion Repository
1、安装rpm包:
su -c ‘rpm -Uvh http://download1.rpmfusion.org/free/el/updates/testing/5/i386/rpmfusion-free-release-5-0.1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/testing/5/i386/rpmfusion-nonfree-release-5-0.1.noarch.rpm’

2、编辑/etc/yum.repos.d/rpmfusion-free-updates.repo使用网易的源:
[rpmfusion-free-updates]
name=RPM Fusion for EL 5 – Free – Updates
baseurl=http://mirrors.163.com/rpmfusion/free/el/updates/5/$basearch/
#mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-released-5&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-el

[rpmfusion-free-updates-debuginfo]
name=RPM Fusion for EL 5 – Free – Updates Debug
baseurl=http://mirrors.163.com/rpmfusion/free/el/updates/5/$basearch/debug/
#mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-released-debug-5&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-el

[rpmfusion-free-updates-source]
name=RPM Fusion for EL 5 – Free – Updates Source
baseurl=http://mirrors.163.com/rpmfusion/free/el/updates/5/SRPMS/
#mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-released-source-5&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-el

3、编辑/etc/yum.repos.d/rpmfusion-free-updates-testing.repo使用网易的源:
[rpmfusion-free-updates-testing]
name=RPM Fusion for EL 5 – Free – Test Updates
baseurl=http://mirrors.163.com/rpmfusion/free/el/updates/testing/5/$basearch/
#mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-testing-5&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-el

[rpmfusion-free-updates-testing-debuginfo]
name=RPM Fusion for EL 5 – Free – Test Updates Debug
baseurl=http://mirrors.163.com/rpmfusion/free/el/updates/testing/5/$basearch/debug/
#mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-testing-debug-5&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-el

[rpmfusion-free-updates-testing-source]
name=RPM Fusion for EL 5 – Free – Test Updates Source
baseurl=http://mirrors.163.com/rpmfusion/free/el/updates/testing/5/SRPMS/
#mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-testing-source-5&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-el

4、编辑/etc/yum.repos.d/rpmfusion-nonfree-updates.repo使用网易的源:
[rpmfusion-nonfree-updates]
name=RPM Fusion for EL 5 – Nonfree – Updates
baseurl=http://mirrors.163.com/rpmfusion/nonfree/el/updates/5/$basearch/
#mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-el-updates-released-5&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-el

[rpmfusion-nonfree-updates-debuginfo]
name=RPM Fusion for EL 5 – Nonfree – Updates Debug
baseurl=http://mirrors.163.com/rpmfusion/nonfree/el/updates/5/$basearch/debug/
#mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-el-updates-released-debug-5&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-el

[rpmfusion-nonfree-updates-source]
name=RPM Fusion for EL 5 – Nonfree – Updates Source
baseurl=http://mirrors.163.com/rpmfusion/nonfree/el/updates/5/SRPMS/
#mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-el-updates-released-source-5&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-el

5、编辑/etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo使用网易的源:
[rpmfusion-nonfree-updates-testing]
name=RPM Fusion for EL 5 – Nonfree – Test Updates
baseurl=http://mirrors.163.com/rpmfusion/nonfree/el/updates/testing/5/$basearch/
#mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-el-updates-testing-5&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-el

[rpmfusion-nonfree-updates-testing-debuginfo]
name=RPM Fusion for EL 5 – Nonfree – Test Updates Debug
baseurl=http://mirrors.163.com/rpmfusion/nonfree/el/updates/testing/5/$basearch/debug/
#mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-el-updates-testing-debug-5&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-el

[rpmfusion-nonfree-updates-testing-source]
name=RPM Fusion for EL 5 – Nonfree – Test Updates Source
baseurl=http://mirrors.163.com/rpmfusion/nonfree/el/updates/testing/5/SRPMS/
#mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-el-updates-testing-source-5&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-el

四、Adobe Repository
rpm -Uvh http://linuxdownload.adobe.com/linux/i386/adobe-release-i386-1.0-1.noarch.rpm