52 字
1 分钟
Centos Stream 8 国内仓库源配置
1、关闭防火墙和selinux安全
$ systemctl stop firewalld && systemctl disable firewalld$ setenforce 0$ sed -i 's/SELINUX=.*/SELINUX=disabled/' /etc/selinux/config2、配置阿里仓库源
阿里源仓库
$ mv /etc/yum.repos.d/* /media/$ curl -o /etc/yum.repos.d/aliyun.repo http://mirrors.aliyun.com/repo/Centos-8.repo$ yum clean all && yum makecache Centos Stream 8 国内仓库源配置
http://blog.xeu.asia/posts/linux环境基础配置/centos-stream-8-国内仓库源配置/