In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article analyzes "how to upgrade the Linux kernel in the right posture". The content is detailed and easy to understand, and friends who are interested in "how to upgrade the Linux kernel in the right posture" can follow the editor's train of thought to read it in depth. I hope it will be helpful to everyone after reading. Let's follow the editor to learn more about "how to upgrade the Linux kernel in the right posture".
How to upgrade the kernel of Linux system? Sometimes we will encounter some problems, such as the network card can not be used, the brightness can not be adjusted, the touchpad can not be recognized, and this may be the problem of the kernel. Upgrading the kernel may solve the problem.
First, check the Linux kernel version command (2 methods): cat / proc/version uname-an II, view Linux system version command (3 methods): lsb_release-a can list all version information: this command applies to all Linux distributions, including Redhat, SuSE, Debian … Wait for the release. The cat / etc/redhat-release approach applies only to Redhat-based Linux: cat / etc/issue this command also applies to all Linux distributions. Generally speaking, only the kernel downloaded from kernel.org and compiled and installed is the official kernel. Most Linux distributions provide a self-maintained kernel that can be upgraded through package management systems such as yum or rpm.
1) # Import the public key of ELRepo software repository
Rpm-import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
2) # install the yum source of the ELRepo software repository
Rpm-Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
3) # install mainline kernel (ml=mainline) 4.14.11
Yum-enablerepo=elrepo-kernel install kernel-ml
4) check the available kernel of the system and set the startup item
Sudo awk-F' $1percent = "menuentry" {print iTunes + ":" $2}'/ etc/grub2.cfg
There are three cores on the machine. We want to use the version 4.20, which can be done with the grub2-set-default 0 command.
Generate grub configuration file
Grub2-mkconfig-o / boot/grub2/grub.cfg
5) restart the system and verify
Uname``-which versions of aLinux are available in Linux: Deepin, UbuntuKylin, Manjaro, LinuxMint, Ubuntu and other versions. Among them, Deepin is one of the best-developed Linux distributions in China; UbuntuKylin is a derivative release based on Ubuntu; Manjaro is a Linux release based on Arch; LinuxMint's default Cinnamon desktop is similar to Windows XP's easy-to-use; Ubuntu is the Linux operating system based on desktop applications.
On how to upgrade the Linux kernel in the correct posture is shared here, I hope that the above content can make you improve. If you want to learn more knowledge, please pay more attention to the editor's updates. Thank you for following the website!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.