Linux kernel upgrades and kernel compilation

Source: Internet
Author: User
Tags new features

One: Linux kernel:

The operating system is a low-level support software used to deal with hardware and provide a limited set of services for user programs. A computer system is a symbiotic body of hardware and software that is interdependent and indivisible. Computer hardware that contains peripherals, processors, memory, hard disks, and other electronic devices that make up the computer's engine. But without software to manipulate and control it, it cannot work itself. The software that completes this control is called the operating system, which is called the "kernel" in the terms of Linux, or "core". The main modules (or components) of the Linux kernel are divided into the following sections: storage management, CPU and process management, file systems, device management and drivers, network communications, and system initialization (booting), system calls, and so on. The Linux system architecture is shown below:

Second: The benefits of Kernel upgrades:

Support new hardware, improve efficiency, support new features, mainly for network, development, service applications.

Third: How to upgrade the kernel:

1: Will upgrade the kernel of the patch download installation.

2: Reinstall the new kernel on the old machine, replacing the original kernel.

Quad: Kernel compilation:

By modifying some of the kernel's options to implement different functions of the original kernel

Five: The following is an example of reinstalling the kernel to illustrate the process of compiling the Linux kernel:

1: View the Linux kernel size:

2: View kernel modules:

3: View all module instructions: [Root@lyt kernel]# Lsmod

View the details of a single module (for example, with the LP module): [Root@lyt kernel]# modinfo LP

Delete Module instruction (with LP module for example): [Root@lyt kernel]# rmmod LP

Reload module (with LP module for example): [Root@lyt kernel]# modprobe LP

View the configuration file for the module (you can manually configure some parameters): [Root@lyt kernel]# vim/etc/modprobe.conf

4: View the kernel source code:

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.