Nginx 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
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
apt-key add nginx_signing.key
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:
Or browse the Server IP…
To Edit the Nginx Conf File
End the Super User Session