Ubuntu 7.04
From ZoneMinder
Install Ubuntu 7.04 (desktop or server) per the defaults as described in howtos at the Ubuntu Documentation Site
download and install the ZM deb package linked from this site
ftp://www.northern-ridge.com.au/zoneminder/ubuntu/edgy/zoneminder_1.22.3-6_i386.deb or later
dpkg will install all of the prereqs automatically.
type this to link the apache.conf file to zoneminder.conf per the readme.deb :-
sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf
Then type this to reload the apache config
sudo /etc/init.d/apache2 reload
Setting the permissions of the video devices
If you get no pictures from your Hardware video device or you 'sources' display as red, ie. not working, you can temporarily test the permissions of /dev/video* as being an issue by typing :-
chmod 666 /dev/video0 (or /dev/video* where * is your device, 0, 1, 2 etc.)
The chmod option is discussed more in detail here :- http://www.zoneminder.com/forums/viewtopic.php?t=8621&highlight=zmfix+chmod
and if this is your error, it can be fixed properly by following post 6 in the thread by typing :-
sudo chmod 4755 /usr/bin/zmfix
This basically gives the zoneminder program permanent enhanced privileges when accessing your video devices.
in ZM config, changed nph_zms to zms for more reliable video capture
(you probably do not have to do this. I changed nph_zms to zms because I was getting intermittent access. It would work once then fail, leaving zombie processes that leaked memory eventually crashing Ubuntu. This parameter is changed in the Config/paths tab. Change the field ZM_PATH_ZMS ; change the last bit from "nph-zms" to "zms" )
reloaded apache2, then off to the races....
..... by pointing your web browser to :-
http://ZoneMinderServer/zm or http://localhost/zm or http://<your ip address>/zm
This same procedure also worked for Edgy
If the link for the above .deb file doesn't work I was able to find the file here: http://deb2tgz.newswall.org.uk/mirror.cgi?uri=/debian/pool/main/z/zoneminder/zoneminder_1.22.3-6_i386.deb


