How to Install Nginx on Ubuntu 16.04 LTS


  1. Prerequisites

    • Ubuntu 12.04, 14.04, 16.04
    • root privileges
    • few knowledge using vim

    Step 1 Install some Debian package development tools and library

    Step 2 Adding nginx repo

    Paste in two string

    For 12.04:

    For 14.04:

    For 16.04:

    After that update

    Command stop and show strings like that:

    GPG error: <name package> Release: The following signatures couldn’t be verified because the public key is not available: NOPUBKEY ABF5BD8xxxxxxx

    Don’t worry add this key


Partner Sites