How to Upgrade Kernel in Linux

Kernel is one of the most important aspects of an operating system and Linux is no exception. This kernel provides compatibility and good performance on the hardware and software side. In order for a server to run optimally, this kernel upgrade needs to be done regularly. Here are some ways to upgrade the kernel

A. Centos 7 or 8


1) Login to Server via SSH

2) Run the following command

# yum update
# yum update kernel


B. Ubuntu and Debian


1) Login to the Server via SSH

2) Run the following command

# apt-get update
# apt-get upgrade kernel

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.