zoneminder/distros/debian_cmake
SteveGilvarry 20c295ad0c Merge remote-tracking branch 'upstream/master' into feature-plugins
Conflicts:
	.travis.yml
	CMakeLists.txt
	Makefile.am
	bootstrap.sh
	configure.ac
	distros/debian8/control
	distros/debian_cmake/control
	misc/Makefile.am
	scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in
	src/CMakeLists.txt
	src/Makefile.am
	src/zm_monitor.cpp
	src/zm_monitor.h
	src/zmstreamer.cpp
	web/lang/ru_ru.php
	web/skins/classic/css/classic/views/Makefile.am
	web/skins/classic/css/flat/views/Makefile.am
	web/skins/classic/views/Makefile.am
	web/skins/classic/views/js/Makefile.am
2016-04-07 00:00:38 +10:00
..
README.Debian * distros/debian -> Autotools 2014-11-11 22:48:04 +01:00
apache.conf append /www to docroot for all debian/ubuntu dists 2015-10-23 16:08:32 -04:00
changelog change docroot to /usr/share/zoneminder/www and cgi-bin to /usr/lib/zoneminder/cgi-bin 2015-10-02 12:32:12 +00:00
compat * distros/debian -> Autotools 2014-11-11 22:48:04 +01:00
control Merge remote-tracking branch 'upstream/master' into feature-plugins 2016-04-07 00:00:38 +10:00
copyright * distros/debian -> Autotools 2014-11-11 22:48:04 +01:00
docs * distros/debian -> Autotools 2014-11-11 22:48:04 +01:00
libzoneminder-dev.install Add cmake support 2015-05-31 02:37:58 +02:00
rules Merge remote-tracking branch 'upstream/master' into feature-plugins 2015-12-28 15:24:28 +11:00
watch * distros/debian -> Autotools 2014-11-11 22:48:04 +01:00
zoneminder.dirs Add cmake support 2015-05-31 02:37:58 +02:00
zoneminder.init Merge remote-tracking branch 'upstream/master' into feature-plugins 2015-11-08 21:06:21 +11:00
zoneminder.install Merge remote-tracking branch 'upstream/master' into feature-plugins 2016-04-07 00:00:38 +10:00
zoneminder.links Merge remote-tracking branch 'upstream/master' into feature-plugins 2015-12-28 15:24:28 +11:00
zoneminder.postinst Add cmake support 2015-05-31 02:37:58 +02:00
zoneminder.postrm Add cmake support 2015-05-31 02:37:58 +02:00
zoneminder.preinst Add cmake support 2015-05-31 02:37:58 +02:00

README.Debian

zoneminder for Debian
---------------------

There is one manual step to get the web interface working.
You need to link /etc/zm/apache.conf to /etc/apache2/conf.d/zoneminder.conf,
then reload the apache config (i.e. /etc/init.d/apache2 reload)

Changing the location for images and events
-------------------------------------------

Zoneminder, in its upstream form, stores data in /usr/share/zoneminder/.  This
package modifies that by changing /usr/share/zoneminder/images and
/usr/share/zoneminder/events to symlinks to directories under
/var/cache/zoneminder.

There are numerous places these could be put and ways to do it.  But, at the
moment, if you change this, an upgrade will fail with a warning about these
locations having changed (the reason for this was that previously, an  upgrade
would silently revert the changes and cause event loss - refer
bug #608793).

If you do want to change the location, here are a couple of suggestions.

These lines would mount /dev/sdX1 to /video_storage, and then 'link' /video_storage
to the locations that ZoneMinder expects them to be at.

         /dev/sdX1 /video_storage ext4 defaults 0 2
         /video_storage/zoneminder/images /var/cache/zoneminder/images none bind 0 2
         /video_storage/zoneminder/events /var/cache/zoneminder/events none bind 0 2

        or if you have a separate partition for each:

         /dev/sdX1 /var/cache/zoneminder/images ext4 defaults 0 2
         /dev/sdX2 /var/cache/zoneminder/events ext4 defaults 0 2



 -- Peter Howard <pjh@northern-ridge.com.au>, Sun, 16 Jan 2010 01:35:51 +1100

Access to /dev/video*
---------------------

For cameras which require access to /dev/video*, zoneminder may need the 
www-data user added to the video group in order to see those cameras:

  adduser www-data video

Note that all web applications running on the zoneminder server will then have 
access to all video devices on the system.

 -- Vagrant Cascadian <vagrant@debian.org>  Sun, 27 Mar 2011 13:06:56 -0700