compiling the kernel manually1.uname-r View Kernel version first2.YumGroupinstall"Development Libraries" "Development Tools"Installing development tools and library files can be viewed by Yum Grouplist first3. Download Kernel www.kernel.org4.TarXF linux-2.6.28.10.Tar. gz-c/usr/src/5. cd/usr/src6.LN-SV linux-2.6.28.10Linux Create a link7. CD Linux8overwrite the original module configuration file with the current directoryCP/boot/config-2.6. +-504.23.4. el6.x86_64/usr/src/linux/. config9. MakeMenuconfig must be in the kernel directory error: [[email protected] linux]# MakeMenuconfigUnable toFindThe ncurses libraries or the***Required header files.***'Make menuconfig'requires the Ncurses libraries.Install ncurses (ncurses-devel) and try again. *** Make[1]: * * * [Scripts/kconfig/dochecklxdialog] Error1Solution:Yum Installncurses-devel execute make menuconfig againTen. Enter the selection module with the SPACEBAR to select the last connect the two ESC keyboard save exit will generate a. config file A. Compile Make MakeModules_install Installing kernel modules Make Install -. Reboot to select a new kernel
Two compile-time cleanup required
Make clean
Make Mrproper
If necessary, back up the. config file in advance
Linux Kernel manual compilation