System: CentOS Linux release 7.6.1810 (Core)
A. Find all local cores // 查看当前系统包含的内核
rpm -qa | grep kernel
B. Choose to delete // 选择删除内核
yum remove kernel-XX
NOTE: Make sure the core which is in use // 确保删除的不是当前正在使用的内核版本
Check which core is in use // 查看当前使用的内核版本命令
uname -a