- Create ssh pair for login on a fresh DO droplet.
- ssh into the server
apt-get update
It updates server's knowledgeable packages. Not technically updates any software.
apt-get install -y git tmux vim curl wget zip unzip htop
-y flag to say yes to all prompts- Adding additional repositories so that we can get latest version of the softwares from this respective repositories of them:
- For NGINX:
add-apt-repository -y ppa:nginx/development
(Development branch of nginx repo is actually what they consider stable because its stable + bug-fixes, its not exactly the dev branch) - For PHP:
add-apt-repository -y ppa:ondrej/php