Upgrade the Kernel of CentOS4.6

Source: Internet
Author: User
Upgrade the Kernel of CentOS4.6-general Linux technology-Linux programming and Kernel information. For more information, see the following section. 1. download the required Kenrel from ftp.kernel.org. Example: linux-2.6.24.4.tar.bz2
2. Unzip beilinux-2.6.24.4.tar.bz2 to/usr/src, decompress the package, and establish a soft connection.
# Cd/usr/src
# Tar jxf linux-2.6.24.4.tar.bz2
# Ln-s linux-2.6.24.4 linux
3. Copy an approximate configuration file from the boot Directory, which may be too compliant
# Cp/boot/config-2.6.9-67.Elsmp/usr/src/linux/. config
4. reconfigure as needed
# Make menuconfig
5. Create an rpm package
# Make rpm
Run rpm on/usr/src/redhat/RPMS/i386
6. Go to/usr/src/redhat/RPMS/i386 and install the rpm package.
# Cd/usr/src/redhat/RPMS/i386
# Rpm-ivh -- nodeps kernel-2.6.24.4-1.i386.rpm.
7. Create a RamDisk for the new Kernel
# Cd/boot
# Mkinitrd initrd-2.6.24.4.img 2.6.24.4
8. Add a new startup Item to/root/grub/menu. lst.

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.