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.

question about updating centos after cpanel installation

Discussion in 'General Discussion' started by LAZer, Jun 24, 2010.

  1. LAZer

    LAZer Well-Known Member

    Joined:
    Jan 18, 2010
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    at net :D
    hi , i have a server in which i have centos 5.4 installed and cpanel is running fine.
    i want to update centos to centos 5.5 using #yum update
    will i loose anything ? or will cpanel gets into problem when updating centos files ? is it normal to update centos after cpanel installation or it is better that i dont update it ?

    thanks in advanced.
     
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    It should be fine

    cPanel adds packages that it manages to the exclude list in /etc/yum.conf, so yum will not overwrite packages that are controlled or configured by cPanel. Because of this, it is safe to update CentOS, especially with a relatively minor update (5.4 to 5.5). You should not have any problem if you update CentOS with an existing cPanel installation.
     
  3. furquan

    furquan Well-Known Member

    Joined:
    Jul 27, 2002
    Messages:
    425
    Likes Received:
    0
    Trophy Points:
    16
    This is an interesting topic, I would like to know if i can update my CentOS 4.8 to 5.5 by just running "yum" any advice on this or is it better left untouched ?

    Thank you
     
  4. LAZer

    LAZer Well-Known Member

    Joined:
    Jan 18, 2010
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    at net :D
    thanks

    hi thanks for the reply .


    root@server2 [~]# cat /etc/redhat-release
    CentOS release 5.4 (Final)


    i am going to update it :D

    # yum update --skip-broken
    ( kernel told me to use this command otherwise it couldnt continue updating )

    and here is the result after the update.


    root@server2 [~]# cat /etc/redhat-release
    CentOS release 5.5 (Final)


    CENTOS 5.5 x86_64 xen enterprise pv on server2

    evey thing seems to work fine yet :d
    thanks
     
  5. furquan

    furquan Well-Known Member

    Joined:
    Jul 27, 2002
    Messages:
    425
    Likes Received:
    0
    Trophy Points:
    16
    Hello Lazer :

    Can you just jot down, what exactly did you to do get the OS version updated ? How can one go about updating the server to the latest version without re-installing the new version ?

    Thank you
     
  6. LAZer

    LAZer Well-Known Member

    Joined:
    Jan 18, 2010
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    at net :D
    hi , i have written all the commands i have used step by step in my previos post here.

    my centos version was 5.4 , i used "yum update" and it is updated to 5.5.
     
  7. LAZer

    LAZer Well-Known Member

    Joined:
    Jan 18, 2010
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    at net :D
    question about Compiling a new custom kernel

    hi after successfull update of my centos this time i want to try having custom kernel . now my centos kernel is :

    # uname -a
    Linux server2 2.6.18-194.3.1.el5xen #1 SMP Thu May 13 13:49:53 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

    i want to use iotop program so that i can view and control io loads which my server is struggling with :( , but it needed python update , after so many searchs i could install python 2.6.5 , installed iotop , it runs and shows total io transfer rate but not per user or process . it says that these options should be enabled
    CONFIG_TASKSTATS
    CONFIG_TASK_DELAY_ACCT
    CONFIG_TASK_IO_ACCOUNTING

    i have looked my boot configuration file at :
    /boot/config-2.6.18-194.3.1.el5xen

    and they were active .

    CONFIG_TASKSTATS=y
    CONFIG_TASK_DELAY_ACCT=y
    CONFIG_TASK_IO_ACCOUNTING=y

    but iotop returns that they are disable !

    in a tutorial for it i found that newer kernels may fix the problem , and i must compile a new kernel rpm with configurations that i need .

    iotop, your best friend when LED of HD stays on | Fogo na Caixa dAgua
    Compilando kernel no Linux CentOS 5.3 / Red Hat 5.3 | Fogo na Caixa dAgua


    also yum donot detect any newer update for my xen kernel.
    # yum install kernel-xen-devel
    # yum update
    # yum upgrade yum

    , i have downloaded latest linux kernel , linux-2.6.34.tar.bz2 , and i have done some steps of that tutorial for test and it worked fine . but i havent upgraded the kernel . now i have the fear if i do update kernel after installing cpanel , and also when my kernel is xen based ( this is a linux vps of mine inside my dedicated server - virtualization is citrix xen center), will the vps become corrupted by changing the kernel this way ?
    thanks in advanced...
     
  8. Miraenda

    Miraenda Well-Known Member

    Joined:
    Jul 28, 2004
    Messages:
    242
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Coralville, Iowa USA
    The best authority to contact here would be your VPS provider. They provide the kernels for their VPS machines, so I really don't suggest upgrading without their assistance in this instance. The VPS provider is the best source for these questions.
     
Loading...

Share This Page