ZoneMinder: Instalasi Melalui .deb

From OnnoWiki
Jump to navigation Jump to search

ZoneMinder is now in the Debian repositories. There are downloadable .deb files for Ubuntu for Edgy and Feisty. At this point it is in the repository for Gutsy. After you install, you will need to do some additional work, which is documented in the readme file included in the package. These steps have worked for several people as of the end of Summer 07.

Link Apache

sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf

Restart Apache

sudo apache2ctl restart
suid zmfix
sudo chmod 4755 /usr/bin/zmfix

Run zmfix

zmfix -a

Fix export problem

sudo chown www-data.www-data /usr/share/zoneminder/temp

edit /etc/sysctl.conf and add the following lines (for 128meg shared mem)

kernel.shmall = 134217728
kernel.shmmax = 134217728

Download cambozola.jar and put it in /usr/share/zoneminder Enable in options->Images.

Set path to ffmpeg in options -> Images /usr/bin/ffmpeg

test with xawtv (-nodga may be needed)


Referensi

Pranala Menarik