Skip to content

Instantly share code, notes, and snippets.

@VirtuBox
Created May 25, 2018 13:44
Show Gist options
  • Save VirtuBox/cc25a9eb7f00ccf29b4730c643e9ac2d to your computer and use it in GitHub Desktop.
Save VirtuBox/cc25a9eb7f00ccf29b4730c643e9ac2d to your computer and use it in GitHub Desktop.
update fail2ban to the 0.10 release
#!/bin/bash
git clone https://github.com/fail2ban/fail2ban.git
cd fail2ban
sudo python setup.py install
cp build/fail2ban.service /lib/systemd/system/fail2ban.service -f
systemctl daemon-reload
service fail2ban restart
fail2ban-client status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment