Page 1 of 1

Can someone check my ZM auto-deploy bash script?

Posted: Tue Aug 11, 2015 12:44 pm
by espressobeanie
Hi all,

I'm working on a Debian bash script to build Zoneminder v1.28.1 from source for the purpose of allowing others to auto-deploy ZM on any Debian box on-the-fly. I have yet to see a good script that does this already and all the ZM documentation I've seen is pretty lousy in specifying what parameters you can use when running './configure' before doing a 'make'. Could someone proof it and let me know if I'm missing anything? I just want to get it up and running. The rest of the 'config' tweaking, I don't care.

http://zmautomate.blogspot.com/2015/08/ ... cript.html

Thanks.

Re: Can someone check my ZM auto-deploy bash script?

Posted: Tue Aug 11, 2015 4:19 pm
by iconnor
Not bad, but as an alternative to ./configure there is ln -sf distros/debian && debuild to build a .deb.

Also, there is using my ppa for debian, in which I have raspberry pi builds...
Add one of the following as appropriate to /etc/apt/sources.list

deb http://zmrepo.zoneminder.com/debian wheezy/
deb http://zmrepo.zoneminder.com/debian-master wheezy/
deb http://zmrepo.zoneminder.com/debian jessie/
deb http://zmrepo.zoneminder.com/debian-master jessie/