天天看点

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

很多时候我们需要的软件包在官方源是找不到的,所以就有了第三方源,以下都是比较常用的源,总结一下。

添加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
           

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
           

添加Percona源

yum install http://www.percona.com/downloads/percona-release/percona-release-0.0-1.x86_64.rpm
           

添加Varnish源 

varnish4.0(RHEL6 OR Centos6)

rpm --nosignature -i https://repo.varnish-cache.org/redhat/varnish-4.0.el6.rpm
           

varnish3.0(RHEL5 OR Centos5)

rpm --nosignature -i https://repo.varnish-cache.org/redhat/varnish-3.0.el5.rpm
           

varnish3.0(RHEL6 OR Centos5)

rpm --nosignature -i https://repo.varnish-cache.org/redhat/varnish-3.0.el6.rpm
           

继续阅读