Find the answer to your Linux question:
Results 1 to 7 of 7
Hello i want upgrade my linux kernel to 2.6.35 i use 2.6.18-194 Distributor ID: CentOS Description: CentOS release 5.5 (Final) Release: 5.5 Codename: Final please explain for me how i ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    bt4
    bt4 is offline
    Just Joined!
    Join Date
    Jan 2011
    Posts
    4

    Exclamation Upgrade kernel 2.6.18 to 2.6.35


    Hello
    i want upgrade my linux kernel to 2.6.35
    i use 2.6.18-194
    Distributor ID: CentOS
    Description: CentOS release 5.5 (Final)
    Release: 5.5
    Codename: Final

    please explain for me how i can upgrade?

    thanks

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Hello and welcome!

    If the kernel you want resides in your distro repositories, the easiest method of installing it would be to use YUM.

    Code:
    yum install package_name
    If it isn't in the repos, you can install it from source. Check the following kernel guide for building and installing kernels from source:

    Digital Hermit - Kernel-Build-HOWTO
    oz

  3. #3
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,391
    If you want to compile a custom kernel for centos, it can be done of course.

    But the points about centos/redhat are:
    - conservative
    - stable
    - certified
    - reliable environment

    May I ask, why you want a 2.6.35 kernel?

    fyi:
    rhes 6 has a 2.6.32,
    so centos 6 will also have this version once it is released.
    You must always face the curtain with a bow.

  4. #4
    bt4
    bt4 is offline
    Just Joined!
    Join Date
    Jan 2011
    Posts
    4
    i want to install this new kernel
    that is why on this kernel all bugs fixed
    and have a good secueity
    but on 2.6.18 nothing fixed its easy to hacked other website from one webiste
    now i want some easy explain how to get new kernel and how install

  5. #5
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,391
    It is reasonably safe to use the default kernel from centos/redhat, as bugfixes and backports are applied to these distributions.

    A Kernel Build HowTo doesnt get much simpler than the one posted by ozar.

    Additionally, redhat/centos include a lot of patches for various additional features and adjustments.
    At best, these would have to be applied to a custom kernel also. If at all applicable.
    You must always face the curtain with a bow.

  6. #6
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    i think a huge jump in kernel will be more trouble than its worth

    the glibc libraries may not even be sufficient on RHEL/CENTOS5 for such a new kernel

    2.6.18 kernel supplied by them is definitely safe, as was said before they take upstream security fixes and apply them to the kernel they provide

    you can rest assured that keeping up to date with yum will ensure that you are secure

  7. #7
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,572
    What coopstah13 said. A jump from 2.6.18 to 2.6.35 would require what effectively is an entirely new system. ALL of the non-kernel installed device drivers would have to be updated, all libraries, all applications. Basically, every bit of binary code in the system would have to be updated, reinstalled, recompiled, re-whatever. Does the expression "more trouble than it's worth" resonate here?

    That said, Red Hat (thus CentOS, Scientific Linux, Suse, et al) are very dilligent in applying fixes for security and other bugs to the kernels and other packages that they provide. Their enterprise customers who pay them big buck$ for support, would accept no less.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •