• 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 Upgrade Kernel of Ubuntu Server 16.04 (Cloud Server)

By Abhishek Ghosh September 4, 2016 11:42 am Updated on March 29, 2017

How to Upgrade Kernel of Ubuntu Server 16.04 (Cloud Server)

Advertisement

The latest kernel version any user is supposed to use in Ubuntu is updated automatically via the Update Manager, so no action is normally required by user regarding kernel upgrades. Server installations will default to the GA kernel and provide the enablement kernel as optional. We are referring to mainline kernel. Previously, we talked about how to upgrade live Ubuntu 14.04 to 16.04. Here is How to Upgrade Kernel of Ubuntu Server 16.04 Cloud Server to Latest. Newer enablement stacks are meant for server including cloud. 

How to Upgrade Kernel of Ubuntu Server 16.04 (Cloud Server)

 

Why Upgrade Kernel of Ubuntu Server 16.04 on Cloud Server

 

Every kernel update will have some sort of security fixes that close up holes that have been discovered. Kernel updates can fix other issues that could possibly make the system crash. Major updates to the kernel in Linux also brings some new functions. Major updates to the kernel improve the overall speed of the system.

People who run servers really need to be cautious. Kernel update can make a server unstable. In such case, an immediate downgrade or rather removal of kernel needed. Backup normally not needed, but it is always good to take backup before doing any work on server over SSH. Official information written here :

Advertisement

---

Vim
1
https://wiki.ubuntu.com/Kernel/MainlineBuilds

 

How to Upgrade Kernel of Ubuntu Server 16.04 (Cloud Server)

 

Do not run commands before reading the whole text once. You can check your server’s kernel version with this command :

Vim
1
uname -r

We can use apt to upgrade :

Vim
1
2
apt-cache search linux-image
# apt-get install linux-image-x.x.x-xx

But we can check the latest kernels on mainline from here :

Vim
1
http://kernel.ubuntu.com/~kernel-ppa/mainline/

That is, we normally use the manual method. Commonly our servers are Ubuntu (amd64/64-bit). On the above web URL, we can browse the latest version as bottom most link with version number. At this time of writing, latest is this –

Vim
1
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11-rc4/

There are files under the text “Build for amd64 succeeded”. We will fetch :

The .deb file with all.deb.
Two .deb files with the word generic.

Normally 3 files, but sometimes there is another .deb file with extra. We need to wget that too.

For 64 bit Ubuntu, at this moment you need to run :

Vim
1
2
3
4
cd /tmp
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11-rc4/linux-headers-4.11.0-041100rc4_4.11.0-041100rc4.201703261831_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11-rc4/linux-headers-4.11.0-041100rc4-generic_4.11.0-041100rc4.201703261831_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11-rc4/linux-image-4.11.0-041100rc4-generic_4.11.0-041100rc4.201703261831_amd64.deb

Make sure that all the above are fetched. Then run :

Vim
1
sudo dpkg -i linux-headers-4.11.0*.deb linux-image-4.11.0*.deb

It will take time. After completion, reboot the server.

If system becomes unstable, in such case you need to downgrade/remove the kernel. We deliberately avoided more commands to keep things easy.

 

How to Remove the Old Kernels of Ubuntu Server 16.04

 

The version you upgraded now, do not remove that version and one version back (for safety). We can get a list the kernel versions :

Vim
1
dpkg --get-selections | grep linux-image

and think to remove the old ones with :

Vim
1
sudo apt-get remove linux-image-x.x.x-xx linux-headers-x.x.x-xx

Reboot after the works.

Tagged With kernel update , vps upgrade ubantu 16 04 kernel amd 64 , ubuntu server up mainline kernel , ubuntu server kernel upgrade , ubuntu server is not upgraded with the latest kernel headers , ubuntu 16 04 upgrade kernel , kernel upgrade ubuntu server , https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1834 mZW0VwuNnOKrkr8R5Rfx0j9OktOmvMp9mlOi3wIXOz8bj7OrZIKfZ_zBffcT-7m1 ab3055eaaa16d1e4ba6e934757c14aae08b4e7a6&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXme , https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1831 5C7IAJOPG2emm2rJgC_FfHztGSGupdsTPueUio7hcQEkJAUE86iHjyd9FiZBc2Gb d05930044d52eb6ebb9dba8a9295bce9e96bc871&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXme , https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1830 tFJgVqDWQp_EJa26UGa0YWrHBGPLVjXT8z298rdJZPZBwhbvAJ-W19__YcffjL2z a03c936cbf0f1e31d906a4a2d0e4f19fb5908646&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXme

This Article Has Been Shared 821 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 Upgrade Kernel of Ubuntu Server 16.04 (Cloud Server)

  • unix Commands to Check Server Logs For Security

    Here is a Basic Guide For the Beginners to Self Manage Cloud Server Instances. Master these unix Commands to Check Server Logs For Security.

  • Upgrading Ubuntu 14.04 to Latest Nginx to Support HTTP2

    Here Are Steps For Upgrading Ubuntu 14.04 to Latest Nginx to Support HTTP2 With Troubleshooting Error. Nginx Has No Support For this Upgrade.

  • Upgrade Ubuntu Server 14.04 to 16.04 With Live WordPress

    Here Are the Detailed Steps on How To Upgrade Ubuntu Server 14.04 to 16.04 With Live WordPress With Kernel Upgrade, Debug & Fixes For Nginx.

  • Install GoAccess Nginx Access Log Analyzer on Ubuntu 16.04 PHP 7

    GoAccess is Easy to Install, Output Available on CLI or As HTML Here is How to Install GoAccess Nginx Access Log Analyzer on Ubuntu 16.04.

  • Limit SSH Access By Country To Save From SSH Brute Force

    SSH Brute Force is Known Way to Blow Away. Here is How To Limit SSH Access By Country To Save From SSH Brute Force & Filter With Fail2Ban.

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

  • Zebronics Pixaplay 16 : Entry Level Movie Projector Review February 2, 2023
  • What is Voice User Interface (VUI) January 31, 2023
  • Proxy Server: Design Pattern in Programming January 30, 2023
  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023

About This Article

Cite this article as: Abhishek Ghosh, "How to Upgrade Kernel of Ubuntu Server 16.04 (Cloud Server)," in The Customize Windows, September 4, 2016, February 3, 2023, https://thecustomizewindows.com/2016/09/upgrade-kernel-ubuntu-server-16-04-cloud-server/.

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