Page 1 of 1

Zoneminder on raspberry pi2

Posted: Sat Sep 16, 2017 8:48 pm
by mcgyver83
Hi all, I'm running openmediavault on a raspberry pi2.
I followed a guide to install zoneminder on the raspberry and I tried to configure it for nginx.
Basically I installed zoneminder

Code: Select all

sudo apt-get install zoneminder
and after Cambozola.
I setup nginx and I'm able to see the empty index page but I have some js error loading the page.

I saw that I'm running v1.26.5, so there is something for raspberry that is up to date (so 1.31.x)?
Maybe using nginx :D

Thanks

Re: Zoneminder on raspberry pi2

Posted: Sat Sep 16, 2017 10:27 pm
by rockedge
you can run the latest zoneminder but version 1.30.4 is the stable release. on the forum I have seen config tips for running under nginx that have been discussed in the past. I know it can be done. I remember testing ZM out with openmediavault, and just installing Apache2 for zoneminder and changing the port that nginx and openmediavault run on (i.e. port 8080) so one can run both simultaneously. It is possible to use ZM with the nginx server running with adding some parameters to the nginx config.

Re: Zoneminder on raspberry pi2

Posted: Sun Sep 17, 2017 9:21 am
by mcgyver83
Great, could you link me a guide to install zm 1.30.4 on a raspberry, please?
And also link how to configure nginx?

Thanks

Re: Zoneminder on raspberry pi2

Posted: Sun Sep 17, 2017 6:47 pm
by Baylink
Since the default distro on the Pi, Raspbian, essentially *is* Debian, it's just a matter of either finding a repo that has ARM binaries, or grabbing the source and compiling. I haven't tried that myself, so I don't know if there's a precompiled repo/PPA for ARM9. (I think it's ARM9, these days.)

Re: Zoneminder on raspberry pi2

Posted: Mon Sep 18, 2017 6:53 am
by mcgyver83
Yes is Debian but as you said I'm looking for arm7 repo.
There is a guide to compile zoneminder? I'm not used to compile myself stuff on linux :(
I'm a java developer :)

Re: Zoneminder on raspberry pi2

Posted: Mon Sep 18, 2017 1:32 pm
by Baylink
I *think* there are build notes on the wiki, yes.

Re: Zoneminder on raspberry pi2

Posted: Wed Sep 20, 2017 12:46 am
by rockedge
this will help you with building and compiling ZM
https://github.com/ZoneMinder/ZoneMinde ... er/INSTALL

Re: Zoneminder on raspberry pi2

Posted: Wed Sep 20, 2017 11:49 am
by knight-of-ni
rockedge wrote: Wed Sep 20, 2017 12:46 am this will help you with building and compiling ZM
https://github.com/ZoneMinder/ZoneMinde ... er/INSTALL
I get it if someone who has used zoneminder for a while wants to build from source, but I do want to discourage new users from even thinking about building from source.

I don't recommend anyone build from source because there are less error-prone ways to do it. I don't even build from source. It's too easy to not set one of the many, many cmake flags correctly, and when one reports a problem in the forum, we have no idea how you built it, so our ability to troubleshoot is limited.

Instead, we recommend you follow our documentation to build your own zoneminder package:
http://zoneminder.readthedocs.io/en/lat ... rom-source

By doing it this way, you are following a path known to work, and your resulting zoneminder will be built exactly the way everyone else's zoneminder is built.

The instructions linked above work for both debian and ubuntu.

Alternatively, if you are willing to use Fedora instead of Raspbain, you can get the latest 1.30.4 release for armv7 from RPMFusion
https://rpmfusion.org/

You can get 1.31.1 nightly builds for armv7 from zmrepo:
http://zmrepo.zoneminder.com/

Re: Zoneminder on raspberry pi2

Posted: Sun Sep 24, 2017 2:25 pm
by mcgyver83
Ok, so as I red around compile from scratch is discuraged.
Let me try with http://zmrepo.zoneminder.com/

:)