1. Rocky Linux 官方镜像源
地址:https://mirror.rockylinux.org/mirrormanager/mirrors
2. Rocky Linux 国内镜像源
阿里云镜像:https://mirrors.aliyun.com/rockylinux/
腾讯云镜像:https://mirrors.cloud.tencent.com/rocky/
中科大镜像:https://mirrors.ustc.edu.cn/rocky/
上海交大镜像:https://mirrors.sjtug.sjtu.edu.cn/rocky/
西安交大镜像:https://mirrors.xjtu.edu.cn/rocky/
浙江大学镜像:https://mirrors.zju.edu.cn/rocky/
南京大学镜像:https://mirrors.nju.edu.cn/rocky/
山东大学镜像:https://mirrors.sdu.edu.cn/rocky/
兰州大学镜像:https://mirror.lzu.edu.cn/rocky/
大连东软镜像:https://mirrors.neusoft.edu.cn/rocky/
3. 替换方式
终端执行命令,修改为阿里云镜像
sed -e 's|^mirrorlist=|#mirrorlist=|g' \
-e 's|^#baseurl=http://dl.rockylinux.org/$contentdir|baseurl=https://mirrors.aliyun.com/rockylinux|g' \
-i.bak \
/etc/yum.repos.d/[Rr]ocky*.repo
修改配置完成后,执行
dnf clean all

最低0.47元/天 解锁文章
2222

被折叠的 条评论
为什么被折叠?



