Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a server with 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 1) downloading kernel compiling and installing but still i see the same Kernel version.. What went wrong? i followed the process in mentioned in the below link..

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

share|improve this question
    
You might just want to change to a different distro, ie debian, to get the latest kernels. Centos has it's reasons for staying behind the curve. –  Danie Dec 7 '12 at 6:50
    
Thanks for the reply Danie you mean to say we can't upgrade the kernal? of please suggest me more Danie i am new i didnt get distro means do you want to suggest different flavour of linux –  shiva Dec 7 '12 at 6:52
    
Hi Shiva, you are able to upgrade the kernel as per that link, but it seems that you could've missed some crucial steps. When centos rebooted, did you choose the new 3.x kernel from the boot list? –  Danie Dec 7 '12 at 8:45
    
no which file i need to change to choose the kernal version at boot? –  shiva Dec 7 '12 at 9:17
    
@Danie If you want more recent software versions, Debian too would be a poor choice since they favor stability over newness. –  Michael Kjörling Dec 7 '12 at 15:38
show 1 more comment

4 Answers

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.

share|improve this answer
add comment

If you really must, you can get newer kernels from ElRepo but once you do this you're on your own so to speak. You will be outside of the normal EL support channels and may not be able to get security and bug fixes etc.

share|improve this answer
    
if i can use another linux which will be better but i need Default kernal version 3.4 which has x32abi package –  shiva Dec 7 '12 at 9:27
add comment

When you say "CentOS 6.2 with kernel version 2.6.32" you aren't being entirely accurate:

...there is no one [kernel version] number that accurately represents the RHEL 6 kernel. We take what is upstream; if there are pieces that are not mature, we disable them so they don't disrupt things; and there are some technology pieces that are further ahead that we pull in...

As others have said, changing the kernel goes against the grain of using CentOS/RHEL/OEL etc, but the above also means that by upgrading to 6.3, although you don't change the apparent kernel version you do upgrade the kernel—it's just not possible to do a like-for-like comparison with mainline kernel numbers.

share|improve this answer
add comment

This is one way to do it via epel repo

https://www.centos.org/modules/newbb/viewtopic.php?topic_id=38469

share|improve this answer
1  
Please include some details from what you are linking to, as the link you provide could stop working at some point in the future. –  dunxd Dec 7 '12 at 12:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.