• 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 558 Times!

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

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

  • What Online Casinos Have No Deposit Bonus in Australia March 30, 2023
  • Four Foolproof Tips To Never Run Out Of Blog Ideas For Your Website March 28, 2023
  • The Interactive Entertainment Serving as a Tech Proving Ground March 28, 2023
  • Is it Good to Run Apache Web server and MySQL Database on Separate Cloud Servers? March 27, 2023
  • Advantages of Cloud Server Over Dedicated Server for Hosting WordPress March 26, 2023

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, March 31, 2023, https://thecustomizewindows.com/2014/11/keep-ubuntu-apt-get-install-nginx-updated/.

Source:The Customize Windows, JiMA.in

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

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT