标签:upd -- http name oar imp 安装 gpg conf
--查看当前系统内核
uname -a
cat /etc/redhat-release
1、Import the public key
# rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
2、安装源
# rpm -Uvh http://www.elrepo.org/elrepo-release-6-8.el6.elrepo.noarch.rpm
Retrieving http://www.elrepo.org/elrepo-release-6-8.el6.elrepo.noarch.rpm
Preparing... ########################################### [100%]
1:elrepo-release ########################################### [100%]
3、升级centos
yum update -y
4、升级内核
yum --enablerepo=elrepo-kernel install kernel-lt -y
5、修改/etc/grub.conf文件的default=0
6、重启系统查看内核
reboot
uname -r
标签:upd -- http name oar imp 安装 gpg conf
原文地址:https://www.cnblogs.com/gcixx/p/11145447.html