48 字
1 分钟
RockyLinux9.6国内仓库源配置
1、关闭防火墙和selinux安全
$ systemctl stop firewalld && systemctl disable firewalld$ setenforce 0$ sed -i 's/SELINUX=.*/SELINUX=disabled/' /etc/selinux/config2、配置yum仓库
阿里源仓库
$ 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 RockyLinux9.6国内仓库源配置
http://blog.xeu.asia/posts/linux环境基础配置/rockylinux96-国内仓库源配置/