Getting the EPEL and Fail2Ban on CentOS 7
-
With so many of you firing up CloudatCost servers running CentOS 7, probably a lot of people are wondering how to get the EPEL installed so that you can install Fail2Ban. It's easy, here is all that you need...
yum -y install epel-release
Then to install Fail2Ban just do...
yum -y install fail2ban
-
Thanks! I followed the steps here to setup the SSH jail. Any other suggested changes?
-
I always install sysstat so that I get SAR reports. SAR collections starts automatically once installed.
yum -y install sysstat
-
I also like htop. Pretty minor, but it is a nice utility.
yum -y install htop
-
@scottalanmiller said:
I also like htop. Pretty minor, but it is a nice utility.
yum -y install htop
I LOVE htop. Once you use that, you never want to go back to top...
-
I'm not familiar with what EPEL is. I've seen the term before but never researched it. What is it exactly?
-
@thanksaj said:
EPEL
Extra Packages for Enterprise Linux. CentOS was once a offshoot/fork of Redhat (not sure if it was officially or not)
-
@thanksaj said:
I'm not familiar with what EPEL is. I've seen the term before but never researched it. What is it exactly?
EPEL is the Extra Packages for Enterprise Linux. It is basically a subset of the Fedora ecosystem that the community maintains for RHEL. The official repos for RHEL are rather limited (no Fail2Ban, no htop, very few dev packages, etc.) The EPEL gives you heavily tested packages, but not with full official support. But RH oversees the EPEL.
If you have a large RH contract, you can get things in the EPEL to be supported if you need it. I've done that before.
-
@thecreativeone91 said:
@thanksaj said:
EPEL
Extra Packages for Enterprise Linux. CentOS was once a offshoot/fork of Redhat (not sure if it was officially or not)
It's not from the CentOS project, it's from Fedora. EPEL was officially part of Red Hat always. CentOS is only a recent addition to the RH family.
-
You'll need to enable fail2ban too...
systemctl enable fail2ban
-
Ah, thank you. I know I could Google it, but an explanation from one person to another is sometimes just nicer. That and I know you guys don't mind answering, and then it's here for the next guy to find too!
-
@scottalanmiller said:
I always install sysstat so that I get SAR reports. SAR collections starts automatically once installed.
yum -y install sysstat
What is that and how do I view the reports?
-
@scottalanmiller said:
I also like htop. Pretty minor, but it is a nice utility.
yum -y install htop
What is that? I can't find anything conclusive that tells me what it is
-
@nadnerB a process viewer similar to top.
-
@nadnerB said:
@scottalanmiller said:
I also like htop. Pretty minor, but it is a nice utility.
yum -y install htop
What is that? I can't find anything conclusive that tells me what it is
It's an "enhanced" top command.
-
@scottalanmiller said:
@nadnerB said:
@scottalanmiller said:
I also like htop. Pretty minor, but it is a nice utility.
yum -y install htop
What is that? I can't find anything conclusive that tells me what it is
It's an "enhanced" top command.
LOVE IT!
-
For @nadnerB , what htop looks like:
-
@thanksajdotcom said:
@scottalanmiller said:
@nadnerB said:
@scottalanmiller said:
I also like htop. Pretty minor, but it is a nice utility.
yum -y install htop
What is that? I can't find anything conclusive that tells me what it is
It's an "enhanced" top command.
LOVE IT!
Yes, I noticed
-
@nadnerB said:
@thanksajdotcom said:
@scottalanmiller said:
@nadnerB said:
@scottalanmiller said:
I also like htop. Pretty minor, but it is a nice utility.
yum -y install htop
What is that? I can't find anything conclusive that tells me what it is
It's an "enhanced" top command.
LOVE IT!
Yes, I noticed
ROFL
-
@thanksajdotcom said:
For @nadnerB , what htop looks like:
Ah ha. That looks like what I want. Thanks