Skip to content

Instantly share code, notes, and snippets.

@dubcl
Created July 26, 2017 21:59
Show Gist options
  • Save dubcl/e5604c1da8652c104dc42e0598a718c0 to your computer and use it in GitHub Desktop.
Save dubcl/e5604c1da8652c104dc42e0598a718c0 to your computer and use it in GitHub Desktop.
# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# 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.
#
#
[base]
name=CentOS-6.2 - Base
#mirrorlist=http://mirrorlist.centos.org/?release=6.2&arch=$basearch&repo=os
baseurl=http://vault.centos.org/6.2/os/$basearch/
gpgcheck=1
gpgkey=http://vault.centos.org/6.2/os/$basearch/RPM-GPG-KEY-CentOS-6
enabled=1
protect=1
exclude=postgresql*
#released updates
[updates]
name=CentOS-6.2 - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=6.2&arch=$basearch&repo=updates
baseurl=http://vault.centos.org/6.2/updates/$basearch/
gpgcheck=1
gpgkey=http://vault.centos.org/6.2/os/$basearch/RPM-GPG-KEY-CentOS-6
enabled=1
protect=1
exclude=postgresql*
##packages used/produced in the build but not released
#[addons]
#name=CentOS-6.2 - Addons
##mirrorlist=http://mirrorlist.centos.org/?release=6.2&arch=$basearch&repo=addons
#baseurl=http://vault.centos.org/6.2/addons/$basearch/
#gpgcheck=1
##pgkey=http://vault.centos.org/RPM-GPG-KEY-CentOS-6
#enabled=1
#protect=0
#additional packages that may be useful
[extras]
name=CentOS-6.2 - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=6.2&arch=$basearch&repo=extras
baseurl=http://vault.centos.org/6.2/extras/$basearch/
gpgcheck=1
gpgkey=http://vault.centos.org/6.2/os/$basearch/RPM-GPG-KEY-CentOS-6
enabled=1
protect=0
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-6.2 - Plus
#mirrorlist=http://mirrorlist.centos.org/?release=6.2&arch=$basearch&repo=centosplus
baseurl=http://vault.centos.org/6.2/centosplus/$basearch/
gpgcheck=1
gpgkey=http://vault.centos.org/6.2/os/$basearch/RPM-GPG-KEY-CentOS-6
enabled=1
protect=0
#contrib - packages by Centos Users
[contrib]
name=CentOS-6.2 - Contrib
#mirrorlist=http://mirrorlist.centos.org/?release=6.2&arch=$basearch&repo=contrib
baseurl=http://vault.centos.org/6.2/contrib/$basearch/
gpgcheck=1
enabled=1
protect=0
gpgkey=http://vault.centos.org/6.2/os/$basearch/RPM-GPG-KEY-CentOS-6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment