yum update -y yum install epel-release -y yum install fail2ban # or using dnf lol dnf update -y dnf install epel-release -y dnf install fail2ban
Centos 9
sudo subscription-manager repos --enable codeready-builder-for-rhel-9-$(arch)-rpms
sudo dnf install \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
For epel on rhel 9, you must do these 2 commands:
sudo subscription-manager repos –enable codeready-builder-for-rhel-9-$(arch)-rpms
sudo dnf install \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
Then you can do dnf install fail2ban
Thanks I will add the changes
Install EPEL Release from Fedora Project
https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
Thanks, will update
It seems doesn’t work on Oracle Linux 9 too.
I enabled all repo available on ol9 with no luck.
I can’t find anything about this problem.
Any updates?
dnf install epel-release -y doesn’t work on RHEL 9