52 字
1 分钟
Centos Stream 8 国内仓库源配置
1、关闭防火墙和selinux安全#
Terminal window
$ systemctl stop firewalld && systemctl disable firewalld
$ setenforce 0
$ sed -i 's/SELINUX=.*/SELINUX=disabled/' /etc/selinux/config
2、配置阿里仓库源#

阿里源仓库

Terminal window
$ 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-国内仓库源配置/
作者
Xeu
发布于
2025-06-24
许可协议
CC BY-NC-SA 4.0