What are the better domestic CentOS source codes after the update
This article is to share with you about the updated domestic CentOS source code which is quite practical, so I want to share it with you. I hope you can get something after reading this article. Let's take a look at it with the editor.
Recently, a lot of CentOS source code has been updated at home and abroad, the following is the domestic update CentOS source code is better. CentOS USTC mirror in CentOS source code
Cd / etc/yum.repos.d mv CentOS-Base.repo CentOS-Base.repo.save wget http://centos.ustc.edu.cn/CentOS-Base.repo
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.
Here are some good ones from the recent CentOS source code
[base]
Name=CentOS-$releasever-Base # mirrorlist= http://centos.ustc.edu.cn/?release=$releasever&arch=$basearch&repo=os baseurl= http://centos.ustc.edu.cn/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey= http://centos.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-5 # released updates
[update]
Name=CentOS-$releasever-Updates # mirrorlist= http://centos.ustc.edu.cn/?release=$releasever&arch=$basearch&repo=updates baseurl= http://centos.ustc.edu.cn/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey= http://centos.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-5 # packages used/produced in the build but not released
[addons]
Name=CentOS-$releasever-Addons # mirrorlist= http://centos.ustc.edu.cn/?release=$releasever&arch=$basearch&repo=addons baseurl= http://centos.ustc.edu.cn/centos/$releasever/addons/$basearch/ gpgcheck=1 gpgkey= http://centos.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-5 # additional packages that may be useful
[extras]
Name=CentOS-$releasever-Extras # mirrorlist= http://centos.ustc.edu.cn/?release=$releasever&arch=$basearch&repo=extras baseurl= http://centos.ustc.edu.cn/centos/$releasever/extras/$basearch/ gpgcheck=1 gpgkey= http://centos.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-5 # additional packages that extend functionality of existing packages
[centosplus]
Name=CentOS-$releasever-Plus # mirrorlist= http://centos.ustc.edu.cn/?release=$releasever&arch=$basearch&repo=centosplus baseurl= http://centos.ustc.edu.cn/centos/$releasever/centosplus/$basearch/ gpgcheck=1 enabled=0 gpgkey= http://centos.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-5 # contrib-packages by Centos Users
[contrib]
Name=CentOS-$releasever-Contrib # mirrorlist= http://centos.ustc.edu.cn/?release=$releasever&arch=$basearch&repo=contrib baseurl= http://centos.ustc.edu.cn/centos/$releasever/contrib/$basearch/ gpgcheck=1 enabled=0 gpgkey= http://centos.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-5 above are the better domestic CentOS source code after the update. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.