ZoneMinder now in Fedora

If you've made a patch to quick fix a bug or to add a new feature not yet in the main tree then post it here so others can try it out.
Post Reply
mebourne
Posts: 7
Joined: Wed Jul 04, 2007 9:16 am

ZoneMinder now in Fedora

Post by mebourne »

It's taken a lot longer than I expected, but finally I've got ZoneMinder into the Fedora distribution.

It's available right now in Fedora Extras for Fedora Core 6, in the main Fedora 7 distribution, and in the development 'rawhide' tree. Just:

yum install zoneminder

Take a look at the distro README:
/usr/share/doc/zoneminder-1.22.3/README.Fedora.

If you have the previous zm RPMs installed and want to use the Fedora packages you will need to uninstall the original RPMs first since the new package is marked as conflicting zm. Be careful when you uninstall zm because it does an 'rm -rf /var/lib/zm' on removal (which is why the package is set to conflict rather than upgrade).

Note that zoneminder is built without ffmpeg support - Fedora does not include any mpeg codecs because of patent restrictions. Also the X10 module is not built at the moment, a future update will add that (especially if I get requests for it).

Background info on the packaging is in the original request:
https://bugzilla.redhat.com/bugzilla/sh ... ?id=220931

Have fun!

Martin

PS. Any issues with it please post here or in the Fedora bug. Any questions just reply here.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Wow, This is good news. I guess I shouldn't have bought my new server to build the packages :oops: and I can stop trying to get plague to behave :lol:
Good show.

Cheers,
Corey
kensedlacek
Posts: 1
Joined: Sat Jul 07, 2007 8:49 pm

Receive Dependency error trying to install ZM you posted

Post by kensedlacek »

I received this dependency error when trying to install your posted ZM on a centOS5 server:

Missing Dependency: perl(Device::SerialPort) is needed by package zoneminder.

Any ideas on how to fix this?

Ken
mebourne
Posts: 7
Joined: Wed Jul 04, 2007 9:16 am

Post by mebourne »

Really you want to make use of yum/smart/apt to solve dependencies or you might go on all day looking for them. Google for instructions on how to do this, there's plenty out there.

In this case you'll find it's the perl-Device-SerialPort RPM you need.

Cheers,

Martin.
User avatar
tgutwin
Posts: 24
Joined: Thu Jan 12, 2006 4:02 am
Location: North Vancouver, Canada

Wiki Posting

Post by tgutwin »

Way to go mebourne.

I just added this info to the Wiki.
http://www.zoneminder.com/wiki/index.php/Fedora
Take a look to make sure it looks okay.

tom
------------------------------------------------------------
Don't Let Software Push You Around... Push Back
------------------------------------------------------------
jitz
Posts: 16
Joined: Fri Apr 21, 2006 9:39 pm

notes on my FC7 install

Post by jitz »

Hi:

I did a FC7 install ( mostly default ) to try the zoneminder package. Nice work!

Here are some issues that I ran into:

needed to:
yum install php, mysql-server, and php-mysql

ScriptAlias /cgi-bin "/usr/libexec/zoneminder/cgi-bin"
>vi /etc/httpd/conf.d/zoneminder.conf
Delete line ( Deny from all ) as per notes
<Directory "/usr/share/zoneminder/www">
Options -Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
Deny from all # delete line
</Directory>

Also I found that the path for cgi did not work for my install.
I have done the following workaround. This may need to be
fixed as it conflicts with /etc/

>> original
ScriptAlias /cgi-bin/zm "/usr/libexec/zoneminder/cgi-bin"
>> modified

ScriptAlias /cgi-bin "/usr/libexec/zoneminder/cgi-bin"
<Directory "/usr/libexec/zoneminder/cgi-bin">
AllowOverride All
Options ExecCGI
Order allow,deny
Allow from all
</Directory>

The database did not configure install by default: ( not sure if it was supposed to )

cd /usr/share/zoneminder

mysql mysql < db/zm_create.sql
mysql mysql
mysql> grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'zmpass';
mysql> quit
mysqladmin reload

That was about it, and I had a working install.

Thanks
Jitz
mebourne
Posts: 7
Joined: Wed Jul 04, 2007 9:16 am

Post by mebourne »

Tom, great idea, looks fine.

jitz, fantastic feedback, thanks for your help!

I'll be trying to fix all of those issues in the next update. Couple of points though:
- there shouldn't be a dependency on mysql-server since that can be located on a remote machine, you will need to install that yourself.
- cgi-bin/zm is good, looks like a problem with the initial value of the ZM_PATH_ZMS option in the database. Suggest you change that by hand.

Cheers,

Martin.
jitz
Posts: 16
Joined: Fri Apr 21, 2006 9:39 pm

Post by jitz »

- cgi-bin/zm is good, looks like a problem with the initial value of the ZM_PATH_ZMS option in the database. Suggest you change that by hand.

Confirmed.
modified entry for ZM_PATH_ZMS: /cgi-bin/zm/nph-zms

Works great. Thanks
Jitz
mebourne
Posts: 7
Joined: Wed Jul 04, 2007 9:16 am

Post by mebourne »

Super. Look for zoneminder-1.22.3-7.fc7, coming soon to a repository near you...

Cheers,

Martin.
Post Reply