Installing Latest Nginx on Linux Mint 18 Sarah LTS

September 23rd, 2016 by Regaz

Nginx QuickStart for Linux Mint 18 Sarah

The Linux Tutorial Shows You Step-by-Step How-to Install and Getting-Started with the Latest NGINX Web Server on Linux Mint 18 Sarah LTS 32/64bit Desktop/Server.

NGINX is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server.
NGINX is known for its high performance, stability, rich feature set, simple configuration, and low resource consumption.

It is Necessary to Manually Set Up the Apt Nginx Repo to Get Installed the Latest Mainline Release, because the Default Repos are Serving an Older Nginx Release…

Installing Latest Nginx for Linux Mint 18 Sarah - Featured
  1. Open a Terminal Shell emulator window
    (Press “Enter” to Execute Commands)

    Installing Latest Nginx for Linux Mint 18 Sarah - Open Terminal
  2. Login as Super User

    sudo su
  3. Set Up the Nginx Mainline Apt Repo

    echo "deb http://nginx.org/packages/mainline/ubuntu/ xenial nginx" | sudo tee -a /etc/apt/sources.list.d/nginx.list
    echo "deb-src http://nginx.org/packages/mainline/ubuntu/ xenial nginx" | sudo tee -a /etc/apt/sources.list.d/nginx.list
  4. Add the Signing Key

    cd ~
    wget http://nginx.org/keys/nginx_signing.key
    apt-key add nginx_signing.key
    rm nginx_signing.key
  5. Installing Nginx

    apt-get update
    apt-get -y install nginx
  6. Stop Apache & Restart Nginx (Only if Apache is Installed!)

    service apache2 stop
    service nginx restart
  7. Check Nginx Installation
    On a localhost:

    curl http://127.0.0.1

    Or browse the Server IP…

  8. To Edit the Nginx Conf File

    nano /etc/nginx/conf.d/default.conf
  9. End the Super User Session

    exit
Share on Tumblr

Tags: , , , , , , , , , , , ,


Comments are disabled