Linux kernel Upgrade

Source: Internet
Author: User

Reference Source: http://www.linuxidc.com/Linux/2014-10/108768.htm


1. Yum Update (upgrade to latest version)


2, source upgrade (upgrade to the specified version)

Https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.12.40.tar.gz

Tar XF linux-3.12.40.tar.gz

CP-RV linux-3.12.40/usr/src/

cd/usr/src/linux-3.12.40


1), Make Menuconfig

Kernel configuration interface, if you need to customize the kernel, you can choose according to the prompts


2), make Oldconfig

If you are customizing the kernel, you do not need to perform this step

Use the current system kernel configuration file for the kernel source to be compiled

The. config file will be created in the current directory


Compiling the installation

3), make [-JN]

N is a number, such as Make-j4 split 4 job Tasks parallel compilation, faster compilation speed

Using make-j does not limit the task book for parallel compilation, but the error rate may be higher


4), Make Modules_install

Installing kernel Modules


5), make install

Installing the kernel


6), reboot

Restart

Linux kernel Upgrade

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.