For automated setup, use a stack script. For manual setup, use a guide.
https://github.com/rawilk/new-server-setup/tree/master/stack-scripts/linode
https://github.com/rawilk/new-server-setup/tree/master/guides
https://github.com/rawilk/new-server-setup/tree/master/bash-scripts
- Pull script into your server:
wget https://raw.githubusercontent.com/rawilk/new-server-setup/master/bash-scripts/name-of-script.sh -O name-of-file.sh
- Allow script to be executed:
chmod +x name-of-file.sh
- Run the script:
./name-of-file.sh
Tip: create and run the scripts as the root user or sudo user