Easiest Linux distribution for ZM

Forum for questions and support relating to the 1.26.x releases only.
Locked
snoz
Posts: 3
Joined: Sun Mar 02, 2008 4:17 am

Easiest Linux distribution for ZM

Post by snoz »

Hello All,

I haven't messed with Zone Minder since approximately 2007. Back then, I had little issue getting Fedora setup and ready for zm to compile and install. I tried to get it working a couple years ago in Fedora 17 without success. I've since tried with Fedora .19 but can't get the OS installer to start due to a bug that won't work with my video card.

I've since switched to Gentoo. I'm close, but no cigar. I have Apache, Mysql, PHP, ZM, and I believe all their dependencies added. I'm getting an error when trying to hit the zm base page though.

I guess my question is if there is a Linux distro for which zm is an easier install. Let me know what you think.

Thanks in advance,

-Ethan
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: Easiest Linux distribution for ZM

Post by mastertheknife »

CentOS, or if you prefer being more up to date, Fedora.
We have RPMs for both. I personally use CentOS 6.4 on my intel atom box, works well.

CentOS RPMs: http://www.zoneminder.com/forums/viewto ... =9&t=19119
Fedora RPMs: http://www.zoneminder.com/forums/viewto ... =9&t=21400
Kfir Itzhak.
snoz
Posts: 3
Joined: Sun Mar 02, 2008 4:17 am

Re: Easiest Linux distribution for ZM

Post by snoz »

Thanks Kfir. I'll give Fedora .19 another try.
snoz
Posts: 3
Joined: Sun Mar 02, 2008 4:17 am

Re: Easiest Linux distribution for ZM

Post by snoz »

Question for you all.

I'm trying to install the src rpm from the link above (I'm running 32 bit arch) and am getting the errors below. I've installed Date::Manip via rpm and perl -MCPAN -e shell and MIME::Entity via MCPAN to no avail. Do you have any ideas on a workaround?

error: Failed build dependencies:
perl(Date::Manip) is needed by zoneminder-1.26.5-1.fc19.i686
perl(MIME::Entity) is needed by zoneminder-1.26.5-1.fc19.i686

Thanks again,

-Ethan
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Easiest Linux distribution for ZM

Post by bbunge »

Try Ubuntu! I have installed a 15 camera setup including installing the OS in less than an hour!!!

http://www.zoneminder.com/wiki/index.ph ... e_easy_way

Bill
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Easiest Linux distribution for ZM

Post by knight-of-ni »

snoz wrote:Question for you all.

I'm trying to install the src rpm from the link above (I'm running 32 bit arch) and am getting the errors below. I've installed Date::Manip via rpm and perl -MCPAN -e shell and MIME::Entity via MCPAN to no avail. Do you have any ideas on a workaround?

error: Failed build dependencies:
perl(Date::Manip) is needed by zoneminder-1.26.5-1.fc19.i686
perl(MIME::Entity) is needed by zoneminder-1.26.5-1.fc19.i686

Thanks again,

-Ethan
Next time, please post package related issues into the appropriate, previously mentioned thread. It'll speed up the amount of time it takes for the appropriate person (i.e. me) to see your post.

The short answer to your question is these rpms:
perl-Date-Manip-6.42-1.fc19.noarch
perl-MIME-tools-5.504-1.fc19.noarch
Note that you should not have to install anything from source including/especially the perl modules. If you start going down the path of "perl -MCPAN -e shell" then stop. Something is wrong.

For starters, make sure you've got an rpmbuild environment set up correctly. These instructions work for both centos and fedora: http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment

Next, following the instructions here: http://www.zoneminder.com/forums/viewto ... =9&t=21400 , make sure you add the rpmfusion repo and the two extra perl rpm's.

Lastly, these rpms are based on Fedora 19. I have not tried these on nor installed Fedora 20 so I don't know what to expect. They may work fine.
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/
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Easiest Linux distribution for ZM

Post by knight-of-ni »

UPDATE:
32bit Fedora 19 rpm has been added:
http://www.zoneminder.com/forums/viewto ... =9&t=21400

Please post any package related issues to that thread.
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/
Locked