apt-get update -yq \
&& apt-get install -yq wget nano vim \
&& wget --no-check-certificate \
https://raw.githubusercontent.com/ReactiioN1337/ubuntu-setup/master/ubuntu-setup-1804.sh \
&& chmod +x ubuntu-setup-1804.shapt-get update -yq \
&& apt-get install -yq wget nano vim \
&& wget --no-check-certificate \
https://raw.githubusercontent.com/ReactiioN1337/ubuntu-setup/master/ubuntu-setup-1604.sh \
&& chmod +x ubuntu-setup-1604.shNow open ubuntu-setup-1604.sh or ubuntu-setup-1804.sh using nano or vim and change
SCRIPT_USERNAMEto your preferred usernameSCRIPT_SSH_KEYto your public ssh key
I highly recommend using a ssh key for security! If you do not add your SSH key, password authentication will stay enabled.
Then execute the script and wait - Depending on your server it may take up to 30min to finish the script.
./ubuntu-setup-1804.sh./ubuntu-setup-1604.sh