Difference between revisions of "Zoneminder"

From Hack Sphere Labs Wiki
Jump to: navigation, search
(Debian Squeeze)
(Notes)
Line 52: Line 52:
 
=Notes=
 
=Notes=
 
*http://www.zoneminder.com/wiki/index.php/Foscam
 
*http://www.zoneminder.com/wiki/index.php/Foscam
 +
*http://kotisivu.dnainternet.net/vuorris/zoneminder/zm_manual/index.html
 +
*http://www.zoneminder.com/wiki/index.php/Documentation#Introduction

Revision as of 14:55, 4 August 2012

Debian Squeeze

  • Enable Backports
nano /etc/apt/sources.list

add:

deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free

Install other stuff:

apt-get install libfaac-dev
apt-get install libmp3lame-dev
apt-get install libogg-dev
apt-get install libjpeg-dev
apt-get install libtheora-dev
apt-get install libvorbis-dev
apt-get install libx264-dev
apt-get -t squeeze-backports install libxvidcore-dev

Install Zoneminder:

apt-get install zoneminder
ln -s /etc/zm/apache.conf    /etc/apache2/conf.d/zoneminder.conf
/etc/init.d/apache2 restart


  • zmwatch[22830]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]

Make shared memory key work:

Test it:

echo 167772160 >/proc/sys/kernel/shmall
echo 167772160 >/proc/sys/kernel/shmmax

Restart Zoneminder

/etc/init.d/zoneminder stop

Make it perm

nano /etc/sysctl.conf
# Increase the maximum shared memory
kernel.shmall = 167772160
kernel.shmmax = 167772160


/etc/init.d/zoneminder start


You can use libjpeg-turbo to speed things up.

Notes