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.

OS Updates before installing

Discussion in 'Database Discussions' started by optikfiberz, Aug 20, 2007.

  1. optikfiberz

    optikfiberz Member

    Joined:
    Nov 2, 2006
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Hey guys,

    This is a bit of a n00b post.. but here goes:

    I'm a long time Debian user, and recently decided to purchase and install RHEL4 onto a new server so we can run CPanel.

    Anyway, my question is, in debian, `apt-get update` and then `apt-get upgrade` is normally what one would do to update all installed packages.

    After a clean sleight install of RHEL4, should one run a similar sort of command before installing CPanel?

    Is the correct way to install updates - to do so through the account system at rhn.redhat.com ?

    After the CPanel installation, should all OS updates be stopped - as cpanel makes some fairly significant OS changes that you wouldn't want to mess with ? Also, are there any issues with compiling a classic kernel?

    Thanks.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Easiest way to go is to check your Update config in WHM. Top of left menu. Set these all to Manual for the moment and save. Scroll down left menu to cPanel section and click upgrade to latest version. Then check the output when complete to see whats upgraded and whats skipped. That should be somewhat helpful I think.

    Next stop might be to install this firewall. http://www.configserver.com/cp/csf.html

    Once completed, click the Security Check feature in CSF for some tips on a few things you should disable. Very helpful that tool is. :)
     
  3. optikfiberz

    optikfiberz Member

    Joined:
    Nov 2, 2006
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the reply Infopro, but I managed to work things out. For others:

    the equivalent of `apt-get upgrade` is `up2date -u`.

    Also, for those that did a reformat, which I had to do, to repartition things, make sure you remove your old system from the RHN database. Full instructions here: https://rhn.redhat.com/help/faq/all_faqs.pxt#26.
     
  4. optikfiberz

    optikfiberz Member

    Joined:
    Nov 2, 2006
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Ok, managed to get cpanel installed all good and fine.

    The question is, should we ever run up2date again - i.e. to get critical updates from RHN - or does cpanel handle all of this (except for the kernel)?
     
  5. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    cPanel/WHM actually uses your distribution's own updating mechanism to handle software updates.
     
  6. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    If you have cPanel configured for automatic updates, then each night, the upcp process will run. During the upcp process, up2date is called. By default kernel related RPMs are excluded from this automatic update.
     

Share This Page