There are many howtos for compiling kernels, but most of them don’t work. Why? It’s not that they are wrong. The problem is that every linux distribution has its own idiosyncrasies. There is no howto that works for all cases.
This document will help you to compile linux kernel for Redhat based distributions:
Redhat
Fedora
Redhat Enterprise
CentOS
