$ curl -sSL https://gist.githubusercontent.com/kaxing/a72f526a62378cb60eb17b8c671e9bec/raw/161c9a5bc17c8b3f3151dfaabc6cb6df08267a8a/ubuntu.sh | bash
Last active
November 11, 2021 14:48
-
-
Save kaxing/a72f526a62378cb60eb17b8c671e9bec to your computer and use it in GitHub Desktop.
Very Basic Server Preparation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
apt update | |
apt install -y fail2ban | |
ufw allow ssh | |
ufw --force enable | |
apt -y full-upgrade | |
systemctl reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment