zoneminder/distros/debian
Andrew Bauer 18c3618e28 Arp tool (#2155)
* let cmake set path to arp

* declare cameras array

* fix probeV4L function

* typo

* fix another typo - my machine is possessed.

* update redhat, debian, ubuntu build dependencies
2018-07-11 15:43:59 -04:00
..
README.Debian Fixed readme.debian fstab bind examples 2014-01-02 08:24:58 -05:00
apache.conf fix options, to remove indexes 2017-05-23 15:01:22 -04:00
changelog remove autotools builds, replace them with cmake versions 2016-04-06 08:43:20 -04:00
compat move this into the distros dir 2013-09-18 12:51:10 -04:00
control Arp tool (#2155) 2018-07-11 15:43:59 -04:00
copyright remove autotools builds, replace them with cmake versions 2016-04-06 08:43:20 -04:00
dirs remove autotools builds, replace them with cmake versions 2016-04-06 08:43:20 -04:00
docs fixing debian docs file (README -> README.md) 2013-09-22 10:34:11 +08:00
init.d remove autotools builds, replace them with cmake versions 2016-04-06 08:43:20 -04:00
install include conf.d folder contents in debian packaging (#1934) 2017-06-26 14:44:33 -04:00
links remove autotools builds, replace them with cmake versions 2016-04-06 08:43:20 -04:00
postinst source files in /etc/zm/conf.d as well 2018-02-23 09:30:47 -05:00
postrm remove autotools builds, replace them with cmake versions 2016-04-06 08:43:20 -04:00
preinst remove autotools builds, replace them with cmake versions 2016-04-06 08:43:20 -04:00
rules Don't create symlinks in ZoneMinder webroot (#1923) 2017-07-21 08:18:13 -04:00
watch move this into the distros dir 2013-09-18 12:51:10 -04: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