Can someone check my ZM auto-deploy bash script?

Forum for questions and support relating to the 1.28.x releases only.
Locked
espressobeanie
Posts: 7
Joined: Sun Jan 15, 2012 11:43 pm

Can someone check my ZM auto-deploy bash script?

Post 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.
User avatar
iconnor
Posts: 3273
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

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

Post 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/
Locked