Source code compilation and kernel upgrade

Source: Internet
Author: User

Source code compilation and kernel upgrade

Recently, I am working on the operating system to refresh the items that should be recorded a long time ago and write them for future reference. No matter what it is, it may be forgotten after a long time.

No, go to the topic.

1. Download source code

Https://www.kernel.org/pub/linux/kernel/v3.x/

2. Extract

Tar zxvf linux-3.8.8.tar.gz

3. Enter the decompressed directory.

Cd/usr/src/linux-3.8.8

The following commands use The sudo permission

4. Generate a configuration file

Make oldconfigure

5. Compile (it takes a long time)

Make

6. Install the module and upgrade the kernel.

Make modules_install install

More details steps

Http://www.linux.it /~ Rubini/docs/kconf/

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.