installing nginx on ubuntu 16.04 code example Example: install nginx on ubuntu 18.04 sudo apt update sudo apt install nginx