I got tired of manually recompiling zoneminder and reinstalling prerequisites every time I wanted to spin up a new ZM box, so I wrote a puppet module to do the work for me.
If you haven't used puppet, then in this context think of it as a really advanced shell script.
You can find the github page for this module here.
A puppet module to completely install ZoneMinder 1.25.0 from source. The ZoneMinder source is patched with mastertheknife's performance patch, and nextime's plugin architecture patch, including his licence plate and facial recognition plugins. After running this module, you will have a working ZoneMinder 1.25.0 install. Currently the module only works under Ubuntu 12.04 - it hasn't been tested with other Ubuntu versions but may work. The module not work with any other distros. at this time.
To use it.
Install a fresh Ubuntu 12.04 server. I went with a minimal install, but a normal install will also work.
Pray. Just kidding. But seriously. If something breaks, please report it to me. At this point you should have a working ZoneMinder 1.25 installation and you can start adding cameras.
Idling as gnulnx in #zoneminder on freenode. Come say hi!
kylejohnson wrote:[*]Pray. Just kidding. But seriously. If something breaks, please report it to me. At this point you should have a working ZoneMinder 1.25 installation and you can start adding cameras.[/list]
Hi kylejohnson,
Thanks for this puppet module.
I tried to install on a fresh Ubuntu 12.04 32bit + OpenSSH & LAMP, but i experienced two errors.
Any ideas?
kylejohnson wrote:[*]Pray. Just kidding. But seriously. If something breaks, please report it to me. At this point you should have a working ZoneMinder 1.25 installation and you can start adding cameras.[/list]
Hi kylejohnson,
Thanks for this puppet module.
I tried to install on a fresh Ubuntu 12.04 32bit + OpenSSH & LAMP, but i experienced two errors.
Any ideas?
Cheers,
John
Hello John,
The service fails to start because ZM failed to compile. I've received a couple reports this week of the module failing to work. Busy this week, so I will be looking into the module this weekend.
I double checked that the module still works on 64 bit, but don't have a 32 bit system lying around to debug it on. I can spin up a 32 bit VM. Any reason you're still using 32bit?
Idling as gnulnx in #zoneminder on freenode. Come say hi!
kylejohnson wrote:
I double checked that the module still works on 64 bit, but don't have a 32 bit system lying around to debug it on. I can spin up a 32 bit VM. Any reason you're still using 32bit?
Thanks for the update.
I'm limited to 2GB of RAM for my ZoneMinder VM... From my experience with 64 bit Windows systems, less than 4GB RAM on a 64 bit machine can be counter productive. However, after some quick Googling it looks like Ubuntu 64-bit will still perform better than a 32 bit with less than 4GB RAM.
I'll try run your puppet module on a 64 bit Ubuntu install and let you know how i go.
I think i found the issue. The install fails if LAMP is already installed... I received the same errors when i tried to install on 64 bit when LAMP was already installed.
Just tried Ubuntu 12.04 64 bit with OpenSSH only and it worked.
Same error here:
warning: could not retrieve fact fqdn
could not find class zoneminder for zoneminder at line 1 on node zoneminder
Any help? I have run your script on another pc with success. This one however does not work.
I am running ubuntu server 12.04 x86_64 minimal with just ssh installed.