18.5.1 Installing nginx on Ubuntu 16.04

  1. Update repository and install nginx:.

    1. apt-get update

    2. apt-get install nginx

  2. Start nginx and ensure that web server is working.

    1. sudo service nginx restart

  3. Open your browser and go to the web server http://192.168.1.138.