Mandrake-Mandriva Install

From ZoneMinder Wiki
Revision as of 10:25, 19 January 2007 by Jan (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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:

  1. su


3.] update your sourcelist 

A very good site for Mirrors is http://easyurpmi.zarb.org/ -> here are a example of my sourcelist:

Code:

  1. urpmi.addmedia plf-free rsync://distrib-coffee.ipsl.jussieu.fr/pub/linux/plf/mandriva/2007.0/free/release/binary/i586/ with hdlist.cz
  1. 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
  1. urpmi.addmedia main ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/Mandrakelinux/official/2007.0/i586/media/main/release with media_info/hdlist.cz
  1. 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:

  1. urpmi ffmpeg xawtv phpmyadmin mysql libmysql-devel ant


5.] Starting MySQL: 

Code:

  1. /etc/init.d/mysqld start


6.] Download, build and install ZM: 

Code:

  1. cd /usr/local/src
  2. wget http://www2.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz
  3. tar -xvzf ZoneMinder-1.22.2.tar.gz
  4. cd ZoneMinder-1.22.2
  5. ./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-mysql=usr/include/mysql --with-ffmpeg=/usr/bin
  1. mysql mysql < db/zm_create.sql
  1. mysql

mysql> GRANT ALL PRIVILEGES ON zm.* TO 'zmuser'@localhost identified by 'zmpass';

mysql> quit

  1. mysqladmin reload
  1. make install


7.] Install Cambozola 

Code:

  1. cd /usr/local/src
  2. wget http://www.charliemouse.com/code/cambozola/cambozola-latest.tar.gz
  3. tar xvfz cambozola-latest.tar.gz
  4. cp /usr/local/src/cambozola-0.68/dist/cambozola.jar /var/www/html/zm
  5. 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.