阿里云:
cp /etc/yum.repos.d/*.repo . && xz *.repo
sed -ie 's|^mirrorlist=|# mirrorlist=|g' /etc/yum.repos.d/*.repo
sed -ie 's|^#baseurl=http://dl.rockylinux.org/$contentdir|baseurl=https://mirrors.aliyun.com/rockylinux|g' /etc/yum.repos.d/*.repo
dnf makecache