From 9c8634448c0b36c698a198426450f2ad98522f00 Mon Sep 17 00:00:00 2001 From: Kyle Berry <4wd22r@gmail.com> Date: Wed, 9 May 2012 05:40:19 -0500 Subject: [PATCH] updated docs --- README | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README b/README index ecb9f2b..6d6d9f2 100644 --- a/README +++ b/README @@ -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. + <> +-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 '';"