centos6.x系统内核升级的方法
1.先确定系统版本和内核版本
uname -r
– 查看系统版本
cat /etc/issue
[root@centos6 ~]# uname -r
2.6.32-431.el6.x86_64
[root@centos6 ~]# cat /etc/issue
CentOS release 6.5 (Final)
Kernel \r on an \m
- 安装elrepo yum源
[root@centos6 ~]# # rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
说明:安装elrepo yum源之前,先导入elrepo的key。
[root@centos6 ~]# rpm -Uvh http://www.elrepo.org/elrepo-release-6-8.el6.elrepo.noarch.rpm
如果出现错误:
[root@centos6 ~]# 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
curl: (35) SSL connect error
error: skipping http://www.elrepo.org/elrepo-release-6-8.el6.elrepo.noarch.rpm - transfer failed
需要升级一下nss
[