CentOS7.x国内常用yum源

1、清华大学yum源 参考:​​https://mirrors.tuna.tsinghua.edu.cn/help/centos/​​ 2、网易yum源 参考:​​http://mirrors.163.com/.help/centos.html​​ # rm -rf /etc/yum.repo.d/* # wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/CentOS7-Base-163.repo # yum clean all && yum makecache 3、阿里云yum源 # wget -O /etc/yum.repos.d/CentOS-aliyun.repo http://mirrors.aliyun.com/repo/Centos-7.repo 4、中科大yum源 # wget -O /etc/yum.repos.d/CentOS-Base.repo 'https://lug.ustc.edu.cn/wiki/_export/code/mirrors/help/centos?codeblock=3' 5、上交大yum源 # cat /etc/yum.repos.d/CentOS-Base.repo [base] name=CentOS-7- Base baseurl=http://ftp.sjtu.edu.cn/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey= http://ftp.sjtu.edu.cn/centos/RPM-GPG-KEY-CentOS-7 [update] name=CentOS-7 - Updates baseurl= http://ftp.sjtu.edu.cn/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey= http://ftp.sjtu.edu.cn/centos/RPM-GPG-KEY-CentOS-7 [extras] name=CentOS-7 - Extras baseurl= http://ftp.sjtu.edu.cn/centos/$releasever/extras/$basearch/ gpgcheck=1 gpgkey= http://ftp.sjtu.edu.cn/centos/RPM-GPG-KEY-CentOS-7 [centosplus] name=CentOS-7 - Plus baseurl= http://ftp.sjtu.edu.cn/centos/$releasever/centosplus/$basearch/ gpgcheck=1 enabled=0 gpgkey= http://ftp.sjtu.edu.cn/centos/RPM-GPG-KEY-CentOS-7 Other 北京理工大学: http://mirror.bit.edu.cn 参考地址 兰州大学:http://mirror.lzu.edu.cn 厦门大学:http://mirrors.xmu.edu.cn 中国科学技术大学:http://mirrors.ustc.edu.cn 东北大学:http://mirror.neu.edu.cn 官方yum源 CentOS官方:http://mirror.centos.org/ 本文转载链接:​​https://blog.csdn.net/inrgihc/article/details/105765247​​

尚美源码坑位教程提供精美的网站源码教程,小程序、公众号、H5、APP、游戏、直播、支付、区块链、商城、影音、小说等源码信息大全。
尚美源码教程库 » CentOS7.x国内常用yum源
赞助VIP 享更多特权,立即登录下载海量资源
喜欢我嘛?喜欢就按“ctrl+D”收藏我吧!♡