<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.staging.zoneminder.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Corey205</id>
	<title>ZoneMinder Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.staging.zoneminder.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Corey205"/>
	<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/Special:Contributions/Corey205"/>
	<updated>2026-05-03T16:05:33Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Fedora_Core_6_Step-by-Step&amp;diff=1922</id>
		<title>Fedora Core 6 Step-by-Step</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Fedora_Core_6_Step-by-Step&amp;diff=1922"/>
		<updated>2007-04-10T12:17:07Z</updated>

		<summary type="html">&lt;p&gt;Corey205: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This short guide takes you through the specific tasks you need to install ZoneMinder 1.22.3 from scratch onto a Fedora Core 6 box. It assumes you have selected the &amp;#039;Server&amp;#039; and &amp;#039;Development&amp;#039; package options during install. If you select &amp;#039;All Packages&amp;#039; then you can probably skip most of the first section. It also assumes you have disabled selinux during installation. If not then you will need to disable it by editing /etc/selinux/config or create appropriate policies for the various system components to allow ZoneMinder to run.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;The instructions assume a database name of &amp;#039;zm&amp;#039;, a database user of &amp;#039;zmuser&amp;#039; and a database password of &amp;#039;zmpass&amp;#039;.&lt;br /&gt;
You should change these to something more secure in the ZoneMinder &amp;#039;configure&amp;#039; line and the database &amp;#039;grant&amp;#039; line.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Install Required Packages&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
As root&lt;br /&gt;
&lt;br /&gt;
 yum install mysql-server mysql-devel php-mysql pcre-devel perl-DateManip perl-libwww-perl perl-Device-SerialPort \ &lt;br /&gt;
 perl-MIME-Lite perl-Archive-Zip&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Either Install ffmpeg from Livna&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 rpm -Uvh http://rpm.livna.org/fedora/6/i386/livna-release-6-1.noarch.rpm&lt;br /&gt;
 yum install ffmpeg&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Or Install ffmeg from source&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
 svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg&lt;br /&gt;
 cd ffmpeg/&lt;br /&gt;
 ./configure&lt;br /&gt;
 make&lt;br /&gt;
 make install&lt;br /&gt;
 make install-libs&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Configure system daemons&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
 chkconfig --add mysqld&lt;br /&gt;
 chkconfig --level 345 mysqld on&lt;br /&gt;
 chkconfig --level 345 httpd on&lt;br /&gt;
 service mysqld start&lt;br /&gt;
 service httpd start&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Download and install ZoneMinder&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
 wget http://www.zoneminder.com/downloads/ZoneMinder-1.22.3.tar.gz&lt;br /&gt;
 tar xvfz ZoneMinder-1.22.3.tar.gz&lt;br /&gt;
 cd ZoneMinder-1.22.3&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
At this point you will need to patch the software to correct a problem with the monitor configuration presets  (See patches in wiki table of contents)&lt;br /&gt;
After you patch the software, continue with the following.&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
 ./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin ZM_DB_HOST=localhost ZM_DB_NAME=zm \ &lt;br /&gt;
 ZM_DB_USER=zmuser ZM_DB_PASS=zmpass CFLAGS=&amp;quot;-g -O3 -march=pentium4&amp;quot; CXXFLAGS=&amp;quot;-g -O3 -march=pentium4&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alternate configure command you could use instead of above (check where ffmpg is installed e.g. /usr/bin or /usr/local/bin)&lt;br /&gt;
&lt;br /&gt;
 ./configure --with-mysql=/usr --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-ffmpeg=/usr/bin  \&lt;br /&gt;
 --with-lame=/usr/lib --with-webuser=apache --with-webgroup=apache&lt;br /&gt;
&lt;br /&gt;
Compile Zoneminder&lt;br /&gt;
 make&lt;br /&gt;
As root&lt;br /&gt;
 make install&lt;br /&gt;
----&lt;br /&gt;
Install ZM startup script&lt;br /&gt;
 install scripts/zm /etc/init.d/&lt;br /&gt;
 chkconfig --add zm&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Create and configure the ZoneMinder database&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
 mysql mysql &amp;lt; db/zm_create.sql &lt;br /&gt;
 mysql mysql&lt;br /&gt;
 grant select,insert,update,delete on zm.* to &amp;#039;zmuser&amp;#039;@localhost identified by &amp;#039;zmpass&amp;#039;;&lt;br /&gt;
 quit&lt;br /&gt;
 mysqladmin reload&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Start ZoneMinder&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
 service zm start&lt;br /&gt;
&lt;br /&gt;
Point your web browser at http://127.0.0.1/zm and you should now see the ZoneMinder Console&lt;br /&gt;
&lt;br /&gt;
Refer to the Readme for details on how to set up and configure monitors.&lt;/div&gt;</summary>
		<author><name>Corey205</name></author>
	</entry>
</feed>