• 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 » How To Keep Ubuntu apt-get install nginx Updated

By Abhishek Ghosh November 17, 2014 6:32 pm Updated on November 17, 2014

How To Keep Ubuntu apt-get install nginx Updated

Advertisement

Here is how to keep Ubuntu apt-get install nginx updated to current version. By default it does not work. We do some steps on cloud server. The word Cloud Server is arriving as, normally lot of versions of Linux distro are offered as boot image for an instance. There is difference in philosophy of a VPS and Cloud Server. Single VPS should be more faster than Single Cloud Server. We use Cloud Server for various reasons including scalability.

 

How To Keep Ubuntu apt-get install nginx Updated : Why Not Building Nginx From Source?

 

Building Nginx from source demands a bit knowledge on Linux / UNIX. Not all are efficient. Nginx installation via package manager is easy to update by anyone. You can learn more on Advanced Packaging Tool (apt) and aptitude. We wrote easy guide to install Nginx on Ubuntu. WordPress is an example, we could install Drupal. Rackspace or DigitalOcean or HP Cloud or a VPS, methods will be same.

Another advantage is that, anyone can understand which file or directory is where for troubleshooting. On building from source, it can vary.

Advertisement

---

Running nginx -v (lowercase v) will show your current STABLE version.

 

Info About Nginx and F/OSS

 

This is what you’ll use on a production server. There are other Nginx named Nginx Plus, Nginx Media :

Vim
1
http://nginx.com/products/feature-matrix/

It is paid. We do not know whether they has GPLed version. Apache2 is 100% free. You’ll see bigger website’s Nginx performs a bit differently. Because they use the paid version with some tweaks. Possibly 50% of you never knew that why Amazon’s and HP Cloud’s some website outperforms your setup. They probably collect our data and build better software for a fee. That is basically against GNU psychology to allow a non-free software to get installed. They tracks. That is why Richard Stallman do not list many Linux on their repo. Allowing non-free OS or kind of variant opens a backdoor. Unless you fork, rename and distribute without any trouble from the main developer – it is not a free software. GNU has lot of softwares which are 100% free. Apache2 sucks RAM, but still Apache is a Free Software License itself.

In last 4 years plus, we saw many such Free to become 100% paid. Kalithra recent thing out of such odd License.

Nobody donate one dollar for software development. The Author of this article had Artificial Pacemaker project. None donated a single dime. Fully blaming to make paid software is also not humane. Apache2 can run because many donates for them. There are risks of asking money – the software can get hijacked by SLA for donation. You have register a separate entity to get donation from the organization. That is not free. WordPress dot org runs out of money from the web hosts (they have recommended lists) and Ads on free WordPress dot com blogs. But, $1700 / year is too much :

Vim
1
https://aws.amazon.com/marketplace/pp/B00A04GAG4

Hacking, GPL-ing via reverse engineering starts for so much abnormal pricing.

How To Keep Ubuntu apt-get install nginx Updated

 

How To Keep Ubuntu apt-get install nginx Updated

 

We are talking about the F/OSS Nginx.
Basically, we need to add a PPA, like we wrote in for building own distribution. Basically on our that Nginx guide, we added :

Vim
1
2
apt-get install python-software-properties
add-apt-repository ppa:nginx/stable

That did the trick. But you might need to force upgrade :

Vim
1
apt-get upgrade nginx -f

Press N to keep the Nginx configuration file /etc/nginx/nginx.conf, otherwise you’ll get screwed.

Latest version is 1.7 :

Vim
1
https://github.com/nginx/nginx

But, we are using Stable. If you used this :

Vim
1
add-apt-repository ppa:nginx/development

Instead of stable, you would get 1.7 now. When we add PPA, it refers to place like this :

Vim
1
http://ppa.launchpad.net/nginx/development/ubuntu/dists/vivid/Release

If you want “Automatic” update on Debian (not Ubuntu, Ubuntu adds Repo on that add-apt command), you need to edit :

Editing /etc/apt/sources.list
Vim
1
nano /etc/apt/sources.list

Syntax of what will be added will be like this :

Vim
1
deb http://ppa.launchpad.net/nginx/stable/ubuntu quantal main

