Last active
July 11, 2020 03:25
-
-
Save 117/053d77f53049920ed39e648a26e0c84d to your computer and use it in GitHub Desktop.
ubuntu post-install script
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
# let's keep things quiet | |
touch .hushlogin | |
# make sure everything is up to date | |
sudo apt update | |
sudo apt upgrade | |
# cleanup | |
sudo apt remove telnet | |
sudo apt autoremove | |
# should be using a key, but it cant hurt to add f2b | |
sudo apt install fail2ban | |
# use uncomplicated firewall | |
ufw allow ssh | |
ufw allow ftp | |
ufw allow http | |
ufw allow https | |
ufw enable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment