mirror of https://github.com/fail2ban/fail2ban
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.pull/1912/head
parent
93634dd822
commit
8175a53826
|
@ -46,7 +46,13 @@ To install, just do:
|
||||||
tar xvfj fail2ban-0.11.0.tar.bz2
|
tar xvfj fail2ban-0.11.0.tar.bz2
|
||||||
cd fail2ban-0.11.0
|
cd fail2ban-0.11.0
|
||||||
python setup.py install
|
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
|
This will install Fail2Ban into the python library directory. The executable
|
||||||
scripts are placed into `/usr/bin`, and configuration under `/etc/fail2ban`.
|
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
|
to see if everything is alright. You should always use fail2ban-client and
|
||||||
never call fail2ban-server directly.
|
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.
|
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
|
To enable fail2ban as an automatic service, simply copy the script for your
|
||||||
|
|
Loading…
Reference in New Issue