CentOS 5 to CentOS 5.8 YUM source

The source is http://mirrors.163.com, and it is also available at http://centos.ustc.edu.cn/,

Or http://mirrors.sohu.com/.

After analysis
CentOS 5 to CentOs 5.7 can use the same source, and the corresponding RHEL version can also be used
CentOS 5.8 uses another source, its software version is updated, and the corresponding RHEL version can also be used

CentOS 5 to CentOs 5.7 are as follows

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.

[ base]
name=CentOS-5 - Base

mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=os

baseurl=http://mirrors.163.com/centos/5/os/$basearch/
gpgcheck=1
gpgkey=http://mirrors.163.com/centos/5/os/x86_64/RPM-GPG-KEY-CentOS-5

released updates

[ updates]
name=CentOS-5 - Updates

mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=updates

baseurl=http://mirrors.163.com/centos/5/updates/$basearch/
gpgcheck=1
gpgkey=http://mirrors.163.com/centos/5/os/x86_64/RPM-GPG-KEY-CentOS-5

additional packages that may be useful

[ extras]
name=CentOS-5 - Extras

mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=extras

baseurl=http://mirrors.163.com/centos/5/extras/$basearch/
gpgcheck=1
gpgkey=http://mirrors.163.com/centos/5/os/x86_64/RPM-GPG-KEY-CentOS-5

additional packages that extend functionality of existing packages

[ centosplus]
name=CentOS-5 - Plus

mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=centosplus

baseurl=http://mirrors.163.com/centos/5/centosplus/$basearch/
gpgcheck=1
enabled=1
gpgkey=http://mirrors.163.com/centos/5/os/x86_64/RPM-GPG-KEY-CentOS-5

contrib - packages by Centos Users

[ contrib]
name=CentOS-5 - Contrib

mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=contrib

baseurl=http://mirrors.163.com/centos/5/contrib/$basearch/
gpgcheck=1
enabled=1
gpgkey=http://mirrors.163.com/centos/5/os/x86_64/RPM-GPG-KEY-CentOS-5

CentOS 5.8 is as follows

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.

[ base]
name=CentOS-5.8 - Base

mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=os

baseurl=http://mirrors.163.com/centos/5.8/os/$basearch/
gpgcheck=1
gpgkey=http://mirrors.163.com/centos/5.8/os/x86_64/RPM-GPG-KEY-CentOS-5

released updates

[ updates]
name=CentOS-5.8 - Updates

mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=updates

baseurl=http://mirrors.163.com/centos/5.8/updates/$basearch/
gpgcheck=1
gpgkey=http://mirrors.163.com/centos/5.8/os/x86_64/RPM-GPG-KEY-CentOS-5

additional packages that may be useful

[ extras]
name=CentOS-5.8 - Extras

mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=extras

baseurl=http://mirrors.163.com/centos/5.8/extras/$basearch/
gpgcheck=1
gpgkey=http://mirrors.163.com/centos/5.8/os/x86_64/RPM-GPG-KEY-CentOS-5

additional packages that extend functionality of existing packages

[ centosplus]
name=CentOS-5.8 - Plus

mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=centosplus

baseurl=http://mirrors.163.com/centos/5.8/centosplus/$basearch/
gpgcheck=1
enabled=1
gpgkey=http://mirrors.163.com/centos/5.8/os/x86_64/RPM-GPG-KEY-CentOS-5

contrib - packages by Centos Users

[ contrib]
name=CentOS-5.8 - Contrib

mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=contrib

baseurl=http://mirrors.163.com/centos/5.8/contrib/$basearch/
gpgcheck=1
enabled=1
gpgkey=http://mirrors.163.com/centos/5.8/os/x86_64/RPM-GPG-KEY-CentOS-5

Recommended blog posts

Recommended Posts

CentOS 5 to CentOS 5.8 YUM source
CentOS 6 add common yum source to transfer
CentOS7 repairs python to save yum
Centos8 uses yum to install mongodb 4.2 method
Centos7 uses yum to install pip, ipython
Centos8 use yum to install rabbitmq tutorial
CentOS7 system yum way to install MySQL5.7
A brief introduction to yum source configuration and nmcli commands under CentOS8
Centos7 YUM install MariaDB 10.0
Centos 6.4 python 2.6 upgrade to 2.7
Centos 6.4 python 2.6 upgrade to 2.7
CentOS server deployment (YUM)
CentOS8 detailed tutorial for configuring local yum source
Centos7 uses yum to install Apache, mariadb, PHP
Centos source installation Python3
CentOS6.5 upgrade kernel to 3.10.28
Centos7 YUM install MariaDB 10.0
CentOS upgrade python2 to pyth
centos install mysql through yum
Centos7.6 method to install Tomcat-8.5.39
Centos 6.10 reinstall python and yum
Centos compile JDK8 source code
CentOS 7 yum install PHP7.3 tutorial
Update gcc to 6.4.0 in centos
How to install jdk1.8 on centOS7
How to install MySQL on CentOS 8
CentOS7 yum install and start mysql
How to upgrade CentOS7 to CentOS8 (detailed steps)
CentOS Yum compile and install MySQL 5.6
How to install Memcached on CentOS 8
How to install R on CentOS 8
How to install Virtualbox on CentOS 8
CentOS 6/7 configure sendEmail to send mail
How to install TensorFlow on CentOS 8
[Introduction to redis] Install redis under Centos
How to install TeamViewer on CentOS 8
How to install Perl 5 on CentOS
How to install Git on CentOS 8
How to install PHP7.4 in CentOS
How to install Gradle on CentOS 8
How to install Elasticsearch on CentOS 8
How to install Java on CentOS 8
How to install Go on CentOS 8
How to install GCC on CentOS 8
How to install Yarn on CentOS 8
Install java in yum mode in Centos
rhel7.2 yum uses CentOS update package
How to install Nginx on CentOS 8
How to install Asterisk on CentOS 7
How to install Jenkins on CentOS 8
How to install Vagrant on CentOS 8
How to install Python 3.8 on CentOS 8
How to install Tomcat 9 on CentOS 8
How to install Webmin on CentOS 8
CentOS7 yum install and start mysql
Centos6.7 comes with python upgrade to
Centos6 method steps to build gitlab
Centos yum install mysql5.6 or above
How to install Ruby on CentOS 8
How to install Skype on CentOS 8
How to install htop on CentOS 8