Page 1 of 1

ubuntu 8.04 - zoneminder 1.23.3 - kernel 2.6.24-16 8ch GUIDE

Posted: Sat Sep 13, 2008 2:53 pm
by recidivo
I worked soo much, but now everything is working well, this is a post for newbies but also for anyone like this beautiful and strong program!!!


ENGLISH

ZONEMINDER installation procedure





Ubuntu Hardy 8.04 32bit
Kernel 2.6.24-16
8Ch 240fps video pci board
zoneminder 1.23.3




1. Get the new packet type in a terminal

Code:
wget ftp://www.northern-ridge.com.au/zonemin ... 2_i386.deb

wget ftp://www.northern-ridge.com.au/zonemin ... -1_all.deb



2. Installation

Code:
sudo dpkg -i zoneminder_1.23.3-2_i386.deb


sudo dpkg -i libphp-serialization-perl_0.27-1_all.deb



3. ------------ Specific step for kodicom clone 8CH 240fps video pci cards ----------



cd /etc/modprobe.d


make a file with or put the lines below in the file options by tipying in a terminal



sudo gedit /etc/modprobe.d/options

lines:


options i2c_algo_bit bit_test=1

options bttv gbuffers=16 radio=-1 tuner=4 card=102,102,102,102,102,102,102,102



----------------------------------------------------------------------------------

Remember if you don' t see zone minder in the browser http://localhost/zm


4. make this link

cd /etc/apache2/conf.d
ln -s /etc/zm/apache.conf zm.conf



5. edit this file:

/etc/sysctl.conf


and put this lines inside:

kernel.shmall = 134217728
kernel.shmmax = 134217728


6. If you don' t see any image, istead only a black screen type in a teminal:


sudo chmod 4755 /usr/bin/zmfix

sudo zmfix -a

(this fix permission problem of zm to video devices )


7. Do a reboot


8. In web configuration of zoneminder

put in the section monitor>source the right height weight

weight (pixels) 320
height (pixels) 240


ITALIAN


1. scaricare questi pacchetti da terminale

Code:
wget ftp://www.northern-ridge.com.au/zonemin ... 2_i386.deb

wget ftp://www.northern-ridge.com.au/zonemin ... -1_all.deb



2. Istallarli

Code:
sudo dpkg -i zoneminder_1.23.3-2_i386.deb


sudo dpkg -i libphp-serialization-perl_0.27-1_all.deb



3. ------------ Passo specifico per le schede clone kodicon 8CH 240fps ---------------



cd /etc/modprobe.d


fare un file di testo con nome qualsiasi oppure inserirle nel file options con gedit da root e metterci dentro



sudo gedit /etc/modprobe.d/options

lines:


options i2c_algo_bit bit_test=1

options bttv gbuffers=16 radio=-1 tuner=4 card=102,102,102,102,102,102,102,102



----------------------------------------------------------------------------------

Ricorda se non si vede zoneminder nel browser http://localhost/zm


4. fare questo link

cd /etc/apache2/conf.d
ln -s /etc/zm/apache.conf zm.conf



5. editare questo file:

/etc/sysctl.conf


e inserire le seguenti linee :

kernel.shmall = 134217728
kernel.shmmax = 134217728


6. Se non si vede solo uno scermo nero digitare da terminale:


sudo chmod 4755 /usr/bin/zmfix

sudo zmfix -a

( questo risolve i permessi di zoneminder sui device video )


7. fare un reboot


8. nella configurazione web di zoneminder

mettere nella sezione monitor>sorgente i seguenti valori

larghezza (pixels) 320
altezza (pixels) 240

Posted: Wed Sep 17, 2008 3:15 pm
by Lee Sharp
Some notes.

The lib-serilazation on Peters site is a Hardy version. You only need it for Gutsy.

Your options are for a Kodacom 8 port clone. They will not work for all cards.

You can set "zmfix" guid and not have to manually set the permissions on the video. Otherwise you will have to do it each reboot.

Posted: Wed Sep 17, 2008 8:49 pm
by recidivo
Lee Sharp wrote:Some notes.

The lib-serilazation on Peters site is a Hardy version. You only need it for Gutsy.

Your options are for a Kodacom 8 port clone. They will not work for all cards.

You can set "zmfix" guid and not have to manually set the permissions on the video. Otherwise you will have to do it each reboot.
you right,mine is a kodicom clone card thanks

Posted: Thu Sep 18, 2008 5:25 pm
by Lee Sharp
No trouble. Nice writeup... :)

Posted: Thu Sep 18, 2008 8:48 pm
by recidivo
can you tell me how can I fix the attribuite with zmfix; I reboot and black screen again .... Thanks

Posted: Fri Sep 19, 2008 3:01 am
by cordel
set the suid on zmfix:
chown 4755 zmfix

Posted: Fri Sep 19, 2008 6:44 am
by recidivo
thanks cordel always present !!

Posted: Fri Sep 19, 2008 11:47 am
by craver84
grande recidivo, molto utile!!
sono contento che vi sia anche qualche italiano in questo forum!!!

Posted: Fri Sep 19, 2008 11:57 am
by recidivo
craver84 wrote:grande recidivo, molto utile!!
sono contento che vi sia anche qualche italiano in questo forum!!!
grazie a te !



english

thanks to you!




now I find the source of my troubles


after

sudo chmod 4755 /usr/bin/zmfix

do

sudo zmfix -a !!!!!!!!!


First post updated !

Posted: Fri Sep 19, 2008 5:38 pm
by Lee Sharp
Most of this is in the WiKi. However, only in English. If anyone wants to start a translation, that would be fantastic! There is a lot of good information there.