centos7 升级最新版内核
升级系统
[root@jikeshijian ~]
安装 ELRepo
-
-
安装新内核
-
-
更新 Grub 后重启
-
-
Generating grub configuration file ...
-
Found linux image: /boot/vmlinuz-5.2.8-1.el7.elrepo.x86_64
-
Found initrd image: /boot/initramfs-5.2.8-1.el7.elrepo.x86_64.img
-
Found linux image: /boot/vmlinuz-3.10.0-862.14.4.el7.x86_64
-
Found initrd image: /boot/initramfs-3.10.0-862.14.4.el7.x86_64.img
-
-
-
-
0 : CentOS Linux (5.2.8-1.el7.elrepo.x86_64) 7 (Core)
-
1 : CentOS Linux (3.10.0-862.14.4.el7.x86_64) 7 (Core)
-
-
-
查看当前设置
-
-
重启后确认内核版本已升级为最新版
-
-
5.2.8-1.el7.elrepo.x86_64
项目地址:https://github.com/iovisor/bcc
注意:5.0 以上内核安装 bcc-tools 工具会有 bug. 参见: memleak error on 5.0.10-1.el7.elrepo.x86_64
建议升级成 4.1~4.20.13 之间的内核,参见: 历史内核版本列表
内核安装。参见:centos7 内核升级
[root@jikeshijian ~]
配置 PATH 路径
[root@jikeshijian ~]
验证安装成功
[root@jikeshijian ~]
centos 升级内核以及安装bcc工具
原文:https://www.cnblogs.com/zafu/p/12264485.html