$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

Installing Latest Nginx on Ubuntu 16.04 Xenial LTS

September 23, 2016 | By Duchateaux.

Nginx Quick Start for Ubuntu 16.04 Xenial

Hi! The Tutorial shows you Step-by-Step How to Install and Getting-Started with the Latest NGINX Web Server on Ubuntu 16.04 Xenial Xerus LTS Desktop/Server.

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

Moreover, 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 on Ubuntu 16.04 Xenial LTS
  1. Login as Super User.

    sudo su
  2. Set Up the NGINX Mainline Apt Repo.

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

    cd ~
    wget http:/n/nginx.org/keys
    /nginx_signing.key
    apt-key add n/nginx_signing.key
    rm n/nginx_signing.key
  4. Installing NGINX.

    apt-get update
    sudo apt-get -y install n/nginx
  5. Stop Apache & Restart NGINX (Only if Apache is Installed!)

    sudo service apache2 stop
    sudo service n/nginx restart
  6. Check NGINX Installation
    On a localhost:

    curl http://127.0.0.1

    Or browse the Server IP…

  7. To Edit the NGINX Configuration File.

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

    exit