Hello Linux Geeksters. As you may know, Nginx is one of the most popular open-source web server, powering many of the popular websites. Among others, it provides both speed and reliability, has support for WebDAV, SSL and GastCGI.
The latest version available is Nginx 1.6.0, which is not available via the default repositories of Ubuntu and derivative systems.
In this article I will show you how to install Nginx 1.6.0 on Ubuntu 14.04 Trusty Tahr, Ubuntu 13.10 Saucy Salamander, Ubuntu 12.04 Precise Pangolin, Linux Mint 17 Qiana, Linux Mint 16 Petra, Linux Mint 13 Maya, Pinguy OS 14.04, Pinguy OS 12.04, LXLE 14.04 and other Ubuntu derivatives.
Because it is available via PPA, installing Nginx 1.6.0 on the listed Ubuntu, Linux Mint, Pinguy OS, Elementary OS, LXLE and their derivatives is easy. All you have to do is add the ppa to your system, update the local repository index and install the nginx package. Like this:
$ sudo add-apt-repository ppa:nginx/stable
$ sudo apt-get update
$ sudo apt-get install nginx
Optional, to remove nginx, do:
$ sudo apt-get remove nginx