换源/Rocky / Alma / CentOS 镜像
Rocky / Alma / CentOS 镜像 镜像源
RHEL 系(Rocky Linux、AlmaLinux、CentOS Stream)ISO 与云镜像国内下载,替代已停更的 CentOS。
可用镜像源(8)
| 源 | 地址 | 说明 |
|---|---|---|
| 阿里云 Rocky | https://mirrors.aliyun.com/rockylinux/ | ISO + 云镜像 |
| 清华 Rocky | https://mirrors.tuna.tsinghua.edu.cn/rocky/ | ISO |
| 阿里云 Alma | https://mirrors.aliyun.com/almalinux/ | ISO |
| 清华 Alma | https://mirrors.tuna.tsinghua.edu.cn/almalinux/ | ISO |
| 清华 CentOS Stream | https://mirrors.tuna.tsinghua.edu.cn/centos-stream/ | ISO |
| 中科大 USTC | https://mirrors.ustc.edu.cn/rocky/ | 教育网 |
| 兰州大学 LZU | https://mirror.lzu.edu.cn/rocky/ | 教育网 |
| 华中科技大学 HUST | https://mirrors.hust.edu.cn/rocky/ | 教育网 |
换源方法
下载 Rocky ISO
wget https://mirrors.aliyun.com/rockylinux/9/isos/x86_64/Rocky-9.4-x86_64-dvd.iso下载 Alma ISO
wget https://mirrors.aliyun.com/almalinux/9/isos/x86_64/AlmaLinux-9.4-x86_64-dvd.iso下载云镜像(qcow2)
wget https://mirrors.aliyun.com/rockylinux/9/cloud/x86_64/images/Rocky-9-GenericCloud-Base.latest.x86_64.qcow2使用提示
- ·换源前备份原配置(`/etc/apt/sources.list`、`*.repo` 等),出问题可回滚。
- ·保留官方 security 源,避免镜像同步延迟导致安全补丁晚到。
- ·发行版版本代号(noble/bookworm 等)要与镜像目录一致,别混用。
- ·企业内网可能强制 DNS / 代理,换源后仍慢先排查网络出口。