How to Install NGINX in Ubuntu 14.04 step by step

Posted on  7/21/2014

Nginx is well-known, tiny and fast web server , Nginx is an open source reverse proxy server for HTTP, HTTPS, SMTP, POP3, and IMAP protocols, as well as a load balancer, HTTP cache, and a web server . high performance and low memory usage. many of web’s busiest sites use nginx as web server like github and WordPress etc .In this guide I will show you how to install nginx in ubuntu 14.04 using three different methods step by step.

nginx logo
nginx logo

Let’s see how to install in ubuntu 14.04

How To Install ( Installation Methods )

sudo apt-get update 
sudo apt-get install 

sudo service nginx start

  now open <a href="http://localhost">http://localhost</a>
wget -O - | sudo apt-key add -
  Now open ` /etc/apt/sources.list ` and add following repositories at the end

<pre class="codesBash">deb trusty nginx

deb-src trusty nginx

  <img class="nginx in ubuntu aligncenter wp-image-3460 size-full" title="how to install nginx in ubuntu" src="/wp-content/uploads/2014/07/Screen-Shot-2014-07-21-at-9.19.43-am.png" alt="Nginx Ubuntu Repositories " width="949" height="593" srcset="/wp-content/uploads/2014/07/Screen-Shot-2014-07-21-at-9.19.43-am.png 949w, /wp-content/uploads/2014/07/Screen-Shot-2014-07-21-at-9.19.43-am-300x187.png 300w" sizes="(max-width: 949px) 100vw, 949px" />

  Now update and install nginx using

<pre class="codesBash">sudo apt-get update 

sudo apt-get install nginx

sudo service nginx start

Download nginx tar.gz from Nginx Download Page
extract using ` tar `

<pre class="codesBash">./configure

make sudo make install

After Installation open your browser and point it to server ip address or domain name ( if available ) , you will see default nginx page

nginx welcome page
nginx default welcome pagea

HomePage :
For any kind of discussion join our forum for community support and related info

  • Home
  • About