for Stable. For dev, stable in the url will become development :

Vim
1
deb http://ppa.launchpad.net/nginx/development/ubuntu quantal main

URL part is :

Vim
1
http://ppa.launchpad.net/nginx/development/ubuntu

browse-able. After adding, save it.

Now, a key is required to tell “well, its fine”. How the keys are named, is written here :

Vim
1
https://wiki.ubuntu.com/DevelopmentCodeNames

For example, details will be on the specific version’s Wiki :

Vim
1
https://wiki.ubuntu.com/TrustyTahr/ReleaseSchedule

The genuine method to add this key is in this way :

Vim
1
2
3
4
wget -c -O- http://nginx.org/keys/nginx_signing.key | sudo apt-key add -
echo "deb http://nginx.org/packages/ubuntu/ trusty nginx" | sudo tee -a /etc/apt/sources.list > /dev/null
echo "deb-src http://nginx.org/packages/ubuntu/ trusty nginx" | sudo tee -a /etc/apt/sources.list > /dev/null
apt-get update -y

and run apt-get update -y. This makes 100% sure that you are not adding a tracking software along with it. Most of you do this :

Vim
1
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C300EE8C

You must search what C300EE8C is. It is this :

Vim
1
http://keyserver.ubuntu.com:11371/pks/lookup?op=vindex&search=0x00A6F0A3C300EE8C

Self Signed cert. The person is good. But you can see, it is not signed by using a code signing certificate by GeoTrust or any certifying authority. Most of you haphazardly run commands without a plan. We refer CSS Tricks, Perishable Press like websites. Why? Because we know the owners! We will never recommend labnol.org. Whether the webmaster is good or bad does not matter. We can not see the source code or certifying authority has not checked. Unknowingly a malware can be inside of a closed source software.

We added Launchpad’s repo, not of Nginx :

Vim
1
http://nginx.org/packages/mainline/ubuntu/

Why? because if Launchpad gets hacked, it will be a bigger news than Nginx repo. Possibility of getting informed faster is more. Debian is little bit different, we cannot use add-apt-repository ppa:nginx/development command since it is Ubuntu specific utility that comes along in the python-software-properties packages. That is why we ran apt-get install python-software-properties command. Otherwise why we will install Python materials!

Tagged With apt get upgrade without nginx

This Article Has Been Shared 389 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic 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 How To Keep Ubuntu apt-get install nginx Updated

  • Cloud Hosting Versus Dedicated Hosting For WordPress

    Cloud Hosting Versus Dedicated Hosting For WordPress is a hot topic right now as some Cloud Hosting costs more than Dedicated Hosting.

  • Command Line For Dropbox Cloud to Login, Upload, Delete Files

    Command Line For Dropbox Cloud to Login, Upload,Delete Files is possible using curl, grep, tr, sed as well as using scripts written in ruby, php or bash script.

  • Tips For Maintaining Security of Data in the Cloud

    Tips For Maintaining Security of Data in the Cloud will help specially the naives to cloud storages like iCloud, Dropbox, Amazon S3 or Rackspace Cloud Files.

  • Cloud Computing and Dangers of Ignorance

    Cloud Computing and the dangers or risks are related to the fact that not all customers have the necessary skills to manage a server and this carries risks.

  • Basic Guide to Work on MySQL CLI (Rackspace Cloud Server)

    Here is a basic guide to create MySQL Database, Create Tables and import any existing SQL backup without using PHPMyAdmin or other web software.

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

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

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 (20K Followers)
  • Twitter (4.9k Followers)
  • Facebook (5.8k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.2k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • How To Repack Installed Software on Debian/Ubuntu January 16, 2021
  • Components of Agile Software Development January 15, 2021
  • What is Conway’s Law? January 14, 2021
  • Effects of Digitization on Companies : Part XIII January 13, 2021
  • What is SoftAP Mode? January 12, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "How To Keep Ubuntu apt-get install nginx Updated," in The Customize Windows, November 17, 2014, January 17, 2021, https://thecustomizewindows.com/2014/11/keep-ubuntu-apt-get-install-nginx-updated/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

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

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