# 配置aliyun的epel yum源
yum install -y wget
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak ---> 建议先把之前的备份一份
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
wget https://mirrors.aliyun.com/repo/epel-7.repo
wget http://mirrors.aliyun.com/repo/epel-6.repo
yum clean all
yum makecache
yum repolist
参考文档
https://blog.youkuaiyun.com/aiming66/article/details/78879996
本文详细介绍了如何在CentOS系统中配置阿里云的EPEL yum源,包括备份原有repo文件、下载新的repo配置、清理yum缓存及验证repo列表等步骤,确保系统软件包更新顺畅。
3213

被折叠的 条评论
为什么被折叠?



