Page 1 of 1

ZoneMinder now in Fedora

Posted: Wed Jul 04, 2007 9:31 am
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.

Posted: Wed Jul 04, 2007 9:56 am
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

Receive Dependency error trying to install ZM you posted

Posted: Sat Jul 07, 2007 8:57 pm
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

Posted: Sat Jul 07, 2007 9:08 pm
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.

Wiki Posting

Posted: Tue Jul 10, 2007 4:34 pm
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

notes on my FC7 install

Posted: Thu Jul 12, 2007 6:58 pm
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

Posted: Thu Jul 12, 2007 10:31 pm
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.

Posted: Thu Jul 12, 2007 11:24 pm
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

Posted: Fri Jul 13, 2007 12:51 am
by mebourne
Super. Look for zoneminder-1.22.3-7.fc7, coming soon to a repository near you...

Cheers,

Martin.