Difference between revisions of "Fedora"

From ZoneMinder Wiki
Jump to navigationJump to search
m
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 8==
* Have packages for Apache and MySQL installed on the sytem.
* Install the zoneminder RPM package on the system
* 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 [[Fedora_Linux_Distribution_Reference#Livna:_Get_Important_Packages_Missing_From_Fedora|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 7==

Revision as of 10:50, 12 April 2008

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 8

  • Have packages for Apache and MySQL installed on the sytem.
  • Install the zoneminder RPM package on the system
  • 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.