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 '';"