Auto install - OR - Easy install

Anything you want added or changed in future versions of ZoneMinder? Post here and there's a chance it will get in! Search to make sure it hasn't already been requested.
Post Reply
User avatar
phaksp
Posts: 30
Joined: Wed Oct 26, 2005 9:57 am
Contact:

Auto install - OR - Easy install

Post by phaksp »

It's looks too me( and for a lot of others i guess) that zone minder is complicated to install...

Is it possible to make things ... more.. herm.. simple ?
Regards,
Sophak
-------------------------------------------------------
Debian stable 2.6.8-4-k7 kernel - logitech pro 4000 X 3 - zoneminder 1.21.3

Learning Php / Mysql / Java /
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

2 ways exist already
ross's live cd (abaout as easy as it gets)
or Cordels CTU zm
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
User avatar
phaksp
Posts: 30
Joined: Wed Oct 26, 2005 9:57 am
Contact:

Post by phaksp »

what about people who wants to use a debian based system instead of mandrake or red hat ?
Regards,
Sophak
-------------------------------------------------------
Debian stable 2.6.8-4-k7 kernel - logitech pro 4000 X 3 - zoneminder 1.21.3

Learning Php / Mysql / Java /
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

granted!

How much do you know about debian etc, could you create a package for this distro that i could host to create others, i think the problem is neither Ross or Cordel use debian so they make their packages for the distros they use. ANd id be utterly useless at trying.

But another rpm or however its done would be great if you can raise one.

I beleive there is another forum meber on here that has done a lot of work getting zm on debian and im sure he posted a mini how to.

James

update : http://www.zoneminder.com/forums/viewto ... ght=debian
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

I'm just curious why you have chosen Debian since you seem to be new to linux?
Linux has always used source installs and is considered the native way of installing any thing as you have the most control.
I will be looking into packaging for Debian at some point but, it will be some time before that happens as I don't have the time or resources to make it happen right now.
Regards,
Cordel
boaba
Posts: 19
Joined: Wed May 25, 2005 4:44 pm
Location: sweden
Contact:

Post by boaba »

Why bother with packaging at all? a sh-script that helps a new user with the settings in configure and runs zmconfig.pl , creates or upgrades the db and so on would be great or you could change approach entirely, start the installation by copying ZoneMinder to the webfolder it will be running from, add the "setup.php" you have made, then install it from a browser with the a "guide"
that might make things a bit easier,so instead of 3 people trying to make packages for 4 or 5 different flavors of Linux you could work together on a "installscript" that is dist-neutral.

only a thought

and by the way, debian is great for beginners :) especially if they want a stable, easy to maintain server for surveillance ;)
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

ok then this script sounds interesting whats involved and how does it handle dependancies and the like? Dont suppose you know enough to start this one off anyone?
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

It's possible an install script will be included in a future version, though actually there are only a handful of steps you have to do (though some require some interaction). The problem is there is no one set of configure scripts that suits everyone, people have difference requirements for the database and different versions or permissin set up etc. So there could be one install script but it would have 10-20 options to be passed to define everything. As it is you have to do each of maybe half a dozen steps yourself but it still might only take a couple of minutes to get it installed.

A web only install is a bit more tricky as ZM isn't a web application. It's a server application that happens to have a web interface so several elements require permissions in excess of what the web server would be able to provide.

Phil
User avatar
phaksp
Posts: 30
Joined: Wed Oct 26, 2005 9:57 am
Contact:

Post by phaksp »

jameswilson wrote:granted!

How much do you know about debian etc, could you create a package for this distro that i could host to create others, i think the problem is neither Ross or Cordel use debian so they make their packages for the distros they use. ANd id be utterly useless at trying.

But another rpm or however its done would be great if you can raise one.

I beleive there is another forum meber on here that has done a lot of work getting zm on debian and im sure he posted a mini how to.

James

update : http://www.zoneminder.com/forums/viewto ... ght=debian
Excellent !! thanks man ! i'll test it !

should this package be seen in the download section ?
Regards,
Sophak
-------------------------------------------------------
Debian stable 2.6.8-4-k7 kernel - logitech pro 4000 X 3 - zoneminder 1.21.3

Learning Php / Mysql / Java /
User avatar
phaksp
Posts: 30
Joined: Wed Oct 26, 2005 9:57 am
Contact:

Post by phaksp »

cordel wrote:I'm just curious why you have chosen Debian since you seem to be new to linux?
Linux has always used source installs and is considered the native way of installing any thing as you have the most control.
I will be looking into packaging for Debian at some point but, it will be some time before that happens as I don't have the time or resources to make it happen right now.
Regards,
Cordel
yes sir, i'm kind a n00B, using debian since a year and half only,i'm using debian to learn to use linux in détail, and i was amazed with it's stability and it's apt-get tool.

and i dream about the day of beeing about to do apt-get install zoneminder

Make my dream come true Magik cordel :)
Regards,
Sophak
-------------------------------------------------------
Debian stable 2.6.8-4-k7 kernel - logitech pro 4000 X 3 - zoneminder 1.21.3

Learning Php / Mysql / Java /
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

I did some peliminary study on Debian and it looks like the process is simular enough that I should be able to manage producing packages. The chalenges are resources at the moment. Once I finnish the 64 bit distro, I think I'm going to flatten the amd64 box and make it into a virtual machine host. Then it can run several OSs and build for both architectures. I did a bit like that on another machine here and it seemed to work well. I just need to learn some of the more automated tools like mach to manage the builds and proper versioning. I still don't even know how to put the headers in for versioning. The best I can tell it's done by CVS or SVN but I know enough about those to be dangerous :wink:
I'm also attempting to reduce the number of machines running here (a recent elecrical storm has helped with that).

I'll look into packaging for Debian again once I get things back up for Cent, Suse and FC4.
Just kep in mind that I also haven't been using Linux all that long. If you look at my join date here on the forum just add a few more months to that so you might say that there are some areas where I am very green.

Regards,
Cordel
Post Reply