• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Steps To Install Nginx Plus on Ubuntu Server (HP Cloud)

By Abhishek Ghosh February 20, 2015 10:29 am Updated on February 20, 2015

Steps To Install Nginx Plus on Ubuntu Server (HP Cloud)

Advertisement

Here Are the Steps To Install Nginx Plus on Ubuntu Server Running on HP Cloud. Nginx Plus is the Paid Version of Nginx with Extra Features. This guide is not for the Free Community Edition of Nginx. If you are searching how to install Nginx Community Edition on Ubuntu Server on HP Cloud, you should follow these guides – Install on Ubuntu Server on HP Cloud. Steps will be quite different. We are not Paid or Endorsed by neither Nginx nor HP Cloud. Essentially, running a website, paying the employees need money. Nginx Plus is not exactly a cheap software, but worth the price for high load websites. Plus it has beautiful direct support. It is not a Google Product, that they will suddenly change the policies or you’ll need to read hundreds of Legal Documents.

 

Steps To Install Nginx Plus on Ubuntu Server : Perquisites

 

It is taken that, you have some grasp on Networking stuffs needed for HP Cloud’s Enterprise Grade Router – read HP Cloud Router Subnet settings and Getting Started with HP Cloud.

We are describing a typical setup for a separate database server.

Advertisement

---

It is taken granted that, you either have a Paid Subscription or Trial of Nginx Plus. Without the subscription, things will not work. Spin a 4GB instance at minimum. When you are opting for Nginx Plus, definitely you have significant load. Nginx is light, does not mean; you will kick a virtual instance to work. 2GB and 4GB both has two virtual cores.

Do not try the thing on an already running server. It will die if the CMS is WordPress. You can add the Floating IP of the old instance later on this new instance.

 

Steps To Install Nginx Plus on Ubuntu Server

 

You will receive two emails from Nginx. One is to login to https://cs.nginx.com/ another is about Keys. SSH to your instance. Get the Sudoer’s privilege by running sudo su - command. If sudo gives error, read this guide to fix it.

First, cd to :

Vim
1
cd /etc/ssl

Create a directory named ssl :

Vim
1
mkdir nginx  && cd nginx

Do not run mkdir -p /etc/ssl/nginx/ command. That is not for OpenSSL related things. Understand this screenshot :

Steps To Install Nginx Plus on Ubuntu Server HP Cloud

On Mac, you can download them quite easily. Open with TextEdit or Nano. Copy each of the certs and create each file inside /etc/ssl/nginx/ directory :

/etc/ssl/nginx/

Vim
1
2
3
4
nano nginx–repo.crt
# paste the thing
nano nginx–repo.key
# paste the thing

In the next webpage, which is hyperlinked with NGINX Plus installation instructions text, will give you a dropdown option to select the type of OS / Distro. You’ll select Ubuntu. You’ll get another certificate here – CA.crt in the description.

In the same way, create the new file and copy paste the content :

/etc/ssl/nginx/

Vim
1
2
nano CA.crt
# paste the thing

You will need another certificate, run this command :

/etc/ssl/nginx/

Vim
1
wget http://nginx.org/keys/nginx_signing.key && sudo apt–key add nginx_signing.key

Now, change ownership and change the permission :

/etc/nginx/

Vim
1
2
sudo chmod 777 /etc/ssl/nginx –R
sudo chown root:www–data /etc/ssl/nginx –R

You can change the chmod value to 400 later, if you want. Now cd to :

/etc/apt/apt.conf.d

Vim
1
2
3
4
5
6
7
8
9
cd /etc/apt/apt.conf.d
nano 90nginx
# paste content from Nginx‘s that page’s hyperlinked download
# it will be like this
Acquire::https::plus–pkgs.nginx.com::Verify–Peer “true”;
Acquire::https::plus–pkgs.nginx.com::Verify–Host “true”;
Acquire::https::plus–pkgs.nginx.com::CaInfo      “/etc/ssl/nginx/CA.crt”;
Acquire::https::plus–pkgs.nginx.com::SslCert     “/etc/ssl/nginx/nginx-repo.crt”;
Acquire::https::plus–pkgs.nginx.com::SslKey      “/etc/ssl/nginx/nginx-repo.key”;

That explains why we created the /etc/ssl/nginx/ directory.

Run these two commands :

Vim
1
2
apt–get install apt–transport–https libgnutls26 libcurl3–gnutls
printf “deb https://plus-pkgs.nginx.com/ubuntu lsb_release -cs nginx-plus\n” >/etc/apt/sources.list.d/nginx–plus.list

Now first run :

Vim
1
2
apt–get update
apt–get upgrade

You should not get any Error like E: Can not fetch some content or a message closer to it. Now install Nginx Plus :

Vim
1
apt–get install –y nginx–plus

This is all about the basic Nginx Plus installation. You can install DataDog :

Vim
1
https://github.com/DataDog/dd–agent

That can monitor the performance of Nginx Plus. Rest you’ll get from Nginx Team. Other parts are like Community version of nginx – PHP5-FPM installation or HHVM installation.

Tagged With download and install nginx plus , install nginx plus in ubuntu , nginx plus download , nginx plus on ubuntu , nginx plus repo , nginx plus ubuntu , NGINX Plus what server hardwear minimum , ubuntu nginx-plus , ubuntu plus nginx
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Steps To Install Nginx Plus on Ubuntu Server (HP Cloud)

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • WordPress Multisite on Nginx on Ubuntu 14.04 on HP Cloud

    Here is a Step by Step Guide on Setting Up WordPress Multisite on Nginx on Ubuntu 14.04 on HP Cloud with All Commands and the Configuration.

  • Install Elastic Stack on Ubuntu 16.04, CentOS 7 Single Cloud Server

    Here is How to Install Elastic Stack on Ubuntu 16.04, CentOS 7 on Single Cloud Server Instance For Server Log Analysis, Big Data Processing.

  • How to Install WordPress : Ubuntu 16.04, Nginx, PHP7-FPM

    Here is Step by Step Guide on How to Install WordPress on Ubuntu 16.04, Nginx, PHP7-FPM, memcached & Percona MySQL 5.7 on Cloud Server or VPS.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy