ITPub博客

首页 > Linux操作系统 > Linux操作系统 > RHEL 使用CenOS的yum源repo文件

RHEL 使用CenOS的yum源repo文件

原创 Linux操作系统 作者:denglt 时间:2014-03-12 18:27:18 0 删除 编辑

 Red Hat Enterprise Linux Server release 5.6:

[base]
name=CentOS-5 - Base
baseurl=http://centos.ustc.edu.cn/centos/5/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#released updates
[update]
name=CentOS-5 - Updates
baseurl=http://centos.ustc.edu.cn/centos/5/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#packages used/produced in the build but not released
[addons]
name=CentOS-5 - Addons
baseurl=http://centos.ustc.edu.cn/centos/5/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
#additional packages that may be useful
[extras]
name=CentOS-5 - Extras
baseurl=http://centos.ustc.edu.cn/centos/5/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-5 - Plus
baseurl=http://centos.ustc.edu.cn/centos/5/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#contrib - packages by Centos Users
[contrib]
name=CentOS-5 - Contrib
baseurl=http://centos.ustc.edu.cn/centos/5/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#packages in testing
[testing]
name=CentOS-5 - Testing
baseurl=http://centos.ustc.edu.cn/centos/5/testing/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5


 Red Hat Enterprise Linux Server release 6.0:

[base] 
name=CentOS-6 - Base 
repo=os 
baseurl=http://mirrors.163.com/centos/6/os/$basearch/ 
gpgcheck=1 
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 
 
#released updates 
[update] 
name=CentOS-6 - Updates 
baseurl=http://mirrors.163.com/centos/6/updates/$basearch/ 
gpgcheck=1 
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 
 
#packages used/produced in the build but not released 
#[addons] 
#name=CentOS-6 - Addons 
#baseurl=http://mirrors.163.com/centos/5/addons/$basearch/ 
#gpgcheck=1 
#gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 
 
#additional packages that may be useful 
[extras] 
name=CentOS-6 - Extras 
baseurl=http://mirrors.163.com/centos/6/extras/$basearch/ 
gpgcheck=1 
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 
 
 
#additional packages that extend functionality of existing packages 
[centosplus] 
name=CentOS-6 - Plus 
baseurl=http://mirrors.163.com/centos/6/centosplus/$basearch/ 
gpgcheck=1 
enabled=1 
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 
 
#contrib - packages by Centos Users 
[contrib] 
name=CentOS-6 - Contrib 
baseurl=http://mirrors.163.com/centos/6/contrib/$basearch/ 
gpgcheck=1 
enabled=0 
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/195110/viewspace-1109405/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2010-11-04

  • 博文量
    118
  • 访问量
    710144