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.

If it ain't broke...

Discussion in 'General Discussion' started by tmallardi, Mar 25, 2006.

  1. tmallardi

    tmallardi Well-Known Member

    Joined:
    Jan 18, 2005
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    El Paso, TX
    Just over a year ago, I migrated to a dedicate server prebundled with Cpanel. I am set to Automatic Release tree. Other than adding RBLs to Exim, I have not tweaked anything on this server.

    I'm curious to know if should consider any updates at this time? My concern is that if I continue on "auto-pilot" so to speak, will I eventualy find myself in a difficult situation in terms of the kernel, MySQL etc.

    Some of my current versions are as follows:

    Kernel: 2.6.10-1.771_FC2
    MySQL: 4.0.25-0
    Apache: 1.3.33

    I don't have a very strong Linux background, which is why I'm on cPanel. I'd very much appreciate any comments regarding the need for updating, outside of cPanels auto updates.

    thanks,
    Tim
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    cPanel's nightly run of /scripts/upcp should sort out most updates. /scripts/upcp should run yum for you each night which should handle most OS apps for you.

    Since you're on FC2, you'd need to change your update mirrors on /etc/yum.conf. FC2 died some months ago and since then it's being maintained by the Fedora Legacy Project.

    You should follow their guide for updating /etc/yum.conf to ensure that you're getting all the OS updates you should.

    http://fedoralegacy.org/
    http://fedoralegacy.org/docs/yum-fc2.php
     
  3. tmallardi

    tmallardi Well-Known Member

    Joined:
    Jan 18, 2005
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    El Paso, TX
    (This is a bit lower level than I'm used to...)

    Here's my current /etc/yum.conf.

    There's quite a difference from mine versus the one listed on http://fedoralegacy.org/docs/yum-fc2.php

    Should I make mine match theirs exactly, except for retaining my "exclude" line?


    thanks



    -------------------------------------------------------------------------
    [main]
    exclude=courier* apache* mod_ssl* httpd* perl mysql* php* spamassassin* kernel* exim*
    cachedir=/var/cache/yum
    debuglevel=2
    logfile=/var/log/yum.log
    pkgpolicy=newest
    distroverpkg=fedora-release
    tolerant=1
    exactarch=1
    retries=20

    [base]
    name=Fedora Core - - Base
    baseurl=ftp://ftp.linux.ncsu.edu/pub/fedora/linux/core/$releasever/$basearch/os/
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/

    [updates-released]
    name=Fedora Core - - Released Updates
    baseurl=ftp://ftp.linux.ncsu.edu/pub/fedora/linux/core/updates/$releasever/$basearch/
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/

    #[updates-testing]
    #name=Fedora Core - - Unreleased Updates
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/
     
  4. tmallardi

    tmallardi Well-Known Member

    Joined:
    Jan 18, 2005
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    El Paso, TX
    For anyone else who may use this thread in the future, I made the following changes in my /etc/yum.conf file.

    [main]
    distroverpkg=redhat-release

    [base]
    name=Fedora Core $releasever - Base
    baseurl=http://download.fedoralegacy.org/fedora/$releasever/os/$basearch

    [updates]
    name=Fedora Core $releasever updates
    baseurl=http://download.fedoralegacy.org/fedora/$releasever/updates/$basearch

    [legacy-utils]
    name=Fedora Legacy utilities for Fedora Core $releasever
    baseurl=http://download.fedoralegacy.org/fedora/$releasever/legacy-utils/$basearch


    Everything appears to working fine now.
     
Loading...

Share This Page