How To Update the Kernel in CentOS / Red Hat

Updating the kernel on Red Hat Linux or CentOS Linux is a very simple process. Most commonly you will use the following command in the case of a security vulnerability, or perhaps just to verify that you’re running the most up-to-date kernel:

yum -y update kernel


In this case, yum is the rpm-based package manager for both Red Hat and CentOS, -y, –assumeyes gives yes as an answer to any question which would be asked by running the command, update is for updating the package, andkernel is the package you’re updating!

Assuming your server needed a new kernel and was thus upgraded, reboot your server to complete the process!

  • 133 Users Found This Useful
Was this answer helpful?

Related Articles

How to Add a User and Grant Root Privileges on Ubuntu 12.04

Step 1: Add the User It’s just one simple command to add a user. In this case, we’re...

How to Install the Open Query Graph engine (OQGRAPH) for MariaDB 10.0 on CentOS 6

MariaDB is a drop-in replacement for MySQL. It is easy to install, offers many speed and...

Error: 500 OOPS: priv_sock_get_cmd [SOLVED]

The Fix This error may occur when attempting to connect to a vsftpd FTP server. You simply need...

How to Install MongoDB on Ubuntu 14.04 LTS

MongoDB is a NoSQL database intended for storing large amounts of data in document-oriented...

Safe Passwords

Your server is only as secure as your weakest password. As a rule of thumb, the more complex a...

Powered by WHMCompleteSolution