From 8175a5382618c32f1bf9c6af3297abae952140b5 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 10 Oct 2017 23:15:56 +0200 Subject: 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 -- cgit v1.2.1