PCLinuxOS and 1.23.1

From ZoneMinder Wiki
Revision as of 01:46, 4 February 2008 by Technicavolous (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 PCLinuxOS 2008 'MiniMe' 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

This wicki assumes you can install from the PCLinuxOS MiniMe CD and your hardware is compliant.

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 'MiniMe' (livecd) version of PCLinuxOS. I was not able to get LVM or Linux Raid configured from the installer, so if you're going to use those leave adequate space on the drives and create a minimal '/' partition and add your other volumes later.

The first thing I do is setup the network

Taskbar -> Configure your Computer -> Network -> Set Up a New Network

I usually restart x as I manually set the hostname.

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

setup repository

Get the required 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/noarch/perl-X10-0.03-1.noarch.rpm
wget http://sentrix.homeip.net/rpms/pclos2007/zm-1.23.1-3pclos2007.i586.rpm

Install using apt

apt-get install perl-Astro-SunTime-0.01-1.noarch.rpm
apt-get install perl-PHP-Serialization-0.27-1.noarch.rpm
apt-get install perl-X10-0.03-1.noarch.rpm
apt-get install zm-1.23.1-3pclos2007.i586.rpm

Set the db username and password

kwrite /etc/zm.conf

start the mysql and apache services

service mysqld start
service httpd start

Initialize the ZM databases

/usr/lib/zm/bin/zminit

And finally, start ZoneMinder

service zm start

Rename the rc.d processes so that ZM quits before MySQL

rename /etc/rc.d/rc0.d/k00zm /etc/rc.d/rc0.d/k000zm
rename /etc/rc.d/rc1.d/k00zm /etc/rc.d/rc1.d/k000zm
rename /etc/rc.d/rc6.d/k00zm /etc/rc.d/rc6.d/k000zm

Start a browser, go to http://localhost/zm
log in as admin / admin

Now go play with your system ;)