您的位置:首页 > 运维架构 > Linux

Centos or RHEL 添加第三方源(不定期更新)

2014-07-05 14:20 381 查看
很多时候我们需要的软件包在官方源是找不到的,所以就有了第三方源,以下都是比较常用的源,总结一下。

添加EPEL源

centos6

rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm[/code] 
centos5

rpm -ivh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm rpm -ivh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm[/code] 
添加Percona源

yum install http://www.percona.com/downloads/percona-release/percona-release-0.0-1.x86_64.rpm[/code] 
添加Varnish源

varnish4.0(RHEL6 OR Centos6)

rpm --nosignature -i https://repo.varnish-cache.org/redhat/varnish-4.0.el6.rpm[/code] 
varnish3.0(RHEL5 OR Centos5)

rpm --nosignature -i https://repo.varnish-cache.org/redhat/varnish-3.0.el5.rpm[/code] 
varnish3.0(RHEL6 OR Centos5)

rpm --nosignature -i https://repo.varnish-cache.org/redhat/varnish-3.0.el6.rpm[/code] 
                                            
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: