Skip to content

Commit

Permalink
Update install.sh journalctl --vacuum-size=500M
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriy0803 authored Dec 10, 2023
1 parent 28c1c9b commit 50e52fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 50e52fa

Please sign in to comment.