Kernel Upgrade on Centos 5.6
I need to upgrade kernel
uname -r 2.6.18-238.19.1.el5.028stab092.2 to something 2.6.24 or later. My question is, do I need to upgrade to centos 6+ or can I do something such as this tutorial: http://blog.csdn.net/appletreesujie/...etails/6718691 |
you should just be able to do as root a
Code:
yum update Code:
yum update kernel |
Quote:
|
What's bad is that you're running an OpenVZ kernel from 2011 and the one you want to upgrade to isn't a support or maintained version either. If you can use Yum to upgrade your kernel, great, else see the "For the latest RHEL5 kernel" link at http://wiki.openvz.org/Download/kernel/rhel5. That web log post "instructs" you to compile and install a vanilla kernel. You do not want that. When you use RHEL or CentOS then consult the RHEL or CentOS documentation! Also you're running CentOS 5.6 so you're two major upgrades behind schedule. Please upgrade RSN.
|
Quote:
But any way possible I can install 2.6.24 or later? |
As I posted above: ...else see the "For the latest RHEL5 kernel" link at http://wiki.openvz.org/Download/kernel/rhel5?
|
Quote:
http://wiki.openvz.org/Download/kern...2-feoktistov.1 |
The CentOS team ( and red hat devs) backport all the security patches from the latest 2.6 kernel to the one used in CentOS 5
but you are not using a CentOS kernel . You are using one built by OpenVZ so to update that one , you need to build it ( and that is not really an easy task ) At least for the first few times you build a kernel or do not use the OpenVZ kernel ( but that might not be an option ) I would start with studying the OpenVZ wiki http://wiki.openvz.org/Main_Page and really learn the container os that it is and study up on building a kernel and all that needs to go into it take a week or so and study up first non main stream OS's are -- shall we say " fun " |
Quote:
|
Quote:
|
re
i did , the op wants something newer than "2.6.18-308.8.2"
|
Hmm, OK. Then you may not have realized the link he posted was for a 2.6.32 kernel...
|
All times are GMT -5. The time now is 04:26 AM. |