49 字
1 分钟
AlmaLinux9.5 国内仓库源配置
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=https://repo.almalinux.org|baseurl=https://mirrors.aliyun.com|g' \-i.bak \/etc/yum.repos.d/almalinux*.repo$ dnf makecache AlmaLinux9.5 国内仓库源配置
http://blog.xeu.asia/posts/linux环境基础配置/almalinux95-国内仓库源配置/