Changes

From SME Server
Jump to navigationJump to search
1,190 bytes added ,  15:27, 6 January 2016
m
Uninstall
Line 72: Line 72:  
  signal-event webapps-update
 
  signal-event webapps-update
 
to activate all changes. Now you can reach your zoneminder portal at https://cctv.myserver.com
 
to activate all changes. Now you can reach your zoneminder portal at https://cctv.myserver.com
 +
 +
==Uninstall==
 +
To uninstall Zoneminder and all it's dependencies, we will use the yum history to uninstall all dependencies that came with the initial installation, but are no longer required as we remove Zoneminder. Stop Zoneminder:
 +
service zoneminder stop
 +
 +
First we need to check the yum transaction ID that installed Zoneminder. As root issue:
 +
yum history package-info zoneminder
 +
the result is all yum knows about the Zoneminder package. We are interested in the '''Transaction ID'''.
 +
Next we uninstall Zoneminder and all it's dependencies based on the number of the Transaction ID:
 +
yum history undo '''Transaction ID number'''
 +
and confirm the uninstallation of Zoneminder and all dependencies.
 +
 +
Then we need to remove the custom template, the symlink that we created to start Zoneminder at boot and the subdomain that we may have created:
 +
rm -f /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/98zoneminder
 +
rm -f /etc/rc7.d/S98zoneminder
 +
db domains delete cctv.myserver.com
 +
 +
 +
Now to cleanup everything you may want to perform the usual post-upgrade and reboot events.
 +
 +
 +
All that is left is the MySQL database '''zm''' and the logfiles. It's up to you what to do with them.

Navigation menu