Difference between revisions of "Debian"

From ZoneMinder Wiki
Jump to navigationJump to search
Line 26: Line 26:


*[[Debian 8.1 64-bit with Zoneminder 1.28.1 the Easy Way]]
*[[Debian 8.1 64-bit with Zoneminder 1.28.1 the Easy Way]]
[[Debian 8 64-bit with Zoneminder 1.29.0 the Easy Way]]


==Installation Notes==
==Installation Notes==

Revision as of 12:43, 23 February 2016

Debian GNU/Linux is a free operating system with a focus on stability. It's based on a sophisticated package management system that lets you choose from three releases of varying stability. The software packages included in the stable release have been tested thoroughly and are ideal for a server environment, whereas testing and unstable releases have more recent versions of software which usually contain some bugs. Ironically, Debian's unstable release is often more stable than many other distributions' final releases.

Installation Guides

Zoneminder is now in Debian "unstable" (as of 2007-03-12) so you should be able to just "apt-get install zoneminder" if you include "unstable" packages. Alternately:

You can also use the following guide to install Zoneminder from source in a Debian Lenny based machine. The guide is in spanish and the repositories used are from Chile. If you want to, just use the ones of your country in your sources.list file:

Debian 8 64-bit with Zoneminder 1.29.0 the Easy Way

Installation Notes

/etc/init.d/zm script - slightly modified from the original to correctly echo output on debian


http://www.zoneminder.com/forums/viewtopic.php?t=5391

http://www.zoneminder.com/forums/viewtopic.php?t=6215

http://www.zoneminder.com/forums/viewtopic.php?t=5892

./configure --with-mysql=/usr
--with-webdir=/var/www/zm
--with-cgidir=/var/www/cgi-bin --sysconfdir=/etc
--with-ffmpeg=/usr/local
--with-webuser=www-data
--with-webgroup=www-data CPPFLAGS="-I /usr/local/ssl/include -I /usr/local/lib"

Additional Notes

http://www.zoneminder.com/forums/viewtopic.php?t=6261 Insert non-formatted text here

With a large number of cameras (or just a few HD cameras) you may also need to increase the size of /run (tmpfs). Editing /etc/sysctl.conf is no longer enough.

The easiest way to do this is to add the following line to /etc/fstab (where 50% is the size of /run in regards to your physical memory)

   tmpfs /run tmpfs nodev,nosuid,size=50%,mode=755 0 0