Installing from EPEL on Amazon EC2
Solution 1:
You should check that epel is enabled using
yum repolist enabled
If it's not then you can edit /etc/yum.repos.d/epel.repo and change the [epel]
section
enabled=0
to
enabled=1
or use
yum-config-manager --enable epel
Solution 2:
The epel repo is on the default Amazon server but in not enabled by default. You can use it to install a package:
sudo yum --enablerepo epel install fail2ban