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
[ base]
name=CentOS-5 - Base
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
[ updates]
name=CentOS-5 - 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
[ extras]
name=CentOS-5 - 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
[ centosplus]
name=CentOS-5 - Plus
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]
name=CentOS-5 - 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
[ base]
name=CentOS-5.8 - Base
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
[ updates]
name=CentOS-5.8 - 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
[ extras]
name=CentOS-5.8 - 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
[ centosplus]
name=CentOS-5.8 - Plus
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]
name=CentOS-5.8 - 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