Difference between revisions of "Fedora"

From ZoneMinder Wiki
Jump to navigationJump to search
 
(52 intermediate revisions by 11 users not shown)
Line 1: Line 1:
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.
=== Installation Instructions ===
To install ZoneMinder on Fedora, please refer to the instructions shown on our readthedocs site.
[https://zoneminder.readthedocs.io/en/latest/installationguide/redhat.html Redhat - ZoneMinder Documentation]


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.
==== Archived Installation Instructions ====
 
What follows is a link to old installation instructions, which predate rpm installations from zmrepo or rpmfusion. These instructions are kept solely for reference.  
ZoneMinder is developed on the Fedora distribution and no special actions are usually required for installation.
[[Fedora/Archived]]
 
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
 
sudo rpm -Uvh ffmpeg-0.5-5.20091026svn.fc12.src.rpm
 
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  (don't need to add faac support, just follow procedure)
 
My rpmbuild failed so from the BUILD/ffmpeg-20091026
 
make
sudo make install
sudo make install-libs
 
and configured ZoneMinder to use  /usr/local for FFMPEG
 
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-webuser=apache --with-webgroup=apache ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zmuser ZM_DB_PASS=zmpass --with-extralibs="-L/usr -L/usr/lib/mysql" ZM_SSL_LIB=openssl --with-ffmpeg=/usr/local
 
==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 [[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==
* Builds From source - see [[Fedora Core 6 Step-by-Step]] '''AS WELL AS''' [http://www.zoneminder.com/forums/viewtopic.php?t=9414 Fedora 7 forum topic]
*RPMs are Available in the '''main Fedora 7 distribution''', and in the development 'rawhide' tree.
**Its as easy as running: yum install zoneminder
**Take a look at [http://www.zoneminder.com/forums/viewtopic.php?t=9674 The Announcement post in the forums]
 
==Fedora Core 6==
*Build from source [[Fedora Core 6 Step-by-Step]]
 
* RPMs are also available right now in '''Fedora Extras''' for Fedora Core 6. 
** [http://www.zoneminder.com/forums/viewtopic.php?t=9674 The Announcement post in the forums]
 
==Fedora Core 4==
* http://www.zoneminder.com/forums/viewtopic.php?t=5991<br>
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,:
#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.
#Second make sure the path exists.
#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. '''

Latest revision as of 15:47, 11 August 2017

Installation Instructions

To install ZoneMinder on Fedora, please refer to the instructions shown on our readthedocs site. Redhat - ZoneMinder Documentation

Archived Installation Instructions

What follows is a link to old installation instructions, which predate rpm installations from zmrepo or rpmfusion. These instructions are kept solely for reference. Fedora/Archived