updated docs

This commit is contained in:
Kyle Berry 2012-05-09 05:40:19 -05:00
parent 04892411b0
commit 9c8634448c
1 changed files with 12 additions and 0 deletions

12
README
View File

@ -3,10 +3,22 @@ Fail2BanCount - by k6b - k6b@kylefberry.net
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>>
-Copy the Scripts:
cp ./bancountmysql /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 "GRANT SELECT, INSERT ON `fail2bancount`.* TO \
'fail2bancount'@'localhost' IDENTIFIED BY PASSWORD '<YOUR PASSWORD HERE>';"