用户名
Email
论坛
潜水/灌水快乐,沉淀知识,认识更多同行。
ToB圈子
加入IT圈,遇到更多同好之人。
朋友圈
看朋友圈动态,了解ToB世界。
ToB门户
了解全球最新的ToB事件
博客
Blog
排行榜
Ranklist
文库
业界最专业的IT文库,上传资料也可以赚钱
下载
分享
Share
导读
Guide
相册
Album
记录
Doing
帖子
本版
文章
帖子
ToB圈子
用户
免费入驻
产品入驻
解决方案入驻
公司入驻
案例入驻
登录
·
注册
只需一步,快速开始
账号登录
立即注册
找回密码
用户名
自动登录
找回密码
密码
登录
立即注册
首页
找靠谱产品
找解决方案
找靠谱公司
找案例
找对的人
专家智库
悬赏任务
圈子
SAAS
IT评测·应用市场-qidao123.com技术社区
»
论坛
›
软件与程序人生
›
云原生
›
linux下yum安装时出现Loaded plugins: fastestmirror的 ...
linux下yum安装时出现Loaded plugins: fastestmirror的办理办法
万万哇
论坛元老
|
2024-11-10 07:52:26
|
显示全部楼层
|
阅读模式
楼主
主题
1684
|
帖子
1684
|
积分
5052
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要
登录
才可以下载或查看,没有账号?
立即注册
x
一、centos7修改源
在CentOS 7中,修改体系软件源可以通过编辑/etc/yum.repos.d/目录下的.repo文件来实现。以下是一个根本的步骤和示例代码,用于将默认的软件源修改为阿里云的源。
备份当前的CentOS-Base.repo文件:
sudo cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
下载阿里云的CentOS源配置文件:
sudo wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
扫除缓存并生成新的缓存:
sudo yum clean all
sudo yum makecache
以上步骤将会将体系的软件源修改为阿里云的源,并更新缓存。你可以根据需要将上述的阿里云源地址换成其他的源地址。
二、常用Linux的国内源
Centos
中国软件科学院研究所
https://mirror.iscas.ac.cn/centos/
校园团结镜像源
https://help.mirrors.cernet.edu.cn/centos/
清华大学源
https://mirrors.tuna.tsinghua.edu.cn/help/centos/
中科大源
https://mirrors.ustc.edu.cn/help/centos.html
上海交通大学源
https://mirrors.sjtug.sjtu.edu.cn/docs/centos
北京交通大学源
https://mirror.bjtu.edu.cn/help/centos/
阿里源
https://developer.aliyun.com/mirror/centos
epel源(Centos企业源)
中国软件科学院研究所
https://mirror.iscas.ac.cn/epel/
校园团结镜像源
https://help.mirrors.cernet.edu.cn/epel/
清华大学源
https://mirrors.tuna.tsinghua.edu.cn/help/epel/
中科大源
https://mirrors.ustc.edu.cn/help/epel.html
阿里源
https://developer.aliyun.com/mirror/epel
Ubuntu
中国软件科学院研究所
https://mirror.iscas.ac.cn/ubuntu/
校园团结镜像源
https://help.mirrors.cernet.edu.cn/ubuntu/
清华大学源
https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/
中科大源
https://mirrors.ustc.edu.cn/help/ubuntu.html
阿里源
https://developer.aliyun.com/mirror/ubuntu
上海交通大学源
https://mirrors.sjtug.sjtu.edu.cn/docs/ubuntu
北京交通大学源
https://mirror.bjtu.edu.cn/help/ubuntu/
Debian
中国软件科学院研究所
https://mirror.iscas.ac.cn/debian/
校园团结镜像源
https://help.mirrors.cernet.edu.cn/debian/
清华大学源
https://mirrors.tuna.tsinghua.edu.cn/help/debian/
中科大源
https://mirrors.ustc.edu.cn/help/debiancn.html
阿里源
https://developer.aliyun.com/mirror/debian
上海交通大学源
https://mirrors.sjtug.sjtu.edu.cn/docs/debian
Proxmox(PVE)
中国软件科学院研究所
https://mirror.iscas.ac.cn/proxmox/
校园团结镜像源
https://help.mirrors.cernet.edu.cn/proxmox/
清华大学源
https://mirrors.tuna.tsinghua.edu.cn/help/proxmox/
中科大源
https://mirrors.ustc.edu.cn/help/proxmox.html
Ceph
中国软件科学院研究所
https://mirror.iscas.ac.cn/ceph/
校园团结镜像源
https://help.mirrors.cernet.edu.cn/ceph/
清华大学源
https://mirrors.tuna.tsinghua.edu.cn/ceph/
中科大源
https://mirrors.ustc.edu.cn/ceph/
原文链接:https://blog.csdn.net/weixin_51792671/article/details/125044470
三、使用 yum 出现 Loaded plugins: fastestmirror
配置好镜像源后,如果还是无法使用且报错为
Loaded plugins: fastestmirror
办理方法:
1.修改fastestmirror配置文件
vim /etc/yum/pluginconf.d/fastestmirror.conf
复制
将 enable=1 改为 enable=0
2.修改yum配置文件
vim /etc/yum.conf
将plugins改为0
3.扫除缓存并重新构建yum源
依次执行
yum clean all
yum clean dbcache
yum makecache
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
回复
举报
0 个回复
倒序浏览
返回列表
快速回复
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
or
立即注册
本版积分规则
发表回复
回帖并转播
回帖后跳转到最后一页
发新帖
回复
万万哇
论坛元老
这个人很懒什么都没写!
楼主热帖
markdown day 01
Linux系统调用四、lseek()函数详解 ...
Nacos注册中心-----从0开始搭建和使用 ...
ClickHouse(05)ClickHouse数据类型详解 ...
基于CSDN云和docker全家桶的微服务项目 ...
【云原生】Docker 进阶 -- 数据卷使用 ...
100天精通Python(进阶篇)——第39天 ...
应急救灾物资行业标准与规范 ...
阿里云域名购买流程以及免费证书的申请 ...
redis for windows 7.0.2安装包全网首 ...
标签云
AI
运维
CIO
存储
服务器
快速回复
返回顶部
返回列表