MDV 2008 and 1.23.1

From ZoneMinder Wiki
Jump to navigationJump to search

Here is a set of instructions that has worked for me to install ZoneMinder 1.23.1 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. This procedure also worked for me with Mandriva Free as the installer allows you creation of RAID and LVM volumes for installation. Great if you may need to add storage later.

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 ;)

First, lets take out the original installation media and any you may have set up

urpmi.removemedia -a

Now lets add the new media

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 ... (reconsider - depending on hardware and / or kernel issues)
If you do need to update, I suggest the following

urpmi --auto-update

It may tell you everything is updated, it may tell you it needs to update particular modules that affect URPMI

Then, upgrade all packages ... This will take a while

urpmi --auto-select

get the zm files


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 mysql
urpmi zm-1.23.1-4mdv2008.0.i586.rpm

If any of the packages give you choices of dependencies, usually you will choose the first of the list.

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

urpmi kate

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

kate /etc/zm.conf

(set the user and password to whatever ails you ...)

Kate may spit up a bunch of warnings or errors - don't let 'em bug you ... on my system, this only happens the first time when I run kate from the command line. I have no clue what's happening or if it's an issue, but the file saves fine and everything goes as planned so I ignore them.

start mysql and apache

service mysqld start
service httpd start

Initialize the ZM database


enter your mysql user and password - the default is root and [blank] (change this for live systems!)

Start zm the first time

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