How to install Nginx on Ubuntu 14.04 LTS

Nginx is a free, open-source , high performance web server.

  1. Login to your Ubuntu server with root user with your favorite SSH client
  2. Let’s first update the operating system with all the latest packages with the command

    sudo apt-get update

  1. Let’s install Nginx with the command
  1. Make sure Nginx starts at server boot with the command

    update-rc.d nginx defaults

  1. Restar the Nginx service with the command

    service nginx restart

Share on Twitter
Share on Facebook