Skip to content
Gary Cornell edited this page Jul 1, 2017 · 7 revisions

Nginx Manual Install

  • We will use the latest mainline version

  • Add the repo sources and grab the signing key for NGINX

sudo su

nano /etc/apt/sources.list

  • at the bottom add:

deb http://nginx.org/packages/mainline/ubuntu/ xenial nginx

deb-src http://nginx.org/packages/mainline/ubuntu/ xenial nginx

  • Save file

cd /tmp

curl -O https://nginx.org/keys/nginx_signing.key && apt-key add ./nginx_signing.key

apt update

apt install nginx -y

  • Check Version

nginx -V

Create Necessary Directories

Ill finish up later today I am beat...nighty night