CentOS 配置EPEL国内源

    技术2026-08-03  0

    EPEL(Extra Packages for Enterprise Linux),企业级Linux提供的额外软件包,包括但不限于Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux (SL), Oracle Enterprise Linux (OEL)

    提供了大量软件包可供centos使用,只需要使用yum即可快捷安装!

    安装 这种方式默认安装的是官方源,国内会比较慢!

    yum install epel-release -y

    推荐使用阿里源

    # repl源 wget -O /etc/yum.repos.d/epel-7.repo http://mirrors.aliyun.com/repo/epel-7.repo wget -O /etc/yum.repos.d/epel-testing.repo http://mirrors.aliyun.com/repo/epel-testing.repo # 生成缓存 yum clean all yum makecache

    更多Linux发行版配置参考文章…

    Processed: 0.008, SQL: 10