Install fail2ban on CentOS

To install fail2ban on CentOS, first enable epel repo by running

Now install fail2ban with

Enable fail2ban with