ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Getting the EPEL and Fail2Ban on CentOS 7

    IT Discussion
    fail2ban linux epel rhel 7 centos 7
    5
    21
    4.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      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
      
      1 Reply Last reply Reply Quote 1
      • DanpD
        Danp
        last edited by

        Thanks! I followed the steps here to setup the SSH jail. Any other suggested changes?

        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller
          last edited by

          I always install sysstat so that I get SAR reports. SAR collections starts automatically once installed.

          yum -y install sysstat
          
          nadnerBN 1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            I also like htop. Pretty minor, but it is a nice utility.

            yum -y install htop
            
            thanksajdotcomT nadnerBN 2 Replies Last reply Reply Quote 1
            • thanksajdotcomT
              thanksajdotcom @scottalanmiller
              last edited by

              @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...

              1 Reply Last reply Reply Quote 0
              • thanksajdotcomT
                thanksajdotcom
                last edited by

                I'm not familiar with what EPEL is. I've seen the term before but never researched it. What is it exactly?

                ? scottalanmillerS 2 Replies Last reply Reply Quote 0
                • ?
                  A Former User @thanksajdotcom
                  last edited by A Former User

                  @thanksaj said:

                  EPEL

                  Extra Packages for Enterprise Linux. CentOS was once a offshoot/fork of Redhat (not sure if it was officially or not)

                  scottalanmillerS 1 Reply Last reply Reply Quote 1
                  • scottalanmillerS
                    scottalanmiller @thanksajdotcom
                    last edited by scottalanmiller

                    @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.

                    1 Reply Last reply Reply Quote 1
                    • scottalanmillerS
                      scottalanmiller @A Former User
                      last edited by

                      @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.

                      1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller
                        last edited by

                        You'll need to enable fail2ban too...

                        systemctl enable fail2ban
                        
                        1 Reply Last reply Reply Quote 0
                        • thanksajdotcomT
                          thanksajdotcom
                          last edited by

                          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! 🙂

                          1 Reply Last reply Reply Quote 0
                          • nadnerBN
                            nadnerB @scottalanmiller
                            last edited by

                            @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?

                            1 Reply Last reply Reply Quote 0
                            • nadnerBN
                              nadnerB @scottalanmiller
                              last edited by

                              @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

                              ? scottalanmillerS 2 Replies Last reply Reply Quote 0
                              • ?
                                A Former User @nadnerB
                                last edited by

                                @nadnerB a process viewer similar to top.

                                1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @nadnerB
                                  last edited by

                                  @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.

                                  thanksajdotcomT 1 Reply Last reply Reply Quote 0
                                  • thanksajdotcomT
                                    thanksajdotcom @scottalanmiller
                                    last edited by

                                    @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!

                                    nadnerBN 1 Reply Last reply Reply Quote 0
                                    • thanksajdotcomT
                                      thanksajdotcom
                                      last edited by

                                      For @nadnerB , what htop looks like:
                                      upload-35672b65-fea1-4909-9b50-3aa99b1b2608

                                      nadnerBN 1 Reply Last reply Reply Quote 0
                                      • nadnerBN
                                        nadnerB @thanksajdotcom
                                        last edited by

                                        @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 😛

                                        thanksajdotcomT 1 Reply Last reply Reply Quote 0
                                        • thanksajdotcomT
                                          thanksajdotcom @nadnerB
                                          last edited by

                                          @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

                                          1 Reply Last reply Reply Quote 0
                                          • nadnerBN
                                            nadnerB @thanksajdotcom
                                            last edited by

                                            @thanksajdotcom said:

                                            For @nadnerB , what htop looks like:
                                            upload-35672b65-fea1-4909-9b50-3aa99b1b2608

                                            Ah ha. That looks like what I want. Thanks 🙂

                                            thanksajdotcomT 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post