setting up nginx digitalocean code example
Example 1: install nginx on ubuntu 18.04
sudo apt update
sudo apt install nginx
Example 2: install nginx
sudo apt-get update
sudo apt-get -y install nginx
sudo apt update
sudo apt install nginx
sudo apt-get update
sudo apt-get -y install nginx