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
| #!/bin/bash | |
| # usage: bash <(curl -fsSL https://gist.githubusercontent.com/Orianti/2f6839525b512a4e40f9b73edb0390ff/raw/d809cbe9783fb2ac64fb88827ee5fd1d624d1a0a/ubuntu-server-setup.sh) | |
| echo -n "1. Installing available upgrades of all packages.. " | |
| apt-get update > /dev/null | |
| apt-get upgrade -y > /dev/null | |
| echo -e "Done.\n" | |
| echo -n "2. Enabling UFW.. " |