Page 1 of 1

how to uninstall zoneminder - to do a clean install ?

Posted: Tue Nov 15, 2005 6:40 pm
by phaksp
everythins is in the title ...

Posted: Wed Nov 16, 2005 12:03 am
by zoneminder
Essentially delete everything in your instal bin directory that starts with zm. e.g.

Code: Select all

rm /usr/local/bin/zm*
and then remove the web files

Code: Select all

rm -r /var/www/html/zm
rm /var/www/cgi-bin/*zms*
and finally drop the database

Code: Select all

mysql
> drop database zm;
> quit
I think that's all that comes to mind off the top of my head. You will have to change the paths to match your set up however.

Phil

Posted: Wed Nov 16, 2005 10:09 am
by zoneminder
Actually I've surprised myself as 'make uninstall' should pretty much work, if not then 'make -i uninstall'. The only things left might be zms and nph-zms in /var/www/cgi-bin (or whatever you have defined) and the directories under the zm web directory. You will have to manually delete those for now but Ive put some tweaks in the Makefile for future versions.

The database will still be left however and you will have to manually drop that and any users you may have created etc.

Phil

Posted: Fri Nov 25, 2005 7:41 am
by phaksp
thanks :) will use your tips

Posted: Fri Nov 25, 2005 7:43 am
by phaksp
amazing, make uninstall works fine on debian. thanks phil

nph-zms does not remain in /var/www/cgi-bin

Posted: Fri Nov 25, 2005 3:33 pm
by zoneminder
Good. Though I'm not trying to encourage people to uninstall ZM of course!

Phil

Posted: Fri Nov 25, 2005 4:23 pm
by phaksp
Smart monkeys wont uninstall this piece of art forever ;)

Posted: Fri Nov 25, 2005 4:50 pm
by jameswilson
great comment!!