- Advertisement -
25.6 C
Home Guide How to Install Nginx Web server...

How to Install Nginx Web server on Ubuntu 14.04 Trusty

- Advertisement -

You might have heard of Nginx pronounced  as “engine-x” it is a web server just like apache (which is popular in shared hosting environments and the most popular web server in the world.)  and others.

Ever since I moved away from shared hosting environment my host all my blogs on a vps server I have been using nginx of different versions and today I will show you how to install nginx on your Ubuntu server.

- Advertisement -

Nginx is a bit better than apache in so many areas but configuration of virtual host is not that easy for newbies but don’t worry there are lots of tutorials available online.

First of all you have to update some programs and applications on your server, use the following commands.

apt-get update && apt-get upgrade -y

Installing Nginx:

  1. You can install nginx from your Ubuntu server which is added to repository using the following command on terminal or putty if you are using windows like me.
apt-get install nginx
  1. The following command will install the stable version available for Ubuntu server, I am using 14.4 as an example.
add-apt-repository ppa:nginx/stable
apt-get update && apt-get install nginx
  1. The following command will install the mainline version also known the development version of nginx, according to nginx team;

We recommend that in general you deploy the NGINX mainline branch at all times.

and then this;

Note that stable does not mean more reliable or more bug-free. In fact, the mainline is generally regarded as more reliable because we port all bug fixes to it, and not just critical fixes as for the stable branch. On the other hand, changes in the stable branch are very unlikely to affect third-party modules. We don’t make the same commitment concerning the mainline, where new features can affect the operation of third-party modules.

So let’s go ahead and install the mainline version of nginx on our Ubuntu server.

add-apt-repository ppa:nginx/development
apt-get update
apt-get install nginx

Installation process may have conflicts with your configuration files. If that’s the case, you will be prompted for an action. I would recommend that you hit D to see a diff off the changes and to back that up in a file for later use. Then proceed with N (the default) to keep your version.

I hope you find this guide useful.

- Advertisement -
- Advertisement -

Trending Now

Best Apps For Your Rooted Android Device

So you have decided to root your Android phone, and you are now looking for the best apps to use. The benefits of rooting...
- Advertisement -

Startimes Subscription Prices, Packages and Channels List in 2020

StarTimes Nigeria is one of the popular cable TV providers in Nigeria. This service is a subsidiary of a Chinese based company called Startimes...

Best Low Size PC Action Games For Your Old PC/Laptop With Low Specs

Gaming time is one our favorite time and nothing beats the ability to play high-quality games on our PCs but like some of our...

GB WhatsApp, WhatsApp Plus and OG WhatsApp Tips and Tricks

Checkout the new GB WhatsApp Tutorial.Hello, welcome to WhatsApp Plus, OG WhatsApp and GB WhatsApp tips and tricks. For the sake of this article,...

GB WhatsApp Pro, OG WhatsApp Pro V8.10 (GB OG Replacements) Latest Version

Good day peeps, the latest GBWhatsApp is here... and it is called the GB WhatsApp ProRemember earlier, GB Mods the maker of GB WhatsApp...

10 Best Places to Download Bollywood Movies

Do you spend hours watching Bollywood movies as I do? Have you been in search of the perfect sites to download the best Hindi...

DStv Channels List, Packages and Prices in 2020

Thousands of people in Nigeria have put their trust in DStv to provide them with the very best of television shows and programs.DStv (Digital...

5 Best Blood Pressure Apps for Android

Blood pressure is the pressure the blood applies that on the walls of the vessels they use in travelling. There are two conditions relating...

All iTel Smartphones Firmware/ OS Updates (Free Download)

Good day and welcome. I used to think Itel doesn't make patches or updates for their devices as the update page in settings always...

How to Make Payment for Your StarTimes Subscription

StarTimes users must be super excited about how easy it has become to get their cables subscription done. All you need in 2019 is...

How to Fix Home Key, Recent Key and Notification Bar Not Working?

There is a bug in the Android OS that dates back as far as the Lollipop Version and it is one of the most...
- Advertisement -

Related Posts

3 Cyber Security Trends You Should Consider in 2019

As the year rolls by, malicious online actors increase their weapon of potential tricks for penetrating a company's data and networks. While at one...

Tips and Tidbits for a Great Camping Experience

When it comes to camping, the best rule of thumb is to plan, plan, and plan some more. The more you have planned out,...

Restore Your iPhone Without Passcode and Without Losing Data

Forgetting your passcode isn't ideal but well, it is one of the things that happen. This sadly locks us out of your iPhone and...

7 Applications for Making Money Online

There is more beyond the riff, many people failed to see because they gave up easily. With the daily invention of new smartphones and...

How to Update Windows 10 Offline?

Over 86% of computers in the world functions under Windows operating system, making it the most popularly used OS in the world.With its regular...
- Advertisement -


Please enter your comment!
Please enter your name here