Last active
March 27, 2021 06:34
-
-
Save joariasl/8f07c89461fdadbfce5295b35739e3b0 to your computer and use it in GitHub Desktop.
Upgrade kernel CentOS 7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org | |
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm | |
yum --enablerepo=elrepo-kernel install kernel-ml | |
#yum --enablerepo=elrepo-kernel install kernel-lt | |
# Set the new kernel as default | |
grub2-set-default 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment