Knowledgebase: Cloud Server / VDS
How to perform server's kernel update
Posted by Mohd Johani on 17 January 2018 11:50 AM

What is Kernel?
The kernel is the central module of a server OS. The core that provides basic services for all other parts of the operating system.

In simplified terms, it’s the part of the OS that let applications talk to the hardware and vice-versa.  For example, a spreadsheet app can’t talk to your CPU on its own.  To do that, it goes through the OS and kernel.


Why you need to update kernel?
It is a good practice to always update your OS kernel. By doing it, your OS will have latest security fixes, stability improvements, updated drivers, increased speed and will enjoy any new kernel functions that being provided by the OS manufacturer.

Further to that, due to the current bug of Meltdown and Spectre exploit processor vulnerabilities which allow programs to steal data that currently processed on the computer. The kernel update is necessary as to reduce the risk.


You may refer below on the steps to perform the kernel update:

Linux OS
Apply the kernel version update according to your current OS version:  

Debian/Ubuntu
1. Update and upgrade your packages using apt-get:
    #apt-get update && sudo apt-get dist-upgrade

2. You'll need to reboot your server to apply the changes:
    #reboot


CentOS/Fedora
1. You can initiate a full yum update using the below command:
    #yum update
   
2. Just update the kernel packages:
    #yum update "kernel*"
   
3. You'll need to reboot your server to apply the changes:
    #reboot

How to verify that you run the update correctly?
Inside your SSH, run the following command to check:

cat /etc/redhat-release
uname -r     


Windows OS
Apply the Windows operating system update according to your current server version:

You may perform Windows Update toward your OS by selecting all the latest/optional update that available.