xiu12 发表于 2018-5-11 10:26:44

RedHat Enterprise Linux 6使用Centos 6 的yum源

  # CentOS-Base.repo
  #
  # The mirror system uses the connecting IP address of the client and the
  # update status of each mirror to pick mirrors that are updated to and
  # geographically close to the client.You should use this for CentOS updates
  # unless you are manually picking other mirrors.
  #
  # If the mirrorlist= does not work for you, as a fall back you can try the
  # remarked out baseurl= line instead.
  #
  #

  name=CentOS-6 - Base - 163.com
  baseurl=http://mirrors.163.com/centos/6/os/$basearch/
  #mirrorlist=http://mirrorlist.centos.org/?release=6&arch=$basearch&repo=os
  gpgcheck=1
  gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
  #released updates

  name=CentOS-6 - Updates - 163.com
  baseurl=http://mirrors.163.com/centos/6/updates/$basearch/
  #mirrorlist=http://mirrorlist.centos.org/?release=6&arch=$basearch&repo=updates
  gpgcheck=1
  gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
  #additional packages that may be useful

  name=CentOS-6 - Extras - 163.com
  baseurl=http://mirrors.163.com/centos/6/extras/$basearch/
  #mirrorlist=http://mirrorlist.centos.org/?release=6&arch=$basearch&repo=extras
  gpgcheck=1
  gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
  #additional packages that extend functionality of existing packages

  name=CentOS-6 - Plus - 163.com
  baseurl=http://mirrors.163.com/centos/6/centosplus/$basearch/
  #mirrorlist=http://mirrorlist.centos.org/?release=6&arch=$basearch&repo=centosplus
  gpgcheck=1
  enabled=0
  gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
  #contrib - packages by Centos Users

  name=CentOS-6 - Contrib - 163.com
  baseurl=http://mirrors.163.com/centos/6/contrib/$basearch/
  #mirrorlist=http://mirrorlist.centos.org/?release=6&arch=$basearch&repo=contrib
  gpgcheck=1
  enabled=0
  gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
页: [1]
查看完整版本: RedHat Enterprise Linux 6使用Centos 6 的yum源