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

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 (21K Followers)
  • Twitter (5.3k 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

  • 5 Sectors That Have Undergone Revamps in Digital Landscape February 24, 2021
  • What You Can Control with a Smartwatch and ESP32 February 23, 2021
  • What Does Data Cleansing Mean? February 21, 2021
  • How to Find the Right Software for Your Company February 20, 2021
  • What is Code Refactoring? February 19, 2021

 

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 25, 2021, https://thecustomizewindows.com/2016/09/upgrade-kernel-ubuntu-server-16-04-cloud-server/.

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