Linux更换国内镜像源
0 条评论部分发行版源文件路径
Ubuntu的源文件路径:
/etc/apt/sources.list
CentOS的源文件路径:
/etc/yum.repos.d/CentOS-Base.repo
Deepin的源文件路径:
/etc/apt/sources.list
Debian的源文件路径:
/etc/apt/sources.list
Kali的源文件路径:
/etc/apt/sources.list
OpenWRT的源文件路径:
/etc/opkg/distfeeds.conf
更新源
一键更新脚本
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh)
支持的版本
Debian 8.0 ~ 11
Ubuntu 16.04 ~ 22
Kali Linux 2.0 ~ 2022
Red Hat Enterprise Linux 7.0 ~ 8.5
CentOS 7.0 ~ 8.5
Fedora 28 ~ 37