What is the code to update the Kernel from the root command line?

Using YUM is the easiest way to update your Kernel to the latest version within it's major release. For example, CentOS 7 can only be upgraded to the highest 7 version. To upgrade from CentOS 7 to 8, it is a much more difficult and risky process. 

Simply log into your server with root via SSH and run this code: 

yum -y update kernel



  • yum, kernel, update
  • 49 Users Found This Useful
Was this answer helpful?

Related Articles

Where is the servers located?

The main servers are located in Los Angeles. We also have backup servers in Las Vegas and round...

How is your web hosting so fast?

To be honest it's not one big thing although there is a couple more expensive things we do to be...

How to flush your DNS cache

Your home computer creates a cache for all DNS settings. It does this to save time each time you...

What is the root login for my new VPS server?

The root login is the same password our system sent you in your welcome email. You just change...

What is the path to PERL?

The path to PERL in PERL script is:#!/usr/local/bin/perl