tabogal

Registered
Oct 15, 2006
1
0
151
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...
 

mrcbrown

Well-Known Member
Jun 5, 2003
99
1
168
tabogal said:
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...
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.
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
Minneapolis, MN
tabogal said:
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.
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.
 

procam

Well-Known Member
Nov 24, 2003
121
0
166
tabogal said:
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...
:rolleyes:
 

carluk

Well-Known Member
Sep 2, 2003
161
0
166
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
 
Last edited:

carluk

Well-Known Member
Sep 2, 2003
161
0
166
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.
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
Minneapolis, MN
carluk said:
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.
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.
 

rsaylor

Well-Known Member
Mar 27, 2003
160
1
168
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.
 

carluk

Well-Known Member
Sep 2, 2003
161
0
166
AndyReed said:
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.
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?