How-to Setup Latest Nginx Linux Mint Apt Repo Easy Guide

Add Latest Nginx Linux Mint Apt Repo

Hello Mint User! This Tip Shows You Step-by-Step How-to Setup Latest Nginx Linux Mint Apt Repo.

Because NGINX is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server.

And NGINX is known for its high performance, stability, rich feature set, simple configuration, and low resource consumption.

How-to Setup Latest Nginx Linux Mint Apt Repo - Featured
  1. Login as Super User

    sudo su
  2. Then to Set Up the Nginx Mainline Apt Repo

    • For Linux Mint 18.x

      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
    • For Linux Mint 17.x

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

    cd ~
    wget http://nginx.org/keys/nginx_signing.key
    apt-key add nginx_signing.key
    rm nginx_signing.key
  4. Next to Achieve SuperUser session

    exit