CentOS 7 steps to upgrade the kernel to Kernel 4.0.2

Source: Internet
Author: User
Tags gpg

Linus Torvalds has upgraded the Linux kernel to Kernel 4.0.2, new kernel patches and newer Bluetooth, USB, SCSI, ACPI drivers, increased NFS and EXT4, and improved ARM64 and PowerPC architectures.

In addition to updated drivers, enhanced support for new devices and file systems also brings the long-awaited life patching feature, allowing users to update the kernel without restarting the system. For ordinary users this is not important, this feature for Linux server is very practical.

Install the command, and then enter the following command to install:

Su Root
RPM--import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
Yum Install http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
Yum--enablerepo=elrepo-kernel Install kernel-ml
Reboot

Uninstall command:

Yum Remove kernel-ml

The above is the cloud-Habitat Community Small series for you carefully prepared for the content, in the cloud Habitat Community blog, question and answer, public number, people, courses and other columns also have related content, welcome to continue to use the search button on the upper right corner search server, kernel, architecture, system users CentOS kernel upgrades, Centos7 Kerne L upgrade, CentOS upgrade kernel, CentOS 6.5 upgrade kernel, CentOS 7 upgrade kernel, so you can get more relevant knowledge.


Import Public key

RPM--import
https://www.elrepo.org/RPM-GPG-KEY-elrepo.org


Install Yum source installation to Centos7

RPM-UVH
http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm


Install Kernel (7 with KERNEL-ML)

Yum--enablerepo=elrepo-kernel Install kernel-ml

Install to CENTOS6

RPM-UVH
http://www.elrepo.org/elrepo-release-6-6.el6.elrepo.noarch.rpm


Install to Centos5

RPM-UVH
http://www.elrepo.org/elrepo-release-5-5.el5.elrepo.noarch.rpm


Install Kernel (5/6 with kernel-lt)

Yum--enablerepo=elrepo-kernel Install Kernel-lt

Sometimes network problems cause

No package kernel-ml* available.
Error:nothing Todo


Download the RPM package manually, install it manually, and specify the boot sequence.

wget http://elrepo.org/linux/kernel/el7/x86_64/RPMS/kernel-ml-4.6.4-1.el7.elrepo.x86_64.rpm
RPM-IVH kernel-ml-4.6.4-1.el7.elrepo.x86_64.rpm
Grub2-set-default ' CentOS Linux (4.4.2-1.el7.elrepo.x86_64) 7 (Core) with debugging '
[Root@abc boot]# grub2-editenv list
saved_entry=centos Linux (4.4.2-1.el7.elrepo.x86_64) 7 (Core) with debugging

Related Article

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.