Last active
March 10, 2020 08:22
-
-
Save coder4web/44a9561d6a11316c49e22f4c5d973bba to your computer and use it in GitHub Desktop.
How to Install or Upgrade to Kernel 5.x in 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
# @see https://www.tecmint.com/install-upgrade-kernel-version-in-centos-7/ | |
uname -sr | |
# Linux 3.10.0-1062.12.1.el7.x86_64 | |
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org | |
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-4.el7.elrepo.noarch.rpm | |
yum --disablerepo="*" --enablerepo="elrepo-kernel" list available | |
yum --enablerepo=elrepo-kernel install kernel-ml | |
nano /etc/default/grub | |
GRUB_DEFAULT=0 | |
grub2-mkconfig -o /boot/grub2/grub.cfg | |
reboot | |
uname -sr | |
# Linux 5.5.8-1.el7.elrepo.x86_64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment