编译CentOS 6内核

1.安装所需依赖包

a. yum -y groupinstall "Development Tools"

b. yum -y install ncurses-devel hmaccalc zlib-devel binutils-devel elfutils-libelf-devel kernel-devel

2. cd /usr/src, 下载最新kernel -- wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.7.4.tar.bz2

3. tar jxvf linux-3.7.4.tar.bz2

4. cd linux-3.7.4

5. make mrproper; make menuconfig; make; make modules_install; make install

6. check /boot/grub/grub.conf

7. reboot

你可能感兴趣的:(linux,kernel)