Difference between revisions of "Mandrake-Mandriva"

From ZoneMinder Wiki
Jump to navigationJump to search
Line 1: Line 1:
Mandriva Linux (formerly Mandrakelinux or Mandrake Linux) is a Linux distribution created by Mandriva (formerly Mandrakesoft). The first release was based on Red Hat Linux (version 5.1) and KDE (version 1.0) in July 1998. It has since diverged from Red Hat and has included a number of original tools mostly to ease system configuration.
ZoneMinder has worked well with Mandr* since v1.17.0 on Mandrake 9.2. This combo was the basis of the first ZMliveCD.  
ZoneMinder has worked well with Mandr* since v1.17.0 on Mandrake 9.2. This combo was the basis of the first ZMliveCD.  


RPM packages have been availible since Mandrake 10.0. A link to download can be found here: http://www.zoneminder.com/wiki/index.php/ZMliveCD
RPM packages have been available since Mandrake 10.0. A link to download can be found here: http://www.zoneminder.com/wiki/index.php/ZMliveCD


To install RPMs on a Mandriva system several perl modules that are not part of the Mandriva distro are required. RPMs for these are availible from the same dowload location as the zm packages.
To install RPMs on a Mandriva system several perl modules that are not part of the Mandriva distro are required. RPMs for these are availible from the same dowload location as the zm packages.


[['''Installing Zonenminder 1.22.2 on Mandriva 2007.0 free''']]
==Installation Guides==
 
[[Mandrake-Mandriva_Install|Installing Zoneminder 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.

Revision as of 11:35, 19 January 2007

Mandriva Linux (formerly Mandrakelinux or Mandrake Linux) is a Linux distribution created by Mandriva (formerly Mandrakesoft). The first release was based on Red Hat Linux (version 5.1) and KDE (version 1.0) in July 1998. It has since diverged from Red Hat and has included a number of original tools mostly to ease system configuration.


ZoneMinder has worked well with Mandr* since v1.17.0 on Mandrake 9.2. This combo was the basis of the first ZMliveCD.

RPM packages have been available since Mandrake 10.0. A link to download can be found here: http://www.zoneminder.com/wiki/index.php/ZMliveCD

To install RPMs on a Mandriva system several perl modules that are not part of the Mandriva distro are required. RPMs for these are availible from the same dowload location as the zm packages.

Installation Guides

Installing Zoneminder 1.22.2 on Mandriva 2007.0 free