Difference between revisions of "Uninstall FOG"
m |
m (→Remove FOG Completely) |
||
Line 17: | Line 17: | ||
#Remove files | #Remove files | ||
− | sudo rm -rf /var/www/fog | + | sudo rm -rf /var/www/fog |
− | sudo rm -rf /opt/fog | + | sudo rm -rf /var/www/html/fog |
− | sudo rm -rf /tftpboot | + | sudo rm -rf /opt/fog |
− | sudo rm -rf /images | + | sudo rm -rf /tftpboot |
+ | sudo rm -rf /images | ||
#delete fog system user | #delete fog system user | ||
sudo userdel fog | sudo userdel fog | ||
</pre> | </pre> |
Revision as of 17:35, 10 October 2016
Rerun the Installer
If you simply want to run the foginstaller.sh to update your FOG server settings, rename the hidden .fogsettings file located under /opt/fog/:sudo mv /opt/fog/.fogsettings /opt/fog/fogsettings-firstInstall
Remove FOG Completely
If you want to remove all services, blank the database, delete all files/folders associated with FOG and remove the fog user account:#Uninstall FOG #remove service sudo rm /etc/init.d/FOGImageReplicator sudo rm /etc/init.d/FOGMulticastManager sudo rm /etc/init.d/FOGScheduler #delete fog database sudo mysql #(or 'sudo mysql -p' if you set a root password for mysql) drop database fog; quit #Remove files sudo rm -rf /var/www/fog sudo rm -rf /var/www/html/fog sudo rm -rf /opt/fog sudo rm -rf /tftpboot sudo rm -rf /images #delete fog system user sudo userdel fog