RedHat recommends kernel compilation.

Source: Internet
Author: User
As the old saying goes, RedHat recommends the kernel compilation method-general Linux technology-Linux programming and kernel information. The following is a detailed description. Author: Ma luyao

This article is taken from the RH300 (RHCE Rapid Track Course) textbook.

This article assumes that you are using Redhat 7.2 and started with grub management. Prepare to compile the kernel that comes with 7.2.
Cd/usr/src/linux-2.4
Make mrproper
Edit Makefile
Change EXTRAVERSION = to a specific text, such:
EXTRAVERSION =-10me

Make menuconfig or make xconfig
Make dep
Make bzImage
Make modules
Make modules_install
Cp System. map/boot/System. map-2.4.7-10me
Cp arch/i386/boot/bzImage/boot/vmlinuz-2.4.7-10me
New-kernel-pkg -- install -- mkinitrd -- depmod 2.4.7 = 10me
(Restart)
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.