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.

Removing cPanel

Discussion in 'General Discussion' started by tabogal, Oct 15, 2006.

  1. tabogal

    tabogal Registered

    Joined:
    Oct 15, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hi, I know it's not very good to ask how I can remove cPanel. But I do not know how to use it and it is really causing me alot of problems. And the worst part of all is that, I just got cPanel installed without knowing when it was done so! I presume it must be tied to some software. Therefore, would appreciate help if someone could help me by telling me how to remove cPanel? And how can I find the cPanel folder on my PC? Cuz i can't seem to see any folder associated with it.

    Many thanks in advance...
     
  2. mrcbrown

    mrcbrown Well-Known Member

    Joined:
    Jun 5, 2003
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    6
    If it's a new server at a datacenter, clarify your order, if you just wanted plain linux, I am sure they can give you a clean install without cPanel.
     
  3. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    It is not possible to uninstall the cPanel since it, in effect, becomes part of the operating system. It is, however, possible to reinstall cPanel on top of your current installation, which may correct any issues you are currently trying to fix.

    Unfortunately, there is no official un-installation procedure - the quickest method is to reinstall your server from scratch with your operating system / control panel software of choice.
     
  4. procam

    procam Well-Known Member

    Joined:
    Nov 24, 2003
    Messages:
    123
    Likes Received:
    0
    Trophy Points:
    16
    :rolleyes:
     
  5. carluk

    carluk Well-Known Member

    Joined:
    Sep 2, 2003
    Messages:
    162
    Likes Received:
    0
    Trophy Points:
    16
    I wouldn't suggest this as a clean OS install would probably be the best idea.

    please be aware that running the below means cpanel will be gone, dust, dead, burned, no more etc etc - ALSO NOTE YOUR USING THIS AT YOUR OWN RISK.
    Code:
    service cpanel stop; \
    rm -rf /usr/local/cpanel; \
    rm -rf /var/cpanel; \
    rm -rf /scripts; \
    rm -rf /usr/local/cpanel-rollback; \
    rm -rf /home/cptmp; \
    rm -rf /home/cprestore; \
    rm -rf /home/cpbuildapache; \
    rm -rf /home/cpmove-*; \
    rm -rf /etc/cpanelsync.exclude; \
    rm -rf /etc/cpbackup.conf; \
    rm -rf /etc/cpbackup.public.conf; \
    rm -rf /etc/cpupdate.conf; \
    rm -rf /root/cpanel3-skel; \
    rm -rf /root/.cpanel-datastore; \
    rm -rf /root/.accesshash; \
    userdel cpanel; \
    groupdel cpanel
    
     
    #5 carluk, Oct 17, 2006
    Last edited: Oct 17, 2006
  6. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    That does not cover eveything though, there are other points of intergration that are involved as well.
     
  7. carluk

    carluk Well-Known Member

    Joined:
    Sep 2, 2003
    Messages:
    162
    Likes Received:
    0
    Trophy Points:
    16
    I haven't finished editing my post as of yet, when I have gotten another spare 1 minute I will check and add the rest.
     
  8. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    That won't work, period. The cPanel is intgerated and part of the system. Deleting these directories and/or other directoreis/files will also delete vital files needed by the OS. You'll end up with unstable system. The best way is to format the HD and start over.
     
  9. rsaylor

    rsaylor Well-Known Member

    Joined:
    Mar 27, 2003
    Messages:
    160
    Likes Received:
    1
    Trophy Points:
    18
    I have to agree, a clean install is best. The time it would take to try to clean cpanel off a server would end up spending you more time then it would to re-install.
     
  10. carluk

    carluk Well-Known Member

    Joined:
    Sep 2, 2003
    Messages:
    162
    Likes Received:
    0
    Trophy Points:
    16
    I've done it once before on a test box with a few other things removed first. I can assure you it worked and the system didn't become unstable. Also I am not sure if you missed my suggestion that a clean format is the best idea?
     
Loading...

Share This Page