Browse Source

Update install.sh journalctl --vacuum-size=500M

master
yuriy0803 2 years ago committed by GitHub
parent
commit
50e52fa01b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      install.sh

3
install.sh

@ -17,6 +17,9 @@ sudo sed -i '/^\[sshd\]$/a enabled = true\nmaxretry = 3\nfindtime = 600\nbantime
# Restart Fail2Ban to apply changes
sudo systemctl restart fail2ban
# Run journalctl vacuum
sudo journalctl --vacuum-size=500M
sudo ipset create blacklist hash:ip
sudo systemctl enable nginx

Loading…
Cancel
Save