Centos7.8后可以安装官方的5.4内核

yum -y update centos-release
yum install -y yum-utils epel-release
yum-config-manager --enable centos-kernel
yum install kernel -y

确认升级完重启, 可以卸载3.10的内核了.

yum remove $(rpm -qa | grep kernel | grep  "3\.10")