参考资料
https://linux.cn/article-8310-1.html
|
背景
基于以下三点,让我有种升级内核的冲动:
1.docker容器近期暴露的漏洞,问了”专家”说是都是内核的问题。
2.centos7还是用的3.10,centos8(RHEL用的是4.18版本)发布时间表还不知道。
3.linux的内核稳定版本已经到5.0.X。
升级步骤
检查已安装版本

修改下hostname先。
升级内核



然后reboot。
结果

建议
在新操作系统安装好以后,就先yum update、然后升级内核。
再安装其他的数据库、中间件、(java、go、python、ruby、erlang)语言runtime。