From 8175a5382618c32f1bf9c6af3297abae952140b5 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 10 Oct 2017 23:15:56 +0200 Subject: [PATCH 1/2] Update README.md with clarifications + Added new user clarification for installing from source with git clone. ? Right now it is not clear where the fail2ban-0.11.0.tar.bz2 is available for download. + Added command for checking fail2ban version. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index d5a2a088..3d7b7247 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,13 @@ To install, just do: tar xvfj fail2ban-0.11.0.tar.bz2 cd fail2ban-0.11.0 python setup.py install + +Alternatively, you can clone the source from GitHub to a directory of Your choice, and do the install from there. Pick the correct branch, for example, 0.11 + git clone https://github.com/fail2ban/fail2ban + cd fail2ban + sudo python setup.py install + This will install Fail2Ban into the python library directory. The executable scripts are placed into `/usr/bin`, and configuration under `/etc/fail2ban`. @@ -56,6 +62,9 @@ Fail2Ban should be correctly installed now. Just type: to see if everything is alright. You should always use fail2ban-client and never call fail2ban-server directly. +You can verify that you have the correct version installed with + + sudo fail2ban-client version Please note that the system init/service script is not automatically installed. To enable fail2ban as an automatic service, simply copy the script for your From 1b8840d33387dab65998cd7025c2d6445d5bd5e1 Mon Sep 17 00:00:00 2001 From: "Sergey G. Brester" Date: Thu, 22 Mar 2018 11:09:49 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3d7b7247..d435e2e4 100644 --- a/README.md +++ b/README.md @@ -45,11 +45,11 @@ To install, just do: tar xvfj fail2ban-0.11.0.tar.bz2 cd fail2ban-0.11.0 - python setup.py install + sudo python setup.py install Alternatively, you can clone the source from GitHub to a directory of Your choice, and do the install from there. Pick the correct branch, for example, 0.11 - git clone https://github.com/fail2ban/fail2ban + git clone https://github.com/fail2ban/fail2ban.git cd fail2ban sudo python setup.py install @@ -64,7 +64,7 @@ to see if everything is alright. You should always use fail2ban-client and never call fail2ban-server directly. You can verify that you have the correct version installed with - sudo fail2ban-client version + fail2ban-client version Please note that the system init/service script is not automatically installed. To enable fail2ban as an automatic service, simply copy the script for your