Installazione Zoneminder 1.24 sy ubuntu 9.04

Questa è una vecchia versione del documento!


Installazione Zoneminder 1.24 sy ubuntu 9.04

Modifichiamo i File di sistema per la shared memory

echo “#Below are for ZoneMinder#” » /etc/sysctl.conf

echo “kernel.shmall = 1536000” » /etc/sysctl.conf

echo “kernel.shmmax = 3221225472” » /etc/sysctl.conf

Cambiamo i percorsi delle librerie

echo “/usr/local/lib” > /etc/ld.so.conf.d/ffmpeg.conf

echo “LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH” » /etc/bash.bashrc

echo “export LD_LIBRARY_PATH” » /etc/bash.bashrc

ldconfig

Installiamo tutti i pacchetti che ci serviranno

aptitude install build-essential linux-headers-`uname -r` automake perl libnet-ssleay-perl openssl libauthen-pam-perl \
libpam-runtime libio-pty-perl libmd5-perl apache2 php5-mysql libapache2-mod-php5 mysql-server libmysqlclient15-dev \
libarchive-zip-perl libdate-manip-perl libdevice-serialport-perl libjpeg62 libjpeg62-dev libmime-perl libstdc++6 libwww-perl \
zlib1g zip unzip patch ntp openssl libpcre3-dev libssl-dev libjpeg-progs libcurl4-gnutls-dev munin munin-node libmime-lite-perl \
netpbm libbz2-dev subversion sysvconfig

Installiamo i moduli per il perl

sudo perl -MCPAN -e shell

install CPAN
exit

sudo perl -MCPAN -e shell
install YAML PHP::Serialization Module::Load X10::ActiveHome

exit