Zmdv_2006 Mandriva ZoneMinder installer CD

Support and queries relating to third party Live CDs and DVD, VM images and other packaged distributions
User avatar
rdmelin
Posts: 863
Joined: Wed Oct 29, 2003 2:23 pm
Location: Ellensburg, WA USA

Zmdv_2006 Mandriva ZoneMinder installer CD

Post by rdmelin »

A new installer CD is availible by bittorrent. You can get the torrent file here:
http://linuxtracker.org/torrents-details.php?id=959

Note: This is not a livecd
Zmdv_2006 is a Mandriva 2006.0 installation CD that has been remastered to include all packages required to run the ZoneMinder video camera security and surveillance software. Also included is i18n packages for all languages supported by ZM. A basic KDE environment can be installed as well. Other apps useful for remote administration include webmin, phpMyadmin, and freenx.

During the package selection stage of the installation proccess, check the box for "Individual Package Selection". In the next screen find the icon in the lower left that toggles to a flat list view of packages. When you check the zm box, all dependancies will also be selected.

If you miss selecting zm during the installation you can easily add it afterward with the command "urpmi zm". Or if you prefer use the GUI package manager.

Of course any additional Mandriva packages can be added by configuring additional sources. To make adding FTP sources easy I recommend Easy Urpmi
http://easyurpmi.zarb.org/

To get ZM running once the installation is done requires a couple of steps.
First edit /etc/zm.conf and add a user name and password, something like
this:
ZM_DB_SERVER=localhost
ZM_DB_NAME=zm
ZM_DB_USER=zm_user
ZM_DB_PASS=zm_pass

ZM will use these to access the MySQL database created in the next step.
Next, run "/usr/lib/zm/init/zminit"
When prompted for the MySQL admin user name enter "root" and when prompted for
a password, leave it blank and hit enter. You will see some messages as the
database is created.
Now you can run "service zm start" and then point the browser at:
http://localhost/zm/

Donations are always welcome. However I realize that many users are (like me) enthusiasts with little cash to spare. One way all who download this CD can contribute is to leave the torrent to seed for awhile after download is complete. This way bandwidth is better for other downloaders.

Enjoy :)
Last edited by rdmelin on Fri Jun 20, 2008 6:32 pm, edited 3 times in total.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

Ross
As you have remastered this cd, is it possible to remaster it some more and change things, ie i have made my own live cd (only cos of the hardware issue, nothing wrong with live cd)
And would like to try my hand at remastering the 2006 version to my requirements. I looked at changing COrey's CTU ZM but Corey said it was a lot of work as there were no tools available for this and all had to be edited manually. Is this the case on 2006 or not?

And thankyou very much for this from myself.

James
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
User avatar
rdmelin
Posts: 863
Joined: Wed Oct 29, 2003 2:23 pm
Location: Ellensburg, WA USA

Post by rdmelin »

Hi James,

Here is a link to a HOWTO:
http://qa.mandrivalinux.com/twiki/bin/v ... n/Remaster

Have fun :)
faustux
Posts: 4
Joined: Tue Jul 19, 2005 5:17 am

more details

Post by faustux »

Rdmelin, can you give more details about that lines?:

ZM will use these to access the MySQL database created in the next step.
Next, run "/usr/lib/zm/init/zminit"
When prompted for the MySQL admin user name enter "root" and when prompted for
a password, leave it blank and hit enter. You will see some messages as the
database is created.

Not get start zoneminder.

thanks


Faustux
Mexico
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

zminit located in /usr/lib/zm/init/ for this distro loads a new database for zm to use.
When you run zminit, it will ask for the administrative user for the database which is root.
Be defualt root has no password and is left blank so when zminit asks, it should be left empty there as well.
The other thing that zminit may complain about is that all the fields in /etc/zm.conf must be filled out.
You can find more information about the database at http://www.mysql.org
Regards,
Corey
faustux
Posts: 4
Joined: Tue Jul 19, 2005 5:17 am

Ok thanks

Post by faustux »

Ok starts now!

Thanks Cordel by help

Faustux
User avatar
R2D2
Posts: 170
Joined: Tue Dec 27, 2005 5:02 pm
Location: Stuttgart, Germany

Post by R2D2 »

Hi,
i´ve installed Zmdv_2006, and followed the install Instructions step by step.
But on this point:
ZM will use these to access the MySQL database created in the next step.
Next, run "/usr/lib/zm/init/zminit"
When prompted for the MySQL admin user name enter "root" and when prompted for
a password, leave it blank and hit enter. You will see some messages as the
database is created.
a message appears:

Code: Select all

Enter MySQL Administrator username: root
Enter password:
ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO)
ERROR 1062 at line 378: Duplicate entry 'admin' for key 2
Loading config from '/usr/lib/zm/init/zmconfig.txt'
Loading config from '/etc/zm.conf'
Loading config from DB
Saving config to DB
Finding old version

Old version is 1.21.3

Database is up to date.
What does this mean.
btw:
how can i switch the keyboard-layout to German?
User avatar
rdmelin
Posts: 863
Joined: Wed Oct 29, 2003 2:23 pm
Location: Ellensburg, WA USA

Post by rdmelin »

how can i switch the keyboard-layout to German?
/usr/sbin/keyboarddrake
Finding old version

Old version is 1.21.3

Database is up to date.
Either this is an upgrade from a ZMliveCD install or you have a ZMliveCD and not Zmdv_2006.

So running /usr/lib/zm/init/zminit is not needed. Everything should be up to date. Is zm working?
User avatar
R2D2
Posts: 170
Joined: Tue Dec 27, 2005 5:02 pm
Location: Stuttgart, Germany

Post by R2D2 »

Either this is an upgrade from a ZMliveCD install or you have a ZMliveCD and not Zmdv_2006
Hi, bittorent dosent work on my machine, and jameswilson helped my out with an iso-file called ZMliveCD_1.21.3.iso
can you upload the actual Zmdv_2006 on an http or ftp host please?
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

if you have that live cd running zm should start automatically, have you installed it to hard drive or just booted the live cd
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
User avatar
R2D2
Posts: 170
Joined: Tue Dec 27, 2005 5:02 pm
Location: Stuttgart, Germany

Post by R2D2 »

I´ve installed
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

wel you should have a working zm server then, whats wrong with it
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
User avatar
R2D2
Posts: 170
Joined: Tue Dec 27, 2005 5:02 pm
Location: Stuttgart, Germany

Post by R2D2 »

sure, i have a web interface.
But where can i do settings?
There´s no question about user or password.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Istructions are here:
http://www.zoneminder.com/fileadmin/dow ... EADME.html

Regards,
Corey
User avatar
R2D2
Posts: 170
Joined: Tue Dec 27, 2005 5:02 pm
Location: Stuttgart, Germany

Post by R2D2 »

i know, i know, :lol: --> RTFM
Post Reply