http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
(centos7下,没有32位版的epel包)
-----------
http://dl.fedoraproject.org/pub/epel/epel-release-latest-5.noarch.rpm
http://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -ivh xyz.rpm
centos系统的epel包很有用,当你安装某个程序时,提示没有这个程序包,那么在你安装了相应的centos系统的epel包后,通常就能安装该程序了。(比如安装tinyproxy)
------------------------
利用RPMForge.net/rpmfind.net安装CentOS vps默认的源包里所没有的软件包
x86_64: http://apt.sw.be/redhat/el5/en/x86_64/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
(rpm -ihv http://centos.alt.ru/repository/centos/5/i386/centalt-release-5-3.noarch.rpm CentALT为类RHEL系统的增强软件包源,里面就有我们需要的东东,比如nginx 0.8.x php-fpm mysql 5.0.xx最新版的服务器软件包,此源我是在一个俄语网站上看到的.)
1、确认系统是否安装了priority这个yum的插件,这个插件用来保证安装软件时候软件仓库先后次序,一般是默认先从官方base或者镜像安装,然 后从社区用户contribute的软件中安装,再从第三方软件仓库中安装。当然这个次序可以自己更改,为了安全和稳定还是依照这个次序吧....
#yum install yum-priorities
安装完以后查看 /etc/yum/pluginconf.d/priorities.conf 文件,确认文件中有这一行
[main]
enabled=1
2、现在就可以手动编辑 /etc/yum.repos.d/ 目录中后缀为.repos的文件来设置软件仓库的先后次序....
priority=N(N是整数,范围从1-99)
官方推荐配置是
[base], [addons], [updates], [extras] ... priority=1
[centosplus],[contrib] ... priority=2
Third Party Repos such as rpmforge ... priority=N (where N is > 10 and based on your preference)
3、现在开始安装rpmforge的软件仓库
a 先下载rpmforge的安装包
i386, wget http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
x86_64, wget http://apt.sw.be/redhat/el5/en/x86_64/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
*不知道什么架构的用 uname -i 命令查看.
b 安装DAG的PGP Key
rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
c 验证下载包的完整性
rpm -K rpmforge-release-0.3.6-1.el5.rf.*.rpm
d 安装包
rpm -i rpmforge-release-0.3.6-1.el5.rf.*.rpm
e 更改 /etc/yum.repos.d/rpmforge.repo 配置文件,就是添加
priority=3(或者1.2.4....)这一句
http://mirror.chpc.utah.edu/pub/epel/
http://mirror.chpc.utah.edu/pub/centos/
相关帖子:https://briteming.blogspot.com/2015/12/centos6yum.html
http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
(centos7下,没有32位版的epel包)
-----------
http://dl.fedoraproject.org/pub/epel/epel-release-latest-5.noarch.rpm
http://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -ivh xyz.rpm
centos系统的epel包很有用,当你安装某个程序时,提示没有这个程序包,那么在你安装了相应的centos系统的epel包后,通常就能安装该程序了。(比如安装tinyproxy)
------------------------
利用RPMForge.net/rpmfind.net安装CentOS vps默认的源包里所没有的软件包
RPMForge是一个Linux社区的软件仓库,包含了支持CentOS或者Redhat的4000多个软件。软件是通过RPM包的形式提供,支持yum安装工具。 安装RPMForge:
下载rpmforge-release
i386: http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
下载rpmforge-release
i386: http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
x86_64: http://apt.sw.be/redhat/el5/en/x86_64/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
然后利用命令:rpm -ivh xxx.rpm即可安装该rpm包。
参考:https://rpmrepo.org/RPMforge/Using
或者先安装epel也可:
rpm -ivh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm (for 32bit 系统)
rpm -ihv http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-3.noarch.rpm (for 64bit os)
(rpm -ihv http://centos.alt.ru/repository/centos/5/i386/centalt-release-5-3.noarch.rpm CentALT为类RHEL系统的增强软件包源,里面就有我们需要的东东,比如nginx 0.8.x php-fpm mysql 5.0.xx最新版的服务器软件包,此源我是在一个俄语网站上看到的.)
RPMForge拥有4000多种CentOS的软件包,被CentOS社区认为是最安全也是最稳定的一个软件仓库。
主页:http://rpmforge.net/
主页:http://rpmforge.net/
http://rpmfind.net
1、确认系统是否安装了priority这个yum的插件,这个插件用来保证安装软件时候软件仓库先后次序,一般是默认先从官方base或者镜像安装,然 后从社区用户contribute的软件中安装,再从第三方软件仓库中安装。当然这个次序可以自己更改,为了安全和稳定还是依照这个次序吧....
#yum install yum-priorities
安装完以后查看 /etc/yum/pluginconf.d/priorities.conf 文件,确认文件中有这一行
[main]
enabled=1
2、现在就可以手动编辑 /etc/yum.repos.d/ 目录中后缀为.repos的文件来设置软件仓库的先后次序....
priority=N(N是整数,范围从1-99)
官方推荐配置是
[base], [addons], [updates], [extras] ... priority=1
[centosplus],[contrib] ... priority=2
Third Party Repos such as rpmforge ... priority=N (where N is > 10 and based on your preference)
3、现在开始安装rpmforge的软件仓库
a 先下载rpmforge的安装包
i386, wget http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
x86_64, wget http://apt.sw.be/redhat/el5/en/x86_64/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
*不知道什么架构的用 uname -i 命令查看.
b 安装DAG的PGP Key
rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
c 验证下载包的完整性
rpm -K rpmforge-release-0.3.6-1.el5.rf.*.rpm
d 安装包
rpm -i rpmforge-release-0.3.6-1.el5.rf.*.rpm
e 更改 /etc/yum.repos.d/rpmforge.repo 配置文件,就是添加
priority=3(或者1.2.4....)这一句
f 现在就可以使用rpmforge这个软件仓库了.
运行如下命令使yum安装加速。
yum -y install yum-fastestmirror 就行。
通过以上方法,能解除yum的漫长等待过程.
通过以上方法,能解除yum的漫长等待过程.
-----------------------------------------------------------
http://mirror.chpc.utah.edu/pub/epel/
http://mirror.chpc.utah.edu/pub/centos/
相关帖子:https://briteming.blogspot.com/2015/12/centos6yum.html