Linux 镜像源 & 软件源
https://github.com/SuperManito/LinuxMirrors
替换源
1 | # GNU/Linux 更换系统软件源 |
还原源
1 | cp -rf /etc/yum.repos.d.bak /etc/yum.repos.d |
FAQ
1、检测到系统存在已备份的 repo 源文件,是否跳过覆盖备份?
1 | 这里选择 “否” 尽量不要覆盖最开始备份 |
2、使用阿里云镜像站的 Rocky Linux 软件源
1 | bash <(curl -sSL https://linuxmirrors.cn/main.sh) \ |