zoneminder/distros/debian8
Emmanuel Papin 4bbf1439bb Update debian changelog file 2015-01-27 19:24:50 +01:00
..
po Rename database package and update descriptions 2014-12-18 20:05:59 +01:00
source Switch debian8 folder to native source format 2015-01-15 21:32:01 +01:00
README.Debian Copy distros/debian folder to distros/debian8 2014-11-25 22:09:55 +01:00
apache.conf Copy distros/debian folder to distros/debian8 2014-11-25 22:09:55 +01:00
changelog Update debian changelog file 2015-01-27 19:24:50 +01:00
compat Copy distros/debian folder to distros/debian8 2014-11-25 22:09:55 +01:00
control Merge branch 'master' into plugin_support 2015-01-27 19:22:06 +01:00
copyright Copy distros/debian folder to distros/debian8 2014-11-25 22:09:55 +01:00
docs Copy distros/debian folder to distros/debian8 2014-11-25 22:09:55 +01:00
libzoneminder-perl.install Use a wilcard to reference man files 2014-12-20 21:11:44 +01:00
libzoneminder-plugin-dev.install Fix conflict when merging debian_package_split 2014-12-21 17:04:46 +01:00
rules Merge branch 'master' into plugin_support 2015-01-27 19:22:06 +01:00
zoneminder-core.config Fix some lintian errors and warning after package spliting 2014-12-18 11:03:54 +01:00
zoneminder-core.dirs Split files in multiple packages (lb, core, ui...) 2014-12-16 12:42:51 +01:00
zoneminder-core.install Fix some lintian errors and warning after package spliting 2014-12-18 11:03:54 +01:00
zoneminder-core.links Split files in multiple packages (lb, core, ui...) 2014-12-16 12:42:51 +01:00
zoneminder-core.postinst Switch debian8 folder to native source format 2015-01-15 21:32:01 +01:00
zoneminder-core.postrm Fix some lintian errors and warning after package spliting 2014-12-18 11:03:54 +01:00
zoneminder-core.preinst Fix some lintian errors and warning after package spliting 2014-12-18 11:03:54 +01:00
zoneminder-core.templates Split files in multiple packages (lb, core, ui...) 2014-12-16 12:42:51 +01:00
zoneminder-core.zoneminder.init Switch debian8 folder to native source format 2015-01-15 21:32:01 +01:00
zoneminder-core.zoneminder.service Switch debian8 folder to native source format 2015-01-15 21:32:01 +01:00
zoneminder-core.zoneminder.tmpfile Switch debian8 folder to native source format 2015-01-15 21:32:01 +01:00
zoneminder-database.config Do not repeat admin password question if already answered 2014-12-20 20:12:33 +01:00
zoneminder-database.dirs Merge branch 'debian_package_split' into plugin_support_test 2014-12-21 16:56:10 +01:00
zoneminder-database.install Rename database package and update descriptions 2014-12-18 20:05:59 +01:00
zoneminder-database.postinst Move call to zmupdate.pl in core package because it requires zm.conf file and perl libraries 2014-12-19 16:32:36 +01:00
zoneminder-database.postrm Rename database package and update descriptions 2014-12-18 20:05:59 +01:00
zoneminder-database.prerm Rename database package and update descriptions 2014-12-18 20:05:59 +01:00
zoneminder-database.templates Rename database package and update descriptions 2014-12-18 20:05:59 +01:00
zoneminder-ui-base.config Split files in multiple packages (lb, core, ui...) 2014-12-16 12:42:51 +01:00
zoneminder-ui-base.install Split files in multiple packages (lb, core, ui...) 2014-12-16 12:42:51 +01:00
zoneminder-ui-base.links Fix some lintian errors and warning after package spliting 2014-12-18 11:03:54 +01:00
zoneminder-ui-base.postinst Split files in multiple packages (lb, core, ui...) 2014-12-16 12:42:51 +01:00
zoneminder-ui-base.postrm Fix some lintian errors and warning after package spliting 2014-12-18 11:03:54 +01:00
zoneminder-ui-base.templates Split files in multiple packages (lb, core, ui...) 2014-12-16 12:42:51 +01:00
zoneminder-ui-classic.install Split files in multiple packages (lb, core, ui...) 2014-12-16 12:42:51 +01:00
zoneminder-ui-mobile.install Split files in multiple packages (lb, core, ui...) 2014-12-16 12:42:51 +01:00
zoneminder-ui-xml.install Split files in multiple packages (lb, core, ui...) 2014-12-16 12:42:51 +01: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