Difference between revisions of "PCLinuxOS and 1.23.1"
Line 52: | Line 52: | ||
Now go play with your system ;) | Now go play with your system ;) | ||
== Update == | |||
Due to [http://www.pclinuxos.com/index.php?option=com_smf&Itemid=58&topic=37068.0 a package request] in the [http://www.pclinuxos.com PCLinuxOS] forums, work is currently under way to add ZoneMinder to the standard PCLOS repos. Please stay tuned for updates. |
Revision as of 14:30, 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 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 ;)
Update
Due to a package request in the PCLinuxOS forums, work is currently under way to add ZoneMinder to the standard PCLOS repos. Please stay tuned for updates.