centos7中配置epel源

  1. #yum install epel-release -y     //直接安装epel源

  2. centos6:

    rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm

    centos7:

    rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm


你可能感兴趣的:(EPEL)