Difference between revisions of "Fedora"

From ZoneMinder Wiki
Jump to navigationJump to search
Line 6: Line 6:


For problems with ZoneMinder packages from the Fedora Extras Repo, contact the package maintainer Martin Ebourne (mebourne).
For problems with ZoneMinder packages from the Fedora Extras Repo, contact the package maintainer Martin Ebourne (mebourne).
==Fedora 11 and 12==
ZoneMinder version 1.24.2
Problems with compiling fixed by adding  #include <cstdio> to all .cpp files in src directory and removing ccache package (yum remove ccache)
http://www.zoneminder.com/forums/viewtopic.php?p=55152
http://www.zoneminder.com/forums/viewtopic.php?t=12515&sid=0da85eb2fc78917d7a78cf788603a320
If using ffmpeg and ffmpeg-devel packages you may see problem compiling with libavutil.a . I could not get ffmpeg to compile so downloaded the Fedora source package and compiled it manually.
yumdownloader --source ffmpeg
Needed the following packages
sudo yum install dirac-devel faad2-devel gsm-devel imlib2-devel lame-devel libdc1394-devel libtheora-devel libvdpau-devel openjpeg-devel schroedinger-devel speex-devel texi2html x264-devel xvidcore-devel yasm
See http://fozzolog.fozzilinymoo.org/tech/2009/11/recompiling-ffmpeg-for-fedora-12-to-add-faac-support.html


==Fedora 8==
==Fedora 8==
* Have packages for Apache and MySQL installed on the sytem.
* Have packages for Apache and MySQL installed on the system.
* Install the zoneminder RPM package on the system
* Install the zoneminder RPM package on the system
: Fedora Information for package zoneminder
: Fedora Information for package zoneminder

Revision as of 09:18, 11 December 2009

The Fedora Project is a Red Hat sponsored, community-supported open source project. Its stated goal is to promote the rapid progress of free (as in freedom) and open source software and content, and its rapid innovation is possible using open processes and public forums.

The project is led by the Fedora Project Board, which is comprised of community leaders and Red Hat members, and this group steers the direction of the project and of Fedora Core, the Linux distribution it develops. Red Hat employees work with the code alongside community members, and many Fedora Project innovations make their way into new releases of Red Hat Enterprise Linux.

ZoneMinder is developed on the Fedora distribution and no special actions are usually required for installation.

For problems with ZoneMinder packages from the Fedora Extras Repo, contact the package maintainer Martin Ebourne (mebourne).

Fedora 11 and 12

ZoneMinder version 1.24.2

Problems with compiling fixed by adding #include <cstdio> to all .cpp files in src directory and removing ccache package (yum remove ccache)

http://www.zoneminder.com/forums/viewtopic.php?p=55152

http://www.zoneminder.com/forums/viewtopic.php?t=12515&sid=0da85eb2fc78917d7a78cf788603a320

If using ffmpeg and ffmpeg-devel packages you may see problem compiling with libavutil.a . I could not get ffmpeg to compile so downloaded the Fedora source package and compiled it manually.

yumdownloader --source ffmpeg

Needed the following packages

sudo yum install dirac-devel faad2-devel gsm-devel imlib2-devel lame-devel libdc1394-devel libtheora-devel libvdpau-devel openjpeg-devel schroedinger-devel speex-devel texi2html x264-devel xvidcore-devel yasm

See http://fozzolog.fozzilinymoo.org/tech/2009/11/recompiling-ffmpeg-for-fedora-12-to-add-faac-support.html


Fedora 8

  • Have packages for Apache and MySQL installed on the system.
  • Install the zoneminder RPM package on the system
Fedora Information for package zoneminder
* http://koji.fedoraproject.org/koji/packageinfo?packageID=4691
  • Configure zoneminder
  • Make sure Apache and MySQL services are running
  • Edit the zoneminder.conf apache configuration file to allow web connections
 vi /etc/httpd/conf.d/zoneminder.conf
  • Build the MySQL database table for zoneminder
 mysql -p -u root mysql < /usr/share/zoneminder/db/zm_create.sql > mysqladmin -p -u root reload

The Fedora RPM creates /var/log/zoneminder, but the database scripts point logs to /tmp, rather than the new directory.

  • Click Options, Paths tab, and change
 ZM_PATH_LOGS = /var/log/zoneminder
  • Click Options, Debug tab, and change
 ZM_EXTRA_DEBUG_LOG = /var/log/zoneminder/zm_debug.log+
  • Install ffmpeg on Fedora.

Due to licensing the ffmpeg package is absent from Fedora. It can be added from Livna.

 wget http://rpm.livna.org/livna-release-8.rpm
 rpm -ih livna-release-8.rpm
 yum install ffmpeg
 yum install ffmpeg-devel

Which provides the following: ffmpeg-libs-0.4.9-0.41.20071011.lvn8, ffmpeg-0.4.9-0.41.20071011.lvn8, ffmpeg-devel-0.4.9-0.41.20071011.lvn8

  • Test ffmpeg
 ffmpeg -f image2 -i %03d-capture.jpg /tmp/movie.mpg

Fedora 7

Fedora Core 6

Fedora Core 4

Set web user and group correctly and set the log dir to a writeable location. With FC4 there are three things that must be done to get ZM running,:

  1. is in the /etc/ld.so.conf.d/ dir created a file with 775 perm called zm.conf and add the line '/usr/local/lib' to it and type 'ldconfig' once it is added, also with a fresh install of FC4 make sure SE linux is disabled if you are not using it. Check your log path in options under the paths tab. This will tell you were the log are going to be put.
  2. Second make sure the path exists.
  3. Third create the log files if they do not exist and make sure that they have the correct permissions. If zm can not open and write the log files, it will not start.