Centos 添加 第三方源 更新

2016年9月2日

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

添加方法: 终端执行:
centalt 源
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

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

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

64位系统 i686 86_64

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

32位系统:

  1. rpm -ivh http://mirrors.sohu.com/fedora-epel/5/i386/epel-release-5-4.noarch.rpm [CentOS 5]
  2. rpm -ivh http://mirrors.sohu.com/fedora-epel/6/i386/epel-release-6-8.noarch.rpm [CentOS 6]
  3. 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

2016-9-2 最近发现一个新的epel源  主要是此源中有编译 python2.7 的rpm

  1. wget https://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/epel-release-6-5.noarch.rpm
  2. rpm -ivh epel-release-6-5.noarch.rpm
  3. 添加该源的认证
  4. wget https://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/ius-release-1.0-14.ius.centos6.noarch.rpm
  5. rpm -ivh ius-release-1.0-14.ius.centos6.noarch.rpm
  6. yum update

添加puppet源

  1. 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 源

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

安装后编辑remi.repo

vi /etc/yum.repos.d/remi.repo
修改 enabled=1

没有评论

发表回复

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