Mandrake-Mandriva Install
From ZoneMinder Wiki
Jump to navigationJump to search
Installing Zonenminder 1.22.2 on Mandriva 2007.0 free
1.] install Mandriva 2007.0 free with all options, but Games.
NOTE:
If you enable the Firewall ensure that you have access to your machine!
2.] Open a Terminal and become root:
Code:
- su
3.] update your sourcelist
A very good site for Mirrors is http://easyurpmi.zarb.org/ -> here are a example of my sourcelist:
Code:
- urpmi.addmedia plf-free rsync://distrib-coffee.ipsl.jussieu.fr/pub/linux/plf/mandriva/2007.0/free/release/binary/i586/ with hdlist.cz
- urpmi.addmedia --update updates ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/Mandrakelinux/official/updates/2007.0/i586/media/main/updates/ with media_info/hdlist.cz
- urpmi.addmedia main ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/Mandrakelinux/official/2007.0/i586/media/main/release with media_info/hdlist.cz
- urpmi.addmedia contrib ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/Mandrakelinux/official/2007.0/i586/media/contrib/release with media_info/hdlist.cz
4.] Install essential packets:
Code:
- urpmi ffmpeg xawtv phpmyadmin mysql libmysql-devel ant
5.] Starting MySQL:
Code:
- /etc/init.d/mysqld start
6.] Download, build and install ZM:
Code:
- cd /usr/local/src
- wget http://www2.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz
- tar -xvzf ZoneMinder-1.22.2.tar.gz
- cd ZoneMinder-1.22.2
- ./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-mysql=usr/include/mysql --with-ffmpeg=/usr/bin
- mysql mysql < db/zm_create.sql
- mysql
mysql> GRANT ALL PRIVILEGES ON zm.* TO 'zmuser'@localhost identified by 'zmpass';
mysql> quit
- mysqladmin reload
- make install
7.] Install Cambozola
Code:
- cd /usr/local/src
- wget http://www.charliemouse.com/code/cambozola/cambozola-latest.tar.gz
- tar xvfz cambozola-latest.tar.gz
- cp /usr/local/src/cambozola-0.68/dist/cambozola.jar /var/www/html/zm
- chmod 775 /var/www/html/zm/cambozola.jar
Then under the Images tab in the Web-Interface enable ZM_OPT_CAMBOZOLA
That's all. --> Should work now.