Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Nov 2002
    Location
    All over!
    Posts
    452

    Default Kernel version 2.4.20-20.7smp

    I am running a kernel version 2.4.20-20.7smp & I would like to update it to the new one that just came out. Below are the instructions I successfully used in the past but since I have upgraded to a dual CPU. Could someone tweak the below set of instructions for me so they will work on a dual CPU server setup? Thanks in advance for the help!

    Upgrade kernal
    1) Data to decide what kernal is: cat /etc/grub.conf & ls -la /boot
    2) up2date --nox -f kernel (then reboot the server)
    3) SSH in &...
    cd /
    wget http://updates.redhat.com/7.3/en/os/...-18.7.i386.rpm
    rpm -i kernel-2.4.20-18.7.i386.rpm
    grub-install /dev/hda
    pico /etc/grub.conf
    change default=0 (single CPU)
    exit pico ctrl-x
    then reboot > shutdown -r now (Have someone look at the grub.conf before rebooting)
    uname -a to check kernel version
    Knowledge is Power!

  2. #2
    Member
    Join Date
    Dec 2001
    Posts
    1,558

    Default

    Ok, I am assuming from your post, that you are running redhat 7.* and grub.

    Here is what you do:

    If you are running redhat 7.3:
    wget http://updates.cpanel.net/redhat/updates/7.3/en/os/i686/kernel-smp-2.4.20-24.7.i686.rpm

    ( you want the SMP kernel for 2+ processors )

    rpm -ivh kernel-smp-2.4.20-24.7.i686.rpm

    ( this will install the kernel, not removing your old one )

    pico -w /etc/grub.conf ensure the new kernel details are present. If not, carefully insert them yourself.
    Change default to = 0 to load the first kernel in the list on next boot up.

    ctrl x and save the changes

    Cross your fingers and reboot ( shutdown -rf now ). If the server fails to come back after about 5 minutes max, call the DC and get them to plug into console and try and trouble shoot the errors or just boot to the old kernel.

    When the server comes back, I always run /scripts/upcp to ensure all needed rpms are installed.
    Beau Henderson

  3. #3
    Member
    Join Date
    Nov 2002
    Location
    All over!
    Posts
    452

    Default

    Thank you!

    Originally posted by iminteractive
    Ok, I am assuming from your post, that you are running redhat 7.* and grub.

    Here is what you do:

    If you are running redhat 7.3:
    wget http://updates.cpanel.net/redhat/upd...-24.7.i686.rpm

    ( you want the SMP kernel for 2+ processors )

    rpm -ivh kernel-smp-2.4.20-24.7.i686.rpm

    ( this will install the kernel, not removing your old one )

    pico -w /etc/grub.conf ensure the new kernel details are present. If not, carefully insert them yourself.
    Change default to = 0 to load the first kernel in the list on next boot up.

    ctrl x and save the changes

    Cross your fingers and reboot ( shutdown -rf now ). If the server fails to come back after about 5 minutes max, call the DC and get them to plug into console and try and trouble shoot the errors or just boot to the old kernel.

    When the server comes back, I always run /scripts/upcp to ensure all needed rpms are installed.
    Knowledge is Power!

Similar Threads & Tags
Similar threads

  1. Which Kernel Version should be used
    By mohit in forum Security
    Replies: 4
    Last Post: 03-07-2010, 09:24 AM
  2. Ssh and kernel version
    By black&white in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 09-25-2006, 09:22 AM
  3. Last kernel's version
    By black&white in forum New User Questions
    Replies: 1
    Last Post: 08-10-2004, 01:32 PM
  4. New kernerl version kernel-2.4.20-13.7
    By mitul in forum cPanel and WHM Discussions
    Replies: 20
    Last Post: 06-09-2003, 12:26 PM
  5. Upgrading kernel ok, but which version ?
    By Steven Van de Walle in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-03-2002, 09:16 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube