The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

RedHat Enterprise upgrade!

Discussion in 'General Discussion' started by adapter, May 25, 2005.

  1. adapter

    adapter Well-Known Member
    PartnerNOC

    Joined:
    Sep 17, 2003
    Messages:
    391
    Likes Received:
    0
    Trophy Points:
    16
    Hi

    i use RHEL3 on my server, to upgrade all the server package i need to run only?

    /scripts/sysup
    /scripts/rpmup

    or i need to lanch from ssh up2date?
     
  2. Blue|Fusion

    Blue|Fusion Well-Known Member

    Joined:
    Sep 12, 2004
    Messages:
    378
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Cleveland, Ohio
    You should login to SSH and run up2date -u and update your kernel as necessary with up2date -uf kernel OR kernel-smp (you may also need to update kernel-utils, kernel-source, etc.)
     
  3. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    redhat-release is commonly missed as well. Check your up2date config and ensure you're on the latest update 5 as well. New kernels have been made available to fix some serious issues.
     
  4. adapter

    adapter Well-Known Member
    PartnerNOC

    Joined:
    Sep 17, 2003
    Messages:
    391
    Likes Received:
    0
    Trophy Points:
    16
    hi

    i upgrade my kernel from source, so i only need to upgrade my rpm, for this i need to run only up2date -u? this step dont will upgrade also my kernel? ( i dont want) up2date -u will upgrade only the packages that i have install?

    thank you
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    If you run the following you will see what would be installed:

    up2date -l

    If you want to skip certain modules make sure you have configured your pkgskiplist in:

    up2date --config

    You can get lists of apps to skip by searching the forum for pkgskiplist. You'll possibly have to add mod_utils* to that list if you compile your own kernel.
     
  6. adapter

    adapter Well-Known Member
    PartnerNOC

    Joined:
    Sep 17, 2003
    Messages:
    391
    Likes Received:
    0
    Trophy Points:
    16
    ok many thanks, but so if i run sysup and rpmup not is the same to run up2date?
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Not always. They only generally update what cPanel itself needs and may not include other apps that your OS needs.
     
  8. adapter

    adapter Well-Known Member
    PartnerNOC

    Joined:
    Sep 17, 2003
    Messages:
    391
    Likes Received:
    0
    Trophy Points:
    16
    ok thanks, i have look on it but in option 9 i have

    9. pkgSkipList ['kernel*', 'spamassassin*', 'httpd*', 'perl', 'mysql*',

    i dont want kernel upgrade bcs i do it myself from source, also for Mysql and apache if i use this option the server will upgrade to the latest software version? example i use now mysql 4.0.23 if i run up2date i will get the mysql 4.1?


    thank u
     
  9. adapter

    adapter Well-Known Member
    PartnerNOC

    Joined:
    Sep 17, 2003
    Messages:
    391
    Likes Received:
    0
    Trophy Points:
    16
    up2date -l


    The following Packages were marked to be skipped by your configuration:

    Name Version Rel Reason
    -------------------------------------------------------------------------------
    kernel 2.4.21 32.0.1.ELPkg name/pattern
    kernel-smp 2.4.21 32.0.1.ELPkg name/pattern
    kernel-utils 2.4 8.37.12Pkg name/pattern
    hwdata 0.101.17 1 Config modified
    redhat-release 3ES 13.5.1Config modified
     
Loading...

Share This Page