In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
            
                    
                
2025-11-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
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.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





            
            About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.