1:查看系統(tǒng)版本
# uname -r
2.6.32-431.el6.x86_64
2:更新內核
# yum -y install kernel
3:重啟系統(tǒng)
#? reboot
4:查看是否啟用新內核
# uname -r
2.6.32-504.8.1.el6.x86_64
5:可以刪除老內核節(jié)約空間
# rpm -q kernel
kernel-2.6.32-431.el6.x86_64
kernel-2.6.32-504.8.1.el6.x86_64
# rpm -e kernel-2.6.32-431.el6.x86_64
===============
1. 安裝最新kernel
yum ?-y ?install kernel
2. 更新kernel headers
yum install kernel-headers