Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Jan 2005
    Posts
    8

    Default Updating CentOS Server

    I have a CentOS 4.2 server with CPanel installed.
    I just wanted to make sure if it is appropriate to update CentOS using this commnad:

    yum -y update

    Or is there any CPanel script that could be run in order to update the operating system.

    Thanks.

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    That should do it. Do check, though, that you have an exclude list in /etc/yum.conf similar to:
    Code:
    exclude=courier* mysql* spamassassin* httpd* perl mysql* php* mod_ssl* imap* squirrelmail* caching-nameserver* exim* apache* kernel*
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member dave9000's Avatar
    Join Date
    Apr 2003
    Location
    arkansas
    Posts
    891
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Question

    Why would you want to exclude the kernel from the auto update on CentOS ?
    Dave Browning
    Intersite Technologies
    Greenbrier Ar
    dave@isitetech.com

  4. #4
    Member
    Join Date
    Dec 2005
    Posts
    19

    Default

    Hello - I have similar questions with CentOS...

    I want to make sure everything all software is current and up to date and security patches applied but I'm confused as to if I should use yum or the updates in Cpanel or both. What does Cpanel handle and what do I need to do manually?

  5. #5
    Member dave9000's Avatar
    Join Date
    Apr 2003
    Location
    arkansas
    Posts
    891
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    /scripts/upcp will handle everything except the kernel,apache,php and assoc modules

    yum install kernel or kernel-smp for the kernel

    and /scripts/easyapache to update apache,php and assoc modules


    and if you need to update perl there is a update installer for perl5.8.7 locate at layer1.cpanel.net

    and as a personal preference I removed kernel* exclusion from the yum.conf so that a cpanel update will update the kernel also (use at your own risk)
    Dave Browning
    Intersite Technologies
    Greenbrier Ar
    dave@isitetech.com

  6. #6
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Quote Originally Posted by dave9000
    Question

    Why would you want to exclude the kernel from the auto update on CentOS ?
    Simply so that you can control when this happens and reboot the server at your convenience. There's always a risk with a new kernel that your server becomes unbootable, so it is usually nice to know that if you have to reboot your server (e.g. a power failure) then you know whether it will try and come up on a new kernel. If you have the kernel upgrading automatically, it could be pot luck as to when the new kernel will be introduced.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  7. #7
    Member dave9000's Avatar
    Join Date
    Apr 2003
    Location
    arkansas
    Posts
    891
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Good point

    I am always where I have console access so never worried about it but you do have a valid point there
    Dave Browning
    Intersite Technologies
    Greenbrier Ar
    dave@isitetech.com

Similar Threads & Tags
Similar threads

  1. question about updating centos after cpanel installation
    By LAZer in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 07-12-2010, 03:30 PM
  2. Updating to CentOS 5.3
    By h0tmailz in forum cPanel and WHM Discussions
    Replies: 17
    Last Post: 06-14-2010, 03:31 AM
  3. CentOS 4.5 or 5.0 on new server?
    By Bdzzld in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-08-2007, 09:19 AM
  4. Centos 4.4 server CD
    By 4u123 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-26-2006, 02:10 PM
  5. Problem after updating to CentOS 4.4 !
    By bsasninja in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-12-2006, 06:24 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube