Linux 镜像源配置指引

Ubuntu/Debian (apt)

echo "deb https://linux-mirror.afmax.cn/ubuntu/ 你的系统版本 main restricted universe multiverse" > /etc/apt/sources.list

CentOS (yum/dnf)

sed -i "s|^baseurl=.*|baseurl=https://linux-mirror.afmax.cn/centos/系统版本/os/架构/|g" /etc/yum.repos.d/CentOS-Base.repo

Alpine (apk)

echo "https://linux-mirror.afmax.cn/alpine/latest-stable/main/" > /etc/apk/repositories

注:替换「你的系统版本/系统版本/架构」为实际值(如 Ubuntu jammy、CentOS 7/x86_64)