Etapes pour la mise en place d’une Video surveillance sous ZoneMinder
Comment installer un système de vidéo surveillance pour la caméra ip et la webcam Logitech
- http://www.csquad.org/cocoon/tags/public/zoneminder/zoneminder.html
- http://www.maison-et-domotique.com/index.php/2010/11/04/gerer-ses-cameras-avec-zoneminder/
- http://www.rmacd.com/howto/zoneminder-debian-lenny-install.php
vi /etc/apt/sources.list
deb http://ftp.fr.debian.org/debian lenny main contrib non-free
deb-src http://ftp.fr.debian.org/debian lenny main contrib non-free
deb http://ftp.fr.debian.org/debian-security lenny/updates main contrib non-free
deb-src http://ftp.fr.debian.org/debian-security lenny/updates main contrib non-free
apt-get update
apt-get install build-essential
apt-get install apache2
apt-get install mysql-server
apt-get install netpbm
apt-get install libssl-dev
apt-get install libjpeg62-dev
apt-get install libmime-perl
apt-get install libwww-perl
apt-get install libarchive-tar-perl
apt-get install libdate-manip-perl
apt-get install libarchive-zip-perl
apt-get install libmime-lite-perl
apt-get install libdbi-perl
apt-get install libdbd-mysql-perl
apt-get install libpcre3-dev
apt-get install dist-upgrade
apt-get install php5
apt-get install php5-mysql
apt-get install libapache2-mod-auth-mysql
/etc/init.d/apache2 restart
apt-get install ntpdate
apt-get install libmysqlclient15-dev
apt-get install gnutls-bin
apt-get install ffmpeg
apt-get install phpmyadmin
apt-get install pciutilscd /usr/src
wget http://www2.zoneminder.com/downloads/ZoneMinder-1.24.1.tar.gz
tar -xvzf ZoneMinder-1.24.1.tar.gz
cd ZoneMinder-1.24.1
- Solution 1
vi configure
trouver la ligne
if test “$ZM_SSL_LIB” == “”; then
et mettre
ZM_SSL_LIB=openssl
./configure –with-webdir=/var/www/zm –with-cgidir=/usr/lib/cgi-bin –with-webuser=www-data –with-webgroup=www-data –with-libarch=lib –with-ffmpeg=/usr/local
- Solution 2
./configure –with-webdir=/var/www/zm –with-cgidir=/usr/lib/cgi-bin –with-webuser=www-data –with-webgroup=www-data –with-libarch=lib –with-ffmpeg=/usr/local
puis on continue
su
perl -MCPAN -e shell
install PHP::Serialization
exitmake
su
make installmysql -u root -p < db/zm_create.sql
mysql –u root –p
CREATE USER ‘zmuser’@'localhost’ IDENTIFIED BY ‘yourpassword’;
GRANT ALL PRIVILEGES ON `zm` . * TO ‘zmuser’@'localhost’;
exitvi /usr/local/etc/zm.conf
M_DB_PASS=yourpassword
a2enmod php5 && apache2ctl restart
et voilu
Il ne reste plus qu’à se connecter avec htt://localost/zm
Recent comments