RHEL7: How to install the most recent stable kernel.

Share this link

Presentation

As it is pretty complicated to compile a new kernel, the ELRepo project provides an easy way to install a recent kernel, if you want to. Its elrepo-kernel channel actually allows you to install the most recent stable kernel.

Installation Procedure

Start by installing the ELRepo repository.

Then, temporary enable the elrepo-kernel channel and install the most recent stable kernel:

# yum --enablerepo=elrepo-kernel install -y kernel-ml

After rebooting, you will be able to choose the new kernel.
If you don’t want to choose at boot, type:

# grub2-set-default 0

Source: Inspired from this great Linoxide tutorial where you can additionally learn how to compile a kernel!

Additional Resources

In addition, Bob Cromwell provides a page about building Linux kernels.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Leave a Reply

RHCSA7: Task of the day

Allowed time: 10 minutes.
Boot and change the root password before the end of the boot process.

RHCE7: Task of the day

Allowed time: 15 minutes.
Configure a httpd server with a password protected directory under the /var/www/html/private directory.

Follow me on Twitter

Poll for favorite RHEL 7 book

What is your favorite RHEL 7 book to prepare RHCSA & RHCE exams?

View Results

Loading ... Loading ...

Poll for most difficult RHCSA 7 topic

What do you think is the most difficult RHCSA 7 topic?

View Results

Loading ... Loading ...

Poll for most difficult RHCE 7 topic

What do you think is the most difficult RHCE 7 topic?

View Results

Loading ... Loading ...

Archives