Upgrade to Kernel 4.x in CentOS 6 or CentOS 7

Kernel 4.x is highly optimised and gives a lot of boost in performance to all Linux servers, here are few simple commands to upgrade your Kernel to 4.x on your CentOS 6 / CentOS 7 / RHEL 7 VPS (It will work with any KVM Based VPS like the ones provided by hosteons.com) or Dedicated server :


CentOS 6 / RHEL 6:

rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org

rpm -Uvh http://www.elrepo.org/elrepo-release-6-8.el6.elrepo.noarch.rpm

yum install yum-plugin-fastestmirror

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

Now update /etc/grub.conf and make sure the new kernel 4.x is selected as default kernel and just reboot your VPS/Dedicated Server to use the new kernel.

CentOS 7/RHEL 7:

rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org

rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm

yum install yum-plugin-fastestmirror

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

Now update /etc/grub.conf and make sure the new kernel 4.x is selected as default kernel and just reboot your VPS/Dedicated Server to use the new kernel.

  • tutorial, kernel, upgrade kernel, centos
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What kind of drives do you use for your VPS Hosting ?

We use RAID 10 with pure SSD Drives for VPS Hosting, we don't use normal HDD, for best...

Which virtualisation technology do you use for VPS Hosting?

We use KVM technology for your VPS hosting and we even use SolusVM control panel to provide...

Does your VPS have DDOS Protection ?

Yes our VPS comes with free DDOS Protection, we provide Free 20 Gbps DDOS Protection with all our...

How soon will get my VPS once I place and order pay for it?

Our VPS are provisioned and delivered instantly and automatically upon payment, as soon as it's...

How to change OS of my VPS ?

HOSTEONS.COM allow free OS change/reinstall on all our VPS packages and you even don't need to...

Powered by WHMCompleteSolution