• Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
  • Training
Sick Codes - Security Research, Hardware & Software Hacking, Consulting, Linux, IoT, Cloud, Embedded, Arch, Tweaks & Tips!
  • Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
  • Training
No Result
View All Result
Sick Codes - Security Research, Hardware & Software Hacking, Consulting, Linux, IoT, Cloud, Embedded, Arch, Tweaks & Tips!
  • Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
  • Training
No Result
View All Result
Sick Codes - Security Research, Hardware & Software Hacking, Consulting, Linux, IoT, Cloud, Embedded, Arch, Tweaks & Tips!
No Result
View All Result
Home Tutorials

Install Fail2Ban on CentOS 8, 9. Works on RHEL 8 and RHEL 9 too.

by Sick Codes
April 29, 2020 - Updated on February 15, 2023
in Tutorials
6
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
Next Post

Add Swap Memory On Ubuntu/Arch/Debian (Any OS, one liner!)

One Liner: ULTIMATE Kubernetes Install! K3s! Ubuntu, CentOS, Debian, RHEL. Best k8s, minikube, okd, Openshift Alternative.

How to Convert SQLite to MySQL & Connect DJANGO to WEB + MySQL Server: Converting a Django sqlite3 to MySQL

Comments 6

  1. AWarren says:
    2 years ago

    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

    Reply
    • Sick Codes says:
      2 years ago

      Thanks I will add the changes

      Reply
  2. Daniel Bernardo says:
    2 years ago

    Install EPEL Release from Fedora Project
    https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm

    Reply
    • Sick Codes says:
      2 years ago

      Thanks, will update

      Reply
  3. Emanuele says:
    3 years ago

    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?

    Reply
  4. Anonymous says:
    3 years ago

    dnf install epel-release -y doesn’t work on RHEL 9

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result
  • Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
  • Training

© 2017-2021 Sick.Codes

@sickcodes

@sickcodes

@sickcodes

Discord Server

sickcodes.slack.com

t.me/sickcodeschat

./contact_form