Difference between revisions of "MDV 2008 and 1.23.1"
Line 33: | Line 33: | ||
do not update yet ... | do not update yet ... | ||
(reconsider - depending on hardware and / or kernel issues) | |||
get the zm files | get the zm files |
Revision as of 23:07, 7 February 2008
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 http://www.zoneminder.com/wiki/index.php/ZMliveCD and http://www.zoneminder.com/wiki/index.php/ZMliveCD_Update_RPM_notes
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 http://easyurpmi.zarb.org and select your own sources. I like carroll.cac.psu.edu 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 ftp://spirit.bentel.sk/mirrors/plf/mandriva/2008.0/free/release/binary/i586/ with media_info/hdlist.cz urpmi.addmedia plf-free_backports ftp://spirit.bentel.sk/mirrors/plf/mandriva/2008.0/free/backports/binary/i586/ with media_info/hdlist.cz urpmi.addmedia --update plf-nonfree ftp://spirit.bentel.sk/mirrors/plf/mandriva/2008.0/non-free/release/binary/i586/ with media_info/hdlist.cz urpmi.addmedia plf-nonfree_backports ftp://spirit.bentel.sk/mirrors/plf/mandriva/2008.0/non-free/backports/binary/i586/ with media_info/hdlist.cz urpmi.addmedia main ftp://carroll.cac.psu.edu/pub/linux/distributions/mandrivalinux/official/2008.0/i586/media/main/release with media_info/hdlist.cz urpmi.addmedia --update main_updates ftp://carroll.cac.psu.edu/pub/linux/distributions/mandrivalinux/official/2008.0/i586/media/main/updates with media_info/hdlist.cz urpmi.addmedia main_backports ftp://carroll.cac.psu.edu/pub/linux/distributions/mandrivalinux/official/2008.0/i586/media/main/backports with media_info/hdlist.cz urpmi.addmedia contrib ftp://carroll.cac.psu.edu/pub/linux/distributions/mandrivalinux/official/2008.0/i586/media/contrib/release with media_info/hdlist.cz urpmi.addmedia --update contrib_updates ftp://carroll.cac.psu.edu/pub/linux/distributions/mandrivalinux/official/2008.0/i586/media/contrib/updates with media_info/hdlist.cz urpmi.addmedia contrib_backports ftp://carroll.cac.psu.edu/pub/linux/distributions/mandrivalinux/official/2008.0/i586/media/contrib/backports with media_info/hdlist.cz urpmi.addmedia non-free ftp://carroll.cac.psu.edu/pub/linux/distributions/mandrivalinux/official/2008.0/i586/media/non-free/release with media_info/hdlist.cz urpmi.addmedia --update non-free_updates ftp://carroll.cac.psu.edu/pub/linux/distributions/mandrivalinux/official/2008.0/i586/media/non-free/updates with media_info/hdlist.cz urpmi.addmedia non-free_backports ftp://carroll.cac.psu.edu/pub/linux/distributions/mandrivalinux/official/2008.0/i586/media/non-free/backports with media_info/hdlist.cz
do not update yet ... (reconsider - depending on hardware and / or kernel issues)
get the zm files
wget http://sentrix.homeip.net/rpms/noarch/perl-Astro-SunTime-0.01-1.noarch.rpm wget http://sentrix.homeip.net/rpms/noarch/perl-PHP-Serialization-0.27-1.noarch.rpm wget http://sentrix.homeip.net/rpms/mdv_2008.0/perl-Device-SerialPort-1.002-1.i586.rpm wget http://sentrix.homeip.net/rpms/noarch/perl-X10-0.03-1.noarch.rpm wget http://sentrix.homeip.net/rpms/mdv_2008.0/zm-1.23.1-3mdv2008.0.i586.rpm
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-3mdv2008.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
/usr/lib/zm/bin/zminit
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 http://127.0.0.1/zm and log in as admin / admin
Now play with your system ;)
Tracy Markham
tracy [at] webwarrior [dot] c o m
.