快速替换系统镜像源
Alpine
sed -i 's/dl-cdn.alpinelinux.org/mirrors.bfsu.edu.cn/g' /etc/apk/repositories
sed -i.bak 's#dl-cdn.alpinelinux.org#mirrors.aliyun.com#g' /etc/apk/repositories
Ubuntu
sed -i 's/archive.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
Debian
腾讯云
sed -i "s@http://deb.debian.org/debian@http://mirrors.tencent.com/debian@g" /etc/apt/sources.list
sed -i "s@http://deb.debian.org/debian@http://mirrors.tencent.com/debian@g" /etc/apt/sources.list.d/debian.sources
腾讯云内网
sed -i "s@http://deb.debian.org/debian@http://mirrors.tencentyun.com/debian@g" /etc/apt/sources.list
sed -i "s@http://deb.debian.org/debian@http://mirrors.tencentyun.com/debian@g" /etc/apt/sources.list.d/debian.sources