Uninstall FOG
-
I’m considering performing a complete uninstallation of FOG trunk on a naughty server, but the wiki article for uninstalling FOG is a bit dated.
What would the latest, greatest method be ?
-
Nuke and pave the OS is probably the cleanest solution. FOG twists it self around the OS pretty tightly.
What’s going wrong? It maybe just as easy to drop the FOG database from the SQL remove the fog folder from /var/html/fog server and then reinstall. That will leave all of the services and installation packages in place, but reset the FOG configuration.
-
It’s a physically remote server that I’ve detailed my travails in build 7102 ‘Backing up database … failed’ .
For posterity, what are the precise commands you are suggesting for?
- drop the FOG database from the SQL
- remove the fog folder from /var/html/fog server
Given that it’s running on CentoS 7.
Do I not need to stop services, startups at all?
-
I also vote to nuke and pave.
-
I’ve always preferred `nuke the site from orbit’, but in this case I’m trying to avoid it.
-
Not quite an uninstall but it did the trick for what I wanted.
mysql -u root -p DROP DATABASE fog; mv /opt/fog /opt/fog.old