Last active
December 29, 2015 00:42
-
-
Save AdamBrodzinski/fbc5e8850df7ea79d030 to your computer and use it in GitHub Desktop.
Ubuntu Setup Script for DO
This file contains hidden or 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-get update | |
apt-get upgrade | |
sudo apt-get install autossh | |
# prevent bruteforce on SSH | |
apt-get install fail2ban | |
# setup firewall | |
ufw allow 22 | |
ufw allow 80 | |
ufw allow 443 | |
ufw enable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment