Compile the Linux Kernel
- download the linux kernel source code
- cd the source code dir
make distclean
make menuconfig
ormake oldconfig
make all -j4
ormake
thenmake modules_install
cp -v arch/x86_64/boot/bzInage /boot/vmlinuz-linux-version
cp system.map /boot/System.map-version
cp .config /boot/config-version
update-grub
reboot
bindeb-pkg
orbinrpm-pkg
could substitute step 5 to step 9. Thendpkg -i kernel.deb
orrpm -i kernel.rpm