Results 1 to 21 of 21
  1. #1
    Join Date
    Feb 2011
    Posts
    76

    update and rebuild CentOS kernel

    Hi

    I want to update and rebuild the kernel to my server to the Latest Stable Kernel that are compatible with my server and works without problems and thank you



    [email protected] [~]# uname -r
    2.6.18-194.32.1.el5

    [email protected] [~]# uname -a
    Linux server.xxx.com 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

  2. #2
    Join Date
    Nov 2006
    Location
    Karachi, Pakistan
    Posts
    1,349
    Ok I'll get right on it. Anything else I can do for you?

  3. #3
    Join Date
    Feb 2011
    Posts
    76
    now just thie issu but please would you give me a way with the best settings for best security ?

    thanx bro

  4. #4
    If it is not a custom kernel, you can update it using yum update command

  5. #5
    Join Date
    Feb 2011
    Posts
    76
    what is the right command ? I use
    yum update kernel
    but same thing there is nothing changed

  6. #6
    Join Date
    May 2007
    Posts
    35
    You have the latest official CentOS kernel as of today. If you want a more recent version, look into the elrepo.org kernels, which are RPMs of the various Linux kernels from kernel.org.

  7. #7
    Join Date
    Sep 2008
    Location
    Spain
    Posts
    38
    Quote Originally Posted by no one View Post
    what is the right command ? I use
    yum update kernel
    but same thing there is nothing changed
    If you use:
    Code:
    yum update
    That should update your system's software to the latest version.

  8. #8
    Join Date
    Feb 2011
    Posts
    76
    when you access to kernel.org you can see Latest Stable Kernel is 2.6.38.1 but my server kernel is 2.6.18

    I use yum update
    and
    yum update kernel
    and
    reboot

    but nothing chanched

  9. #9
    Join Date
    Sep 2010
    Location
    /usr/bin/fail
    Posts
    858
    you might want to check your grub.conf and make sure that the server is set to boot with the correct kernel if indeed it did update.

  10. #10
    Join Date
    Feb 2011
    Posts
    76
    do you meen deafult=0 ?

  11. #11
    Join Date
    Sep 2010
    Location
    home
    Posts
    515
    what does

    cat /etc/grub.conf

    show

  12. #12
    Join Date
    Feb 2011
    Posts
    76
    [email protected] [~]# cat /etc/grub.conf
    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE: You have a /boot partition. This means that
    # all kernel and initrd paths are relative to /boot/, eg.
    # root (hd0,0)
    # kernel /vmlinuz-version ro root=/dev/sda5
    # initrd /initrd-version.img
    #boot=/dev/sda
    default=0
    timeout=5
    splashimage=(hd0,0)/grub/splash.xpm.gz
    hiddenmenu
    title CentOS (2.6.18-194.32.1.el5)
    root (hd0,0)
    kernel /vmlinuz-2.6.18-194.32.1.el5 ro root=LABEL=/ rhgb quiet
    initrd /initrd-2.6.18-194.32.1.el5.img
    title CentOS (2.6.18-194.el5)
    root (hd0,0)
    kernel /vmlinuz-2.6.18-194.el5 ro root=LABEL=/ rhgb quiet
    initrd /initrd-2.6.18-194.el5.img
    [email protected] [~]#


    [email protected] [~]# cat /etc/yum.conf
    [main]
    exclude=apache* httpd* mod_ssl* php*
    cachedir=/var/cache/yum
    keepcache=0
    debuglevel=2
    logfile=/var/log/yum.log
    distroverpkg=redhat-release
    tolerant=1
    exactarch=1
    obsoletes=1
    gpgcheck=1
    plugins=1

    # Note: yum-RHN-plugin doesn't honor this.
    metadata_expire=1h

    # Default.
    # installonly_limit = 3

    # PUT YOUR REPOS HERE OR IN separate files named file.repo
    # in /etc/yum.repos.d
    [email protected] [~]#

  13. #13
    2.6.18.x.x is default kernel provided by CentOS. However, you can compile 2.6.38 but you might face kernel panic if customize is not done correctly. Better stay with default kernel 2.6.18.x.x
    sshVM.com - unmanaged Affordable VPS
    Follow us on Twitter - @sshVM

  14. #14
    Join Date
    Feb 2011
    Posts
    76
    ok sshvm thanx very much for your explanation i understand now why show to me 2011 with old version

    thanx agin

    by

  15. #15
    Join Date
    Dec 2010
    Location
    surabaya, indonesia
    Posts
    135
    if yum update kernel not work again, u must manual update ur kernel but u must carefully

  16. #16
    Join Date
    May 2006
    Location
    NJ, USA
    Posts
    6,456
    centos uses 2.6.18. it backports all the newest fixes, so it is secure.

    please do not pm me asking for help, etc.
    simplywww: directadmin and cpanel hosting that will rock your socks
    Need some work done in a datacenter in the NYC area? NYC Remote Hands can do it.

    Follow my "deals" Twitter for hardware specials.. @dougysdeals

  17. #17
    Join Date
    Feb 2011
    Posts
    76
    Quote Originally Posted by Dougy View Post
    please do not pm me asking for help, etc.
    Hi .. thanx man but I don,t PM u ???

  18. #18
    Join Date
    Mar 2011
    Posts
    93
    Quote Originally Posted by no one View Post
    Hi .. thanx man but I don,t PM u ???
    He was proactive - so folks won't PM him.

  19. #19
    Join Date
    May 2006
    Location
    NJ, USA
    Posts
    6,456
    Quote Originally Posted by sysadmsrv View Post
    He was proactive - so folks won't PM him.
    right.. i just dont want people reading this thread who are nervous about an 'old kernel' like you to pm me.. not saying you pm'd me
    simplywww: directadmin and cpanel hosting that will rock your socks
    Need some work done in a datacenter in the NYC area? NYC Remote Hands can do it.

    Follow my "deals" Twitter for hardware specials.. @dougysdeals

  20. #20
    Join Date
    Mar 2011
    Posts
    31
    first use this command : yum upgrade yum -y
    and after that : yum upgrade -y
    www.selectbackup.com
    Cheap and stable Backup service
    FTP Access/SSH Access/Rsync Technology/Unlimited Bw

  21. #21
    Join Date
    Sep 2008
    Location
    Spain
    Posts
    38
    Quote Originally Posted by Dougy View Post
    right.. i just dont want people reading this thread who are nervous about an 'old kernel' like you to pm me.. not saying you pm'd me
    I see you're a DirectAdmin fan as well. Glad to see some "sponsoring" in there

Similar Threads

  1. Kernel Update Needed For Centos 5
    By LENOVOhost in forum Hosting Security and Technology
    Replies: 8
    Last Post: 11-02-2009, 01:20 AM
  2. HOWTO: CentOS issue .. Kernel update - SAS drive
    By ASVJSC in forum Hosting Security and Technology
    Replies: 2
    Last Post: 04-19-2008, 11:49 PM
  3. CentOS kernel update - [beginning at post #6]
    By mouseketrips in forum Hosting Security and Technology Tutorials
    Replies: 132
    Last Post: 06-19-2007, 07:39 AM
  4. Centos 3.x Kernel update.
    By host4good in forum Hosting Security and Technology
    Replies: 6
    Last Post: 09-15-2006, 12:55 AM
  5. Kernel Update on Centos 4.2
    By Serverplan in forum Hosting Security and Technology
    Replies: 8
    Last Post: 11-15-2005, 12:39 AM

Posting Permissions

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