PingIntelligence

Installing NGINX Plus for Ubuntu 16.0.4

Install NGINX Plus for Ubuntu 16.0.4.

About this task

To install NGINX Plus:

Steps

  1. Download NGINX Plus R16 repository:

    # printf "deb https://plus-pkgs.nginx.com/ubuntu lsb_release -cs nginx-plus\n" | sudo tee /etc/apt/sources.list.d/nginx-plus.list
    # sudo wget -q -O /etc/apt/apt.conf.d/90nginx https://cs.nginx.com/static/files/90nginx
    # sudo apt-get update
  2. Install NGINX Plus with Lua modules:

    1. Check whether 16-1~xenial is available in the list:

      # sudo apt-cache show nginx-plus | grep "Version"
    2. Install NGINX Plus:

      # sudo apt-get install nginx-plus=16-1~xenial
      # sudo apt-get install nginx-plus-module-ndk=16+0.3.0-1~xenial
      # sudo apt-get install nginx-plus-module-lua=16+0.10.13-2~xenial