In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
What this article shares with you is a detailed installation tutorial for centos7 to install a high version of the kernel. I believe most people do not know how to install it. In order to let you learn, I have summarized the following contents. Without saying much, let's read on.
View the current OS version
Cat / etc/centos-release
CentOS Linux release 7.6.1810 (Core)
Install elrepo
Rpm-- import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
Rpm-Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
List elrepo-kernel-related software packages
[root@localhost / root] # yum-disablerepo= "*"-enablerepo= "elrepo-kernel" list available
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* elrepo-kernel: mirrors.tuna.tsinghua.edu.cn
Available Packages
Elrepo-release.noarch 7. 0-4.el7.elrepo elrepo-kernel
Kernel-lt.x86_64 4.4.212-1.el7.elrepo elrepo-kernel
Kernel-lt-devel.x86_64 4.4.212-1.el7.elrepo elrepo-kernel
Kernel-lt-doc.noarch 4.4.212-1.el7.elrepo elrepo-kernel
Kernel-lt-headers.x86_64 4.4.212-1.el7.elrepo elrepo-kernel
Kernel-lt-tools.x86_64 4.4.212-1.el7.elrepo elrepo-kernel
Kernel-lt-tools-libs.x86_64 4.4.212-1.el7.elrepo elrepo-kernel
Kernel-lt-tools-libs-devel.x86_64 4.4.212-1.el7.elrepo elrepo-kernel
Kernel-ml-doc.noarch 5.5.0-1.el7.elrepo elrepo-kernel
Kernel-ml-headers.x86_64 5.5.0-1.el7.elrepo elrepo-kernel
Kernel-ml-tools.x86_64 5.5.0-1.el7.elrepo elrepo-kernel
Kernel-ml-tools-libs.x86_64 5.5.0-1.el7.elrepo elrepo-kernel
Kernel-ml-tools-libs-devel.x86_64 5.5.0-1.el7.elrepo elrepo-kernel
Perf.x86_64 5.5.0-1.el7.elrepo elrepo-kernel
Python-perf.x86_64 5.5.0-1.el7.elrepo elrepo-kernel
Install the related kernel packages:
Yum-enablerepo=elrepo-kernel install kernel-ml kernel-ml-devel.x86_64
View the current kernel version
[root@localhost / root] # sudo awk-F\'$1mm = "menuentry" {print iTunes + ":" $2}'/ etc/grub2.cfg
0: CentOS Linux (5.5.0-1.el7.elrepo.x86_64) 7 (Core)
1: CentOS Linux (3.10.0-957.27.2.el7.x86_64) 7 (Core)
2: CentOS Linux (3.10.0-862.11.6.el7.x86_64) 7 (Core)
3: CentOS Linux (3.10.0-862.el7.x86_64) 7 (Core)
4: CentOS Linux (0-rescue-81b73827307a43799b9968e81edddb2f) 7 (Core)
Set 5.5.0 kernel as the default startup item
Grub2-set-default 0
Grub2-mkconfig-o / boot/grub2/grub.cfg
Restart the system
Reboot
Check again
[root@localhost / root] # uname-r
5.5.0-1.el7.elrepo.x86_64
[root@localhost / root] # uname-a
Linux localhost 5.5.0-1.el7.elrepo.x86_64 # 1 SMP Sun Jan 26 20:12:30 EST 2020 x86 "64 GNU/Linux
After reading this article, have you learned to install a higher version of the kernel in centos7? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel. Thank you for reading.
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.