updated docs
This commit is contained in:
parent
04892411b0
commit
9c8634448c
12
README
12
README
|
@ -3,10 +3,22 @@ Fail2BanCount - by k6b - k6b@kylefberry.net
|
||||||
|
|
||||||
INSTALL:
|
INSTALL:
|
||||||
|
|
||||||
|
Edit bancount and bancountmysql and put in the password you'll use for your
|
||||||
|
MySQL user below. Do the same with bancount.sh if you don't want to use the
|
||||||
|
perl version. You'll also want to make sure you copy the bash script instead.
|
||||||
|
|
||||||
<<INSTALLER TO BE MADE>>
|
<<INSTALLER TO BE MADE>>
|
||||||
|
|
||||||
|
-Copy the Scripts:
|
||||||
|
|
||||||
cp ./bancountmysql /usr/local/bin/
|
cp ./bancountmysql /usr/local/bin/
|
||||||
|
|
||||||
cp ./bancount /usr/local/bin/
|
cp ./bancount /usr/local/bin/
|
||||||
|
--OR
|
||||||
|
cp ./bancount.sh /usr/local/bin/bancount
|
||||||
|
|
||||||
|
-Prep MySQL:
|
||||||
|
|
||||||
mysql -e "CREATE DATABASE fail2bancount;"
|
mysql -e "CREATE DATABASE fail2bancount;"
|
||||||
mysql -e "GRANT SELECT, INSERT ON `fail2bancount`.* TO \
|
mysql -e "GRANT SELECT, INSERT ON `fail2bancount`.* TO \
|
||||||
'fail2bancount'@'localhost' IDENTIFIED BY PASSWORD '<YOUR PASSWORD HERE>';"
|
'fail2bancount'@'localhost' IDENTIFIED BY PASSWORD '<YOUR PASSWORD HERE>';"
|
||||||
|
|
Loading…
Reference in New Issue