您好,登录后才能下订单哦!
密码登录
登录注册
点击 登录注册 即表示同意《亿速云用户服务条款》
本篇文章给大家分享的是有关更新后比较好的国内CentOS源代码有哪些,小编觉得挺实用的,因此分享给大家学习,希望大家阅读完这篇文章后可以有所收获,话不多说,跟着小编一起来看看吧。
最近国内外更新了很多的CentOS源代码,下面是国内更新CentOS源代码的比较好的。CentOS源代码中CentOS USTC mirror
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.
下面是最近的CentOS源代码中比较不错的
[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
以上就是更新后比较好的国内CentOS源代码有哪些,小编相信有部分知识点可能是我们日常工作会见到或用到的。希望你能通过这篇文章学到更多知识。更多详情敬请关注亿速云行业资讯频道。
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。