
简介
Rocky Linux是CentOS的一个分支,它位于Red Hat Enterprise Linux(RHEL)的下游。与CentOS一样,它提供了非常适合服务器的稳定版Linux。它旨在作为CentOS的完全兼容替代品。
下载地址:https://mirrors.aliyun.com/rockylinux/
Rocky Linux官网:
https://rockylinux.org/
镜像烧录
可以参考这篇文章: U盘安装Centos注意事项笔记
替换默认源
#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/rocky-*.repo
#dnf makecache
添加 EPEL 和 REMI 存储库。
#dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
#dnf install https://dl.fedoraproject.org/pub/epel/epel-next-release-latest-9.noarch.rpm
#dnf install http://rpms.remirepo.net/enterprise/remi-release-9.rpm