Results 1 to 8 of 8

Thread: How to uninstall cPanel and WHM safely from linux ?

  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    1

    Default How to uninstall cPanel and WHM safely from linux ?

    Hi ...

    I have a server which is already has the cPanel and the WHM installed in it.
    And my work require another application server ..
    so I need to uninstall cPanel and WHM from the linux based server safely without any conflict ... like stopping all the services and so on ...
    I tried to Google this but found nothing .

    best regards

  2. #2
    Member
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    1,052

    Default

    In short "Not Possible". cPanel makes quite a lot of permission/ownership and other changes to OS files which makes it difficult to bring the server back to it's original state (i.e. before cPanel was installed). The only way you can get rid of cPanel from your server is to re-install your server.

  3. #3
    Member vheeds's Avatar
    Join Date
    Feb 2010
    Posts
    13

    Default

    Unfortunately, there is no way to uninstall CPanel. Its very hard to remove services, daemons and compiled binaries. I would recommend to perform the Os reload and then start it from scratch.
    VHeeds.com ► A Quality WebHosting and Datacenter support.
    Exclusive Offer! Serv-Hardening - $ 20 only | Dedicated Server support - $500 only |Contact us today and avail these offers.

  4. #4
    Registered User
    Join Date
    Jan 2010
    Posts
    3

    Default

    Quote Originally Posted by madaboutlinux View Post
    In short "Not Possible". cPanel makes quite a lot of permission/ownership and other changes to OS files which makes it difficult to bring the server back to it's original state (i.e. before cPanel was installed). The only way you can get rid of cPanel from your server is to re-install your server.
    madaboutlinux, it can be done, but it is very difficult and extremely dangerous unless you really know linux. I was successful and posted the commands I used to do it on askapache.com if you want a starting point. Especially cool are the commands to locate files owned/modified by cpanel using find.

  5. #5
    Registered User
    Join Date
    Jan 2010
    Posts
    3

    Default

    I can't stress enough though how bad of an idea it is to uninstall cpanel manually like that, reinstalling the OS is 1000x better. And you should think long and hard about whether removing cpanel is a good idea, and once you uninstall you are upstream without a paddle unless you really know your stuff (CSF, Iptables, Bind, Apache, MySql, PHP, Perl, Python, manual software compiling, etc..).

  6. #6
    Registered User
    Join Date
    Jun 2010
    Posts
    1

    Default

    No way man just you need reload OS

  7. #7
    Member linux7802's Avatar
    Join Date
    Dec 2007
    Posts
    232
    cPanel/WHM Access Level

    Root Administrator

    Default

    There is no such procedure of removing the cPanel.Its better if you reload OS and If you don't want to reload OS then follow the steps:

    1) Delete all the directory and contents of /usr/local/cpanel & /scripts
    2) Remove all cPanel startup scripts
    3) Kill all cPanel related processes
    4) Reconfigure remaining modules/applications which like to continue to use such as Apache, BIND etc.

  8. #8
    Registered User
    Join Date
    Aug 2010
    Posts
    1

    Thumbs down Found a good tutorial for doing it...

    looks quite complete and professional:
    HOWTO: Uninstall CPANEL over SSH

    I was searching for a way to remove it, too. Completely sucks if you want to build a lightweight web app server.

    For resellers it may be a great solution, but for developers a pain. EasyApache install is so damn timeconsuming because it failed on my server with 2 GB RAM and 100GB HDD space. Awesome.

    And all the good features are so completely chaotic. I get confused when trying to see a concept behind that. Looks more like a bunch of together smashed code from some guys wanting to make some fast buck.

Similar Threads

  1. cPanel/WHM and Ubuntu Linux
    By Tiesto in forum New User Questions
    Replies: 2
    Last Post: 08-30-2011, 04:48 PM
  2. How to uninstall cPanel add-ons in WHM?!?
    By kikizuni in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 10-21-2010, 01:21 PM
  3. How to uninstall cpanel / whm and addons
    By open-pro in forum New User Questions
    Replies: 1
    Last Post: 07-05-2007, 03:11 AM
  4. How to uninstall cPanel/WHM?
    By acer2k in forum cPanel & WHM Discussions
    Replies: 9
    Last Post: 09-29-2006, 12:31 AM
  5. Safely uninstall scripts
    By Necroist in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 08-19-2004, 03:22 PM

Tags for this Thread