Centos – In CentOS 6.x, how can I upgrade to Kernel 3.4

centoscentos6kernellinux-kernelredhat

I have a server running CentOS 6.2 with kernel version 2.6.32, but I need to increase my application Performance.

The Kernel Version 3.4 has x32abi which can improve the performance so i want to upgrade to 3.4 ? Is it possible?

I tried downloading kernel compiling and installing but still I see the same Kernel version..

What went wrong? I followed the process in mentioned in the link below.

http://www.tecmint.com/kernel-3-5-released-install-compile-in-redhat-centos-and-fedora/

Best Answer

This action goes against the purpose of Red Hat Enterprise Linux (and thus, CentOS). These enterprise distributions are meant to maintain stable minor versions of the kernel and core packages (glibc, gcc, etc.) in order to provide a stable platform throughout the supported lifecycle of the distribution.

That means that installing a much newer kernel would turn your system into something other than CentOS.

That said, it can definitely be done. The link you posted is a good guide. You should also upgrade to CentOS 6.3 while you're in the process. (6.4 is on the way)

Following your compilation, you should select the newly-compiled kernel at the CentOS boot screen or change the default booting kernel via the default= line in /etc/grub.conf.