Zoneminder on raspberry pi2

Forum for questions and support relating to the 1.31.x releases only.
Locked
mcgyver83
Posts: 5
Joined: Tue Dec 27, 2016 3:43 pm

Zoneminder on raspberry pi2

Post 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
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: Zoneminder on raspberry pi2

Post 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.
mcgyver83
Posts: 5
Joined: Tue Dec 27, 2016 3:43 pm

Re: Zoneminder on raspberry pi2

Post 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
Baylink
Posts: 338
Joined: Sun Jun 19, 2005 3:19 am

Re: Zoneminder on raspberry pi2

Post 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.)
mcgyver83
Posts: 5
Joined: Tue Dec 27, 2016 3:43 pm

Re: Zoneminder on raspberry pi2

Post 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 :)
Baylink
Posts: 338
Joined: Sun Jun 19, 2005 3:19 am

Re: Zoneminder on raspberry pi2

Post by Baylink »

I *think* there are build notes on the wiki, yes.
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: Zoneminder on raspberry pi2

Post by rockedge »

this will help you with building and compiling ZM
https://github.com/ZoneMinder/ZoneMinde ... er/INSTALL
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Zoneminder on raspberry pi2

Post 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/
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
mcgyver83
Posts: 5
Joined: Tue Dec 27, 2016 3:43 pm

Re: Zoneminder on raspberry pi2

Post by mcgyver83 »

Ok, so as I red around compile from scratch is discuraged.
Let me try with http://zmrepo.zoneminder.com/

:)
Locked