Zoneminder: Difference between revisions
Jump to navigation
Jump to search
| Line 28: | Line 28: | ||
Test it: | Test it: | ||
echo 167772160 >/proc/sys/kernel/shmall | echo 167772160 >/proc/sys/kernel/shmall | ||
echo 167772160 >/proc/sys/kernel/shmmax | echo 167772160 >/proc/sys/kernel/shmmax | ||
Restart Zoneminder | Restart Zoneminder | ||
Revision as of 13:31, 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
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