How to install latest stable kernel in Centos/Fedora/ ?

 Question : How to install latest stable kernel in Centos/Fedora/ ?

Answer:

First Ensure the following packages are installed and up to date:
autoconf
automake
bison
byacc
flex
gcc
gcc-c++
gettext
libpciaccess
libpciaccess-devel (this by default is not installed)
libstdc++ (for x86_64 systems)
libtool
make
ncurses-devel
patch
rpm-build

1. Get the latest kernel source from www.kernel.org
I used 2.6.38.3

2. Unpack:

 # bunzip2 linux-2.6.38*.tar.bz2
# tar xvf linux-2.6.38*.tar

3 Go to to its directory:

 # cd linux-2.6.38*

4 configure:

 # make menuconfig

Select required device drivers:
Example:
Device Drivers -> Network device support -> Ethernet (10000 Mbit)
Intel(R) 10GbE PCI Express adapters support

5. Save the new kernel configuration

6. Compile (-j 8 for 4 core CPU):

 make -j 8 && make -j 8 modules_install && make install

7. Reboot system to new the kernel