Centos 添加 第三方源 更新

2016年11月8日

CentOS 5 添加 第三方源 更新 http 至 http 2.2.23

添加方法: 终端执行:

32位系统:

rpm -ivh http://centos.alt.ru/repository/centos/5/i386/centalt-release-5-3.noarch.rpm

64位系统:i686 86_64

rpm -ivh http://centos.alt.ru/repository/centos/5/x86_64/centalt-release-5-3.noarch.rpm
或者:

vim /etc/yum.repos.d/centalt.repo

[CentALT]
name=CentALT Packages for Enterprise Linux 5 - $basearch
baseurl=http://centos.alt.ru/repository/centos/5/$basearch/
enabled=1
gpgcheck=0

CentOS 6 添加 第三方源

添加方法: 终端执行:

32位系统:

rpm -ivh http://centos.alt.ru/repository/centos/6/i386/centalt-release-6-1.noarch.rpm

64位系统:i686 86_64

rpm -ivh http://centos.alt.ru/repository/centos/6/x86_64/centalt-release-6-1.noarch.rpm

然后执行yum update即可。

*************************************************************************

添加epel源:[有测试的包]

64位系统 i686 86_64

rpm -ivh http://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm [CentOS 6]

rpm -ivh https://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm [CentOS 6]

rpm -ivh http://mirrors.sohu.com/fedora-epel/5/x86_64/epel-release-5-4.noarch.rpm [CentOS 5]

32位系统:
rpm -ivh http://mirrors.sohu.com/fedora-epel/5/i386/epel-release-5-4.noarch.rpm [CentOS 5]
rpm -ivh http://mirrors.sohu.com/fedora-epel/6/i386/epel-release-6-8.noarch.rpm [CentOS 6]
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm [CentOS 6]

安装后编辑epel.repo
vi /etc/yum.repos.d/epel.repo
修改 enabled=1

添加puppet源

rpm -ivh http://yum.puppetlabs.com/el/6/products/x86_64/puppetlabs-release-6-6.noarch.rpm

Atomic源 CentOS Linux安装Atomic源 (yum升级到最新版的php mysql)

wget -q -O - http://www.atomicorp.com/installers/atomic | sh

Remi 源

rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

安装后编辑remi.repo
vi /etc/yum.repos.d/remi.repo
修改 enabled=1

没有评论

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注