0
我sended這些命令的舊版本:無法更新CentOS 6的內核使用yum,使用uname -r仍呈現
# yum install kernel
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: centosr3.centos.org
* extras: centosg4.centos.org
* updates: centosg4.centos.org
Setting up Install Process
Package kernel-2.6.32-279.2.1.el6.i686 already installed and latest version
Nothing to do
# yum install kernel-devel
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: centosr3.centos.org
* extras: centosg4.centos.org
* updates: centosg4.centos.org
Setting up Install Process
Package kernel-devel-2.6.32-279.2.1.el6.i686 already installed and latest version
Nothing to do
#uname -r
2.6.32-042stab057.1
#uname -a
Linux asteriskserver 2.6.32-042stab057.1 #1 SMP Fri Jun 22 02:17:07 MSD 2012 i686 i686 i386 GNU/Linux
正如你所看到的仍然運行2.6.32內核的舊版本,而yum說,我已經安裝了另一個版本。 我重新啓動系統,它是一個vps。
好吧,我目前正在編譯dahdi源代碼,它說你沒有安裝2.6.32-042stab057.1內核的源代碼 有一種方法可以安裝定製版本的kernel-devel ? – filippo 2012-07-21 11:12:01