Centos6、Centos7 更换内核
CentOS6内核更换为:2.6.32-504.3.3.el6.x86_64
rpm -ivh http://209.141.59.70/fuck/file/kernel-firmware-2.6.32-504.3.3.el6.noarch.rpm
rpm -ivh http://209.141.59.70/fuck/file/kernel-2.6.32-504.3.3.el6.x86_64.rpm --force
CentOS7内核更换为:3.10.0-229.1.2.el7.x86_64
rpm -ivh http://209.141.59.70/fuck/file/kernel-3.10.0-229.1.2.el7.x86_64.rpm --force
查看内核是否安装成功
rpm -qa | grep kernel
然后重启。
用uname -r 查看是否生效