Installing Latest Nginx on Linux Mint 18 Sarah LTS

September 23, 2016 | By Regaz | Filed in: Tutorial.

Nginx Quick Start for Linux Mint 18 Sarah

You are Welcome! The 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/64-bit Mate/Cinnamon/KDE/Xfce Desktop.

And NGINX for Linux is a Free, Open-Source, High-Performance HTTP Server and Reverse Proxy, as well as an IMAP/POP3 Proxy Server.

Furthermore, 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
    sudo apt-get -y install nginx
  6. Stop Apache & Restart Nginx (Only if Apache is Installed!)

    sudo service apache2 stop
    sudo 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

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