MDV 2008 and 1.23.0

From ZoneMinder Wiki
Jump to navigationJump to search

Here is a set of instructions that has worked for me to install ZoneMinder 1.23.0 on a fresh install of Mandriva One 2008 using RPMs by rdmelin. See and

Use at your own risk, your mileage may vary, may cause drowsiness, keep out of reach of children, do not operate heavy machinery ...

Start by downloading and installing the 'One' (livecd) version of Mandriva 2008.0. During set up, do NOT select 3d desktop effects. Not that it won't work, just that I didn't select it when I created this howto.

I do everything in a konsole (as root!) from this point on.

set up urpmi sources. I am using this set because it worked - feel free to go to and select your own sources. I like because it's fast ;)

urpmi.addmedia --update plf-free with media_info/
urpmi.addmedia plf-free_backports with media_info/
urpmi.addmedia --update plf-nonfree with media_info/
urpmi.addmedia plf-nonfree_backports with media_info/
urpmi.addmedia main with media_info/
urpmi.addmedia --update main_updates with media_info/
urpmi.addmedia main_backports with media_info/
urpmi.addmedia contrib with media_info/
urpmi.addmedia --update contrib_updates with media_info/
urpmi.addmedia contrib_backports with media_info/
urpmi.addmedia non-free with media_info/
urpmi.addmedia --update non-free_updates with media_info/
urpmi.addmedia non-free_backports with media_info/

do not update yet ...

We need a text editor. There are several that come with the distro, but I like kate, so I install it

urpmi kate

get the zm files

         Note - Look for the latest version 

install the rpms -

urpmi perl-Astro-SunTime-0.01-1.noarch.rpm
urpmi perl-Device-SerialPort-1.002-1.i586.rpm
urpmi perl-PHP-Serialization-0.27-1.noarch.rpm
urpmi perl-X10-0.03-1.noarch.rpm
urpmi zm-1.23.2-1mdv2008.0.i586.rpm

if when installing the zm package you get

A requested package cannot be installed:
zm-1.23.0-2mdv2008.0.i586 (due to unsatisfied /usr/bin/mysql)
Continue installation anyway? (Y/n) n

install mysql ...

urpmi mysql

try again with zm -

urpmi zm-1.23.2-1mdv2008.0.i586.rpm

Edit /etc/zm.conf to add mysql user and password

kate /etc/zm.conf

(set the user and password respectively to zmuser, zmpass)

start mysql and apache

service mysqld start
service httpd start

Start zm the first time

service zm start
ERROR 1045 (28000): Access denied for user 'zmuser'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'zmuser'@'localhost' (using password: YES)
You must run /usr/lib/zm/bin/zminit manually

Follow the instructions ...


enter your mysql user and password - the default is root and [blank]

Try again to start zm

service zm start 

Open a browser, go to and log in as admin / admin

Now play with your system ;)

Tracy Markham
tracy [at] webwarrior [dot] c o m