RHEL6.0 kernel upgrade [2.6.32-71. el6.x86 _ 64-> linux-3.8]

Source: Internet
Author: User
Linux Kernel version Introduction: After version 2.6.0 is released, the Linux kernel is named as A. B .C.D. Changes in A and B are irrelevant. C is the real version of the kernel, changes in each version will bring new features. For example, internal API changes. The number of changes is often tens of thousands. D is a security patch and bug fix. Stable indicates a Stable kernel update. Mainline's current official kernel is maintained by LinuxTorvalds. In the released kernel version

Preface:

Linux Kernel version:

Since the release of version 2.6.0, the Linux kernel is named in the form of A. B .C.D. Changes in A and B are irrelevant. C is the real version of the kernel, and changes in each version will bring new features. For example, internal API changes. The number of changes is often tens of thousands. D is a security patch and bug fix.

Stable indicates a Stable kernel update.

The current official Mainline kernel is maintained by Linux Torvalds

In the released kernel version, a Full source.pdf is a Full internal kernel, which is generally the tar.gz).bz2 file. Another Patch file is a Patch file.

Installation preparation:

1. kernel: http://www.kernel.org is currently the latest official stable kernel version of The linux-3.8 version of about 90 M.

2. Install the GCC compilation tool, make compiler, and ncurses-dev package when upgrading or customizing the kernel in Linux. At the same time, the root permission is required.

Note: Kernel upgrades are risky and may affect existing applications.

Kernel compilation and upgrade:

1. view the current system kernel:

[Root @ sysweb ~] # Uname-r

2.6.32-71. el6.x86 _ 64

2. decompress the kernel source code package:

[Root @ sysweb home] # tar-xzvf linux-3.8.tar.gz

After the kernel source code package is decompressed, it is about 555 MB, for example:

[Root @ sysweb home] # du-sh linux-3.8

555 M linux-3.8

3. Copy the kernel source code package to the/usr/src/kernel directory:

[Root @ sysweb home] # mv linux-3.8/usr/src/kernels/

4. Go to the kernel source code directory:

[Root @ sysweb home] # cd/usr/src/kernels/linux

[Root @ sysweb linux] # pwd

/Usr/src/kernels/linux

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.