28 C
Lagos
Tuesday, September 22, 2020

How to Install Nginx Web server on Ubuntu 14.04 Trusty

- Advertisement - data-full-width-responsive="false">

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.

- Advertisement -

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.

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 -
Kingsley Felixhttps://kraftysprouts.media
Based in Port Harcourt, Nigeria. I am the founder of Krafty Sprouts Media, LLC (US), i make sure thing run smoothly and well organized in our organization. Follow me on my social media platforms.
- Advertisement -

Trending Now

How to Enable USB Debugging Mode?

If you have Android Mobile and you are using Android Mobile for a long time, you know or do not know a lot about...
- 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...

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...

Big Brother Naija 2020: How to Vote Using MyDStv, MyGOtv App?

Big Brother Naija pepper dem has been everything hot and spicy since it started, and Big brother keeps serving us the viewers...

7 Best Offline Racing Games for Android Users in 2020

Are you a real gamer? If you are one, then you will know how exciting it can be to experience the adrenaline rush that...

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,...

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...

MyGOtv App – Manage Your GOtv Account & Subscription Easily

Multichoice Nigeria, the owners of DStv and GOtv has recently launched a new mobile application called MyGOtv, for its popular digital platform, GOtv. According to...

9+ Infinix Phones With Best Camera in 2020

People purchase smartphones for different reasons, and it is no brainer that the camera specifications is one of the features they look out for...

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 Pro Remember earlier, GB Mods the maker of GB WhatsApp...

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...
- Advertisement -

Related Posts

How to Enable Dark Mode on Apple iPhone with iOS 13/13.1

The long-awaited dark mode has finally been included on Apple's devices with the launch of the iOS 13/13.1. This addition means that iPhone users...

Top 14 WhatsApp Tricks for iPhone

WhatsApp’s monthly user base is growing towards nearly two billion by now. Besides instant messaging and sending of stickers and GIFs, the messaging platform...

UBA *919#: How to Use UBA Mobile Banking USSD Code?

The United Bank for Africa (UBA) is one of the biggest banks in the country and their decision to introduce mobile magic banking *919#...

10 Actionable Tactics to Build a Winning Visual Brand Identity

Most of the experts, business owners, and even the simple users usually say that a good brand identity is important. But most of them...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.