Installing Latest Nginx on Ubuntu 14.04 Trusty LTS
September 23rd, 2016 by RegazNginx Quick-Start for Ubuntu 14.04 Trusty
The Linux Tutorial Shows You Step-by-Step How-to Install and Getting-Started with the Latest Nginx Web Server on Ubuntu 14.04 Trusty Tahr LTS 32/64-bit Desktop/Server.
NGINX is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server.
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…

-
Login as Super User
sudo su
-
Set Up the Nginx Mainline Apt Repo
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
-
Add the Signing Key
cd ~
wget http://nginx.org/keys/nginx_signing.key
apt-key add nginx_signing.key
rm nginx_signing.key
-
Installing Nginx
apt-get update
apt-get -y install nginx
-
Stop Apache & Restart Nginx (Only if Apache is Installed!)
service apache2 stop
service nginx restart
-
Check Nginx Installation
On a localhost:curl http://127.0.0.1
Or browse the Server IP…
-
To Edit the Nginx Conf File
nano /etc/nginx/conf.d/default.conf
-
End the Super User Session
exit
Tags: How-to, install nginx ubuntu, Linux, Linux Tutorial, Nginx, nginx ubuntu, quickstart, Tutorial, Ubuntu, ubuntu 14.04 Trusty Tahr LTS, ubuntu mail, ubuntu server, ubuntu tutorial