EPEL (Extra Packages for Enterprise Linux), 是由 Fedora Special Interest Group 维护的 Enterprise Linux(RHEL、CentOS)中经常用到的包。
在配置之前先备份好原文件执行
安装 epel 配置包

将 repo 配置中的地址替换为阿里云镜像站地址

执行yum install epel-release -y 安装更新

完成

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号