mauinet

Well-Known Member
Mar 2, 2004
55
2
158
Maui
Hello, I accidently installed the full cPanel when I wanted dnsonly. How do I uninstall cPanel or can I just reinstall dnsonly on top of it?

Thanks,
Tony
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
Hello, I accidently installed the full cPanel when I wanted dnsonly. How do I uninstall cPanel or can I just reinstall dnsonly on top of it?

Thanks,
Tony
You'll probably need to reload the server itself, there is no way to remove cPanel.
I agree with Infopro that the best course of action would be to perform an OS reload (e.g., format-and-reinstall) and then install the desired build for the intended use, such as cPanel DNSONLY.

Please note, however, that it is OK to use a full cPanel/WHM installation as a DNS server (e.g., with cPanel DNS Clustering as configured via WHM).

Related Documentation:
Guide to DNS Cluster Configuration
Nameserver Selection
DNS Functions
 

askapache

Registered
Jan 17, 2010
3
0
51
You'll probably need to reload the server itself, there is no way to remove cPanel.
Actually, it can be done in about 15 minutes from the shell. I uninstalled it and documented the steps and commands I used here.

Sometimes this is neccessary if you have to remove it but you are not able to reinstall the entire OS like with a VPS.
 

Infopro

Well-Known Member
May 20, 2003
17,091
516
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Actually, it can be done in about 15 minutes from the shell. I uninstalled it and documented the steps and commands I used /http://www.askapache.com/server-administration/uninstall-cpanel.html.

Sometimes this is neccessary if you have to remove it but you are not able to reinstall the entire OS like with a VPS.
Sounds like you had some fun, good for you. :p

And then in the first paragraph you take a unneeded dig at someone I guess.
they sure don’t seem confident that they know exactly what their code is doing
With time on your hands, you could probably do whatever is needed to remove cPanel and restore the system, yes sure you bet. A reload is by far faster though and is why you won't find much in the way of directions on uninstalling cPanel on google as your article mentions.

And yet you then go on to say:

I have a few drafts I’m working on at the moment with specifics, but for now you will have to figure it out with google.
And then you drop by the cPanel forums and post this article on how to remove cPanel in two separate threads, which in most cases would be useless to the average user here that runs cPanel.

If anyone actually ever reads this and does it, please share your advice here.. everybody knows we need it! Good Luck
You quoted my advice in your post just above, but my post was not precise enough so I'll add this one as well:

You'll probably should just reload the server itself, there is no easy way to remove cPanel and be sure you've done it properly...

Your article is more of an excercise than anything else, and it does sound like you had fun digging around wiping stuff piece by piece. But there's no need to take shots at cPanel in your article and then come post a link to it here.

An example of the sneakiness (from my POV, from most it’s called builtin robustness) that cpanel does is automagically adding crontab entries that make it behave similarly to a self-propagating virus. If you don’t disable the cronjobs and kill the right processes within a short period of time, be prepared for a magic resurrection.
A self-propagating virus? Really?


I'll just end my post with one more comment from you in your own article:

Also, you can’t just uninstall cpanel
Correct. Just reload the server, you're done in a few hours instead of 6 months of digging for files and evil crons.
 
  • Like
Reactions: cPanelDon

syslint

Well-Known Member
Verifed Vendor
Oct 9, 2006
268
7
168
India
cPanel Access Level
Root Administrator
Twitter
Yes exactly just reload the os . It will take only 30 minutes. Other wise you must need spend your vacation for doing this research :)