1.yum install -y yum-priorities
2.下载rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm //下载地址http://pkgs.repoforge.org/rpmforge-release
3.rpm -ivh rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm
4.安装好rpmforge-release软件之后,会出现下面一些文件mirrors-rpmforge*
[root@zj_ds yum.repos.d]# ll
total 56
-rw-r--r-- 1 root root 1977 Oct 23 11:07 CentOS-Base.repo
-rw-r--r-- 1 root root 631 Feb 25 2012 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root 626 Feb 25 2012 CentOS-Media.repo
-rw-r--r-- 1 root root 6118 Feb 25 2012 CentOS-Vault.repo
drwxr-xr-x 2 root root 4096 Oct 23 10:24 bak
-rw-r--r-- 1 root root 739 Mar 20 2013 mirrors-rpmforge
-rw-r--r-- 1 root root 717 Mar 20 2013 mirrors-rpmforge-extras
-rw-r--r-- 1 root root 728 Mar 20 2013 mirrors-rpmforge-testing
-rw-r--r-- 1 root root 12582 Oct 23 11:00 rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm
-rw-r--r-- 1 root root 1128 Mar 20 2013 rpmforge.repo
5.安装 DAG 的 GPG key
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
6.编辑 /etc/yum.repos.d/ 路径下的 .repo 文件,通过添加以下文本行来创建 priorities:
priority=N
对应于每个安装源入口,N 是一个从 1 到 99 的整数。
建议的配置是(CentOS-Base.repo文件):
[base], [addons], [updates], [extras] ... priority=1
[centosplus], [contrib] ... priority=2
7.yum install nload 安装成功,说明安装好RPMForge 了
其他没有安装RPMforge的服务器安装nload提示
[root@localhost ~]# yum install nload
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirrors.pubyun.com
* extras: mirrors.pubyun.com
* updates: mirrors.pubyun.com
Setting up Install Process
No package nload available.
Nothing to do