Nginx on Ubuntu 16.04 and Ubuntu 14.04

Installation Guide

April 24, 2019

Step 1

Connect to the machine running Ubuntu via SSH.

Step 2

Ensure that the operating system is fully current:


      sudo apt update && sudo apt upgrade

Step 3

Install Nginx:


      sudo apt-get install nginx

Nginx will start automatically at the end of the installation process. To test that Nginx has been correctly installed, type the IP address of the machine running Ubuntu into your browser. You should see the default Nginx page.

Versions

Ubuntu: 16.04
Ubuntu: 14.04
Notice an error?

Have we got something wrong? Please let us know and we’ll fix it right away.

Categories
Linux Nginx

Join the Discussion

Your email address will not be published. Required fields are marked *