AWS EC2如何启用EPEL

之前整理过一次,这回根据官方介绍,整理完全。

RHEL 7 和 Amazon Linux 2

sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

RHEL 6

sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm

CentOS 7 、CentOS 6

sudo yum install -y epel-release

Amazon Linux

sudo yum-config-manager --enable epel

 

未经允许不得转载:阿藏博客 » AWS EC2如何启用EPEL