how to uninstall zoneminder - to do a clean install ?

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
phaksp
Posts: 30
Joined: Wed Oct 26, 2005 9:57 am
Contact:

how to uninstall zoneminder - to do a clean install ?

Post by phaksp »

everythins is in the title ...
Regards,
Sophak
-------------------------------------------------------
Debian stable 2.6.8-4-k7 kernel - logitech pro 4000 X 3 - zoneminder 1.21.3

Learning Php / Mysql / Java /
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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
User avatar
phaksp
Posts: 30
Joined: Wed Oct 26, 2005 9:57 am
Contact:

Post by phaksp »

thanks :) will use your tips
Regards,
Sophak
-------------------------------------------------------
Debian stable 2.6.8-4-k7 kernel - logitech pro 4000 X 3 - zoneminder 1.21.3

Learning Php / Mysql / Java /
User avatar
phaksp
Posts: 30
Joined: Wed Oct 26, 2005 9:57 am
Contact:

Post by phaksp »

amazing, make uninstall works fine on debian. thanks phil

nph-zms does not remain in /var/www/cgi-bin
Regards,
Sophak
-------------------------------------------------------
Debian stable 2.6.8-4-k7 kernel - logitech pro 4000 X 3 - zoneminder 1.21.3

Learning Php / Mysql / Java /
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Good. Though I'm not trying to encourage people to uninstall ZM of course!

Phil
User avatar
phaksp
Posts: 30
Joined: Wed Oct 26, 2005 9:57 am
Contact:

Post by phaksp »

Smart monkeys wont uninstall this piece of art forever ;)
Regards,
Sophak
-------------------------------------------------------
Debian stable 2.6.8-4-k7 kernel - logitech pro 4000 X 3 - zoneminder 1.21.3

Learning Php / Mysql / Java /
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

great comment!!
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Locked