<?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=Nuck</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=Nuck"/>
	<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/Special:Contributions/Nuck"/>
	<updated>2026-04-19T22:40:46Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=5963</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=5963"/>
		<updated>2013-11-01T07:17:50Z</updated>

		<summary type="html">&lt;p&gt;Nuck: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Those who wish to provide links to base system tweaks or enhancements are asked to please show respect for the intent of keeping this guide to the minimum required steps to perform the task at hand. Please keep such &amp;quot;edits&amp;quot; outside of the main body (and scope) of the document --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This howto is intended as a guide through the steps &amp;#039;&amp;#039;required&amp;#039;&amp;#039; to get a Slackware 12.2 system installed and running ZoneMinder. Intentionally avoided are the discussion of hardware specifics, apache setup and any system &amp;quot;tweaks&amp;quot; as they are beyond the scope of this document. The intent is to aid (to a point) only in getting ZoneMinder up and running on a basic Slackware install. Caveat lector - &amp;quot;If you break it, you own all of the pieces.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
As far as hardware goes, chances are good that if your hardware is supported by the [[#http://www.exploits.org/v4l | Video For Linux drivers]]  it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that isn&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot;, as are the forums.&lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
This guide should work with Slackware 13.0 as well, &amp;#039;&amp;#039;provided the appropriate FFMPEG libraries are used&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
*Get a Slackware 12.2 system installed and running.&lt;br /&gt;
&lt;br /&gt;
Download the Slackware dvd from somewhere. Torrents are a good place to download &amp;#039;&amp;#039;if you can wait&amp;#039;&amp;#039;.  Burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
Login and create your disk partitions by running fdisk &amp;#039;&amp;#039;or cfdisk&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
Run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
Reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/httpd.conf&amp;#039;&amp;#039; and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
Run in a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit &amp;#039;&amp;#039;/etc/modprobe.conf&amp;#039;&amp;#039; to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install [[#Install XAWTV (Optional, but recommended)|XAWTV]] (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Hint&amp;#039;&amp;#039;&amp;#039; - People are often seen posting in the forums while fighting it out with hardware, while not realizing that specifying the device identifier &amp;#039;&amp;#039;&amp;#039;/dev/video&amp;#039;&amp;#039;&amp;#039; will not work. And that&amp;#039;s because it won&amp;#039;t ! Specifying &amp;#039;&amp;#039;&amp;#039;/dev/videoX&amp;#039;&amp;#039;&amp;#039; (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
&lt;br /&gt;
== Set Up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy the most appropriate &amp;#039;&amp;#039;/etc/my-*.cnf&amp;#039;&amp;#039; files to &amp;#039;&amp;#039;/etc/my.cnf&amp;#039;&amp;#039; and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
Set up mysql databases with: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_install_db --user=mysql &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Update Perl And Install Required Modules==&lt;br /&gt;
&lt;br /&gt;
Update perl and install any dependencies (make life easy and accept all of the defaults.) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MD5 &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;reload cpan &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Date::Manip &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Module::Load &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
===Install ffmpeg dependencies===&lt;br /&gt;
&lt;br /&gt;
Go to a [http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ Slacky repository], find, download and install the following packages - (they are all within 2 or 3 directories) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
multimedia/amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faad2-2.6.1-i486-5sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/lame-3.98.2-i486-2sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Install ffmpeg=== &lt;br /&gt;
&lt;br /&gt;
On the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then source the install file - &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Which will download the latest svn, build it and create an installable .tgz. Install it once done.&lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware:&lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
Download ZM 1.23.3 or ZM 1.24.&lt;br /&gt;
&lt;br /&gt;
Untar and cd into the zm-&amp;quot;version&amp;quot; directory and run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin --prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Take look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build go ahead and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;d prefer to do a test run on make install, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look over install_this and if you are happy with what you see, then run make install&lt;br /&gt;
&lt;br /&gt;
== Install ZM Database and Finalize MySql Installation ==&lt;br /&gt;
&lt;br /&gt;
While in the zm-&amp;quot;version&amp;quot; directory run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysqladmin reload &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set a root password for mysql and lock it down.  Run the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_secure_installation &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And finally: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
#chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.zm start &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To start ZoneMinder at boot, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#echo &amp;quot;/etc/rc.d/rc.zm start &amp;quot; &amp;gt; /etc/rc.d/rc.local&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test It Out ==&lt;br /&gt;
&lt;br /&gt;
From a command line prompt run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3851</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3851"/>
		<updated>2010-08-12T09:23:35Z</updated>

		<summary type="html">&lt;p&gt;Nuck: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Those who wish to provide links to base system tweaks or enhancements are asked to please show respect for the intent of keeping this guide to the minimum required steps to perform the task at hand. Please keep such &amp;quot;edits&amp;quot; outside of the main body (and scope) of the document --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This howto is intended as a guide through the steps &amp;#039;&amp;#039;required&amp;#039;&amp;#039; to get a Slackware 12.2 system installed and running ZoneMinder. Intentionally avoided are the discussion of hardware specifics, apache setup and any system &amp;quot;tweaks&amp;quot; as they are beyond the scope of this document. The intent is to aid (to a point) only in getting ZoneMinder up and running on a basic Slackware install. Caveat lector - &amp;quot;If you break it, you own all of the pieces.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
As far as hardware goes, chances are good that if your hardware is supported by the [[#http://www.exploits.org/v4l | Video For Linux drivers]]  it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that isn&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot;, as are the forums.&lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
This guide should work with Slackware 13.0 as well, &amp;#039;&amp;#039;provided the appropriate FFMPEG libraries are used&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
*Get a Slackware 12.2 system installed and running.&lt;br /&gt;
&lt;br /&gt;
Download the Slackware dvd from somewhere. Torrents are a good place to download &amp;#039;&amp;#039;if you can wait&amp;#039;&amp;#039;.  Burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
Login and create your disk partitions by running fdisk &amp;#039;&amp;#039;or cfdisk&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
Run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
Reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/httpd.conf&amp;#039;&amp;#039; and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
Run in a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit &amp;#039;&amp;#039;/etc/modprobe.conf&amp;#039;&amp;#039; to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install [[#Install XAWTV (Optional, but recommended)|XAWTV]] (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Hint&amp;#039;&amp;#039;&amp;#039; - People are often seen posting in the forums while fighting it out with hardware, while not realizing that specifying the device identifier &amp;#039;&amp;#039;&amp;#039;/dev/video&amp;#039;&amp;#039;&amp;#039; will not work. And that&amp;#039;s because it won&amp;#039;t ! Specifying &amp;#039;&amp;#039;&amp;#039;/dev/videoX&amp;#039;&amp;#039;&amp;#039; (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
&lt;br /&gt;
== Set Up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy the most appropriate &amp;#039;&amp;#039;/etc/my-*.cnf&amp;#039;&amp;#039; files to &amp;#039;&amp;#039;/etc/my.cnf&amp;#039;&amp;#039; and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
Set up mysql databases with: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_install_db --user=mysql &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Update Perl And Install Required Modules==&lt;br /&gt;
&lt;br /&gt;
Update perl and install any dependencies (make life easy and accept all of the defaults.) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MD5 &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;reload cpan &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Date::Manip &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Module::Load &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
===Install ffmpeg dependencies===&lt;br /&gt;
&lt;br /&gt;
Go to a [http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ Slacky repository], find, download and install the following packages - (they are all within 2 or 3 directories) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
multimedia/amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faad2-2.6.1-i486-5sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/lame-3.98.2-i486-2sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Install ffmpeg=== &lt;br /&gt;
&lt;br /&gt;
On the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then source the install file - &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Which will download the latest svn, build it and create an installable .tgz. Install it once done.&lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware:&lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
Download ZM 1.23.3 or ZM 1.24.&lt;br /&gt;
&lt;br /&gt;
Untar and cd into the zm-&amp;quot;version&amp;quot; directory and run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin --prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Take look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build go ahead and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;d prefer to do a test run on make install, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look over install_this and if you are happy with what you see, then run make install&lt;br /&gt;
&lt;br /&gt;
== Install ZM Database and Finalize MySql Installation ==&lt;br /&gt;
&lt;br /&gt;
While in the zm-&amp;quot;version&amp;quot; directory run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysqladmin reload &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set a root password for mysql and lock it down.  Run the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_secure_installation &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And finally: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
#chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.zm start &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To start ZoneMinder at boot, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#echo &amp;quot;/etc/rc.d/rc.zm start &amp;quot; /etc/rc,d/rc.local&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test It Out ==&lt;br /&gt;
&lt;br /&gt;
From a command line prompt run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3850</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3850"/>
		<updated>2010-08-12T09:22:39Z</updated>

		<summary type="html">&lt;p&gt;Nuck: Hopefully final.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Those who wish to provide links to base system tweaks or enhancements are asked to please show respect for the intent of keeping this guide to the minimum required steps to perform the task at hand. Please keep such &amp;quot;edits&amp;quot; outside of the main body (and scope) of the document --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This guide is intended as a guide through the steps &amp;#039;&amp;#039;required&amp;#039;&amp;#039; to get a Slackware 12.2 system installed and running ZoneMinder. Intentionally avoided are the discussion of hardware specifics, apache setup and any system &amp;quot;tweaks&amp;quot; as they are beyond the scope of this document. The intent is to aid (to a point) only in getting ZoneMinder up and running on a basic Slackware install. Caveat lector - &amp;quot;If you break it, you own all of the pieces.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
As far as hardware goes, chances are good that if your hardware is supported by the [[#http://www.exploits.org/v4l | Video For Linux drivers]]  it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that isn&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot;, as are the forums.&lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
This guide should work with Slackware 13.0 as well, &amp;#039;&amp;#039;provided the appropriate FFMPEG libraries are used&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
*Get a Slackware 12.2 system installed and running.&lt;br /&gt;
&lt;br /&gt;
Download the Slackware dvd from somewhere. Torrents are a good place to download &amp;#039;&amp;#039;if you can wait&amp;#039;&amp;#039;.  Burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
Login and create your disk partitions by running fdisk &amp;#039;&amp;#039;or cfdisk&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
Run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
Reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/httpd.conf&amp;#039;&amp;#039; and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
Run in a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit &amp;#039;&amp;#039;/etc/modprobe.conf&amp;#039;&amp;#039; to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install [[#Install XAWTV (Optional, but recommended)|XAWTV]] (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Hint&amp;#039;&amp;#039;&amp;#039; - People are often seen posting in the forums while fighting it out with hardware, while not realizing that specifying the device identifier &amp;#039;&amp;#039;&amp;#039;/dev/video&amp;#039;&amp;#039;&amp;#039; will not work. And that&amp;#039;s because it won&amp;#039;t ! Specifying &amp;#039;&amp;#039;&amp;#039;/dev/videoX&amp;#039;&amp;#039;&amp;#039; (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
&lt;br /&gt;
== Set Up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy the most appropriate &amp;#039;&amp;#039;/etc/my-*.cnf&amp;#039;&amp;#039; files to &amp;#039;&amp;#039;/etc/my.cnf&amp;#039;&amp;#039; and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
Set up mysql databases with: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_install_db --user=mysql &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Update Perl And Install Required Modules==&lt;br /&gt;
&lt;br /&gt;
Update perl and install any dependencies (make life easy and accept all of the defaults.) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MD5 &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;reload cpan &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Date::Manip &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Module::Load &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
===Install ffmpeg dependencies===&lt;br /&gt;
&lt;br /&gt;
Go to a [http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ Slacky repository], find, download and install the following packages - (they are all within 2 or 3 directories) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
multimedia/amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faad2-2.6.1-i486-5sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/lame-3.98.2-i486-2sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Install ffmpeg=== &lt;br /&gt;
&lt;br /&gt;
On the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then source the install file - &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Which will download the latest svn, build it and create an installable .tgz. Install it once done.&lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware:&lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
Download ZM 1.23.3 or ZM 1.24.&lt;br /&gt;
&lt;br /&gt;
Untar and cd into the zm-&amp;quot;version&amp;quot; directory and run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin --prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Take look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build go ahead and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;d prefer to do a test run on make install, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look over install_this and if you are happy with what you see, then run make install&lt;br /&gt;
&lt;br /&gt;
== Install ZM Database and Finalize MySql Installation ==&lt;br /&gt;
&lt;br /&gt;
While in the zm-&amp;quot;version&amp;quot; directory run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysqladmin reload &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set a root password for mysql and lock it down.  Run the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_secure_installation &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And finally: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
#chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.zm start &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To start ZoneMinder at boot, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#echo &amp;quot;/etc/rc.d/rc.zm start &amp;quot; /etc/rc,d/rc.local&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test It Out ==&lt;br /&gt;
&lt;br /&gt;
From a command line prompt run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3849</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3849"/>
		<updated>2010-08-12T08:51:54Z</updated>

		<summary type="html">&lt;p&gt;Nuck: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is intended as a guide through the &amp;#039;&amp;#039;required&amp;#039;&amp;#039; steps to get a Slackware 12.2 system installed and running ZoneMinder. Intentionally avoided are the discussion of hardware specifics, apache setup and any system &amp;quot;tweaks&amp;quot; as they are beyond the scope of this document. The intent is to aid (to a point) only in getting ZoneMinder up and running on a basic Slackware install. Caveat lector - &amp;quot;If you break it, you own all of the pieces.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
As far as hardware goes, chances are good that if your hardware is supported by the [[#http://www.exploits.org/v4l | Video For Linux drivers]]  it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that isn&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot;, as are the forums.&lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
This guide should work with Slackware 13.0 as well, &amp;#039;&amp;#039;provided the appropriate FFMPEG libraries are used&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
*Get a Slackware 12.2 system installed and running.&lt;br /&gt;
&lt;br /&gt;
Download the Slackware dvd from somewhere. Torrents are a good place to download &amp;#039;&amp;#039;if you can wait&amp;#039;&amp;#039;.  Burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
Login and create your disk partitions by running fdisk &amp;#039;&amp;#039;or cfdisk&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
Run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
Reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/httpd.conf&amp;#039;&amp;#039; and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
Run in a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit &amp;#039;&amp;#039;/etc/modprobe.conf&amp;#039;&amp;#039; to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install [[#Install XAWTV (Optional, but recommended)|XAWTV]] (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Hint&amp;#039;&amp;#039;&amp;#039; - People are often seen posting in the forums while fighting it out with hardware, while not realizing that specifying the device identifier &amp;#039;&amp;#039;&amp;#039;/dev/video&amp;#039;&amp;#039;&amp;#039; will not work. And that&amp;#039;s because it won&amp;#039;t ! Specifying &amp;#039;&amp;#039;&amp;#039;/dev/videoX&amp;#039;&amp;#039;&amp;#039; (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
&lt;br /&gt;
== Set Up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy the most appropriate &amp;#039;&amp;#039;/etc/my-*.cnf&amp;#039;&amp;#039; files to &amp;#039;&amp;#039;/etc/my.cnf&amp;#039;&amp;#039; and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
Set up mysql databases with: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_install_db --user=mysql &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Update Perl And Install Required Modules==&lt;br /&gt;
&lt;br /&gt;
Update perl and install any dependencies (make life easy and accept all of the defaults.) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MD5 &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;reload cpan &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Date::Manip &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Module::Load &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
===Install ffmpeg dependencies===&lt;br /&gt;
&lt;br /&gt;
Go to a [http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ Slacky repository], find, download and install the following packages - (they are all within 2 or 3 directories) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
multimedia/amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faad2-2.6.1-i486-5sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/lame-3.98.2-i486-2sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Install ffmpeg=== &lt;br /&gt;
&lt;br /&gt;
On the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then source the install file - &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Which will download the latest svn, build it and create an installable .tgz. Install it once done.&lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware:&lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
Download ZM 1.23.3 or ZM 1.24.&lt;br /&gt;
&lt;br /&gt;
Untar and cd into the zm-&amp;quot;version&amp;quot; directory and run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin --prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Take look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build go ahead and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;d prefer to do a test run on make install, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look over install_this and if you are happy with what you see, then run make install&lt;br /&gt;
&lt;br /&gt;
== Install ZM Database and Finalize MySql Installation ==&lt;br /&gt;
&lt;br /&gt;
While in the zm-&amp;quot;version&amp;quot; directory run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysqladmin reload &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set a root password for mysql and lock it down.  Run the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_secure_installation &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And finally: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
#chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.zm start &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To start ZoneMinder at boot, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#echo &amp;quot;/etc/rc.d/rc.zm start &amp;quot; /etc/rc,d/rc.local&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test It Out ==&lt;br /&gt;
&lt;br /&gt;
From a command line prompt run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3848</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3848"/>
		<updated>2010-08-12T08:49:22Z</updated>

		<summary type="html">&lt;p&gt;Nuck: /* Install ffmpeg */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is intended as a guide through the &amp;#039;&amp;#039;required&amp;#039;&amp;#039; steps to get a Slackware 12.2 system installed and running ZoneMinder. Intentionally avoided are the discussion of hardware specifics, apache setup and any system &amp;quot;tweaks&amp;quot; as they are beyond the scope of this document. The intent is to aid (to a point) in getting ZoneMinder up and running on a basic Slackware install only. Caveat lector - &amp;quot;If you break it, you own all of the pieces.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
As far as hardware goes, chances are good that if your hardware is supported by the [[#http://www.exploits.org/v4l | Video For Linux drivers]]  it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that isn&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot;, as are the forums.&lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
This guide should work with Slackware 13.0 as well, &amp;#039;&amp;#039;provided the appropriate FFMPEG libraries are used&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
*Get a Slackware 12.2 system installed and running.&lt;br /&gt;
&lt;br /&gt;
Download the Slackware dvd from somewhere. Torrents are a good place to download &amp;#039;&amp;#039;if you can wait&amp;#039;&amp;#039;.  Burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
Login and create your disk partitions by running fdisk &amp;#039;&amp;#039;or cfdisk&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
Run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
Reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/httpd.conf&amp;#039;&amp;#039; and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
Run in a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit &amp;#039;&amp;#039;/etc/modprobe.conf&amp;#039;&amp;#039; to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install [[#Install XAWTV (Optional, but recommended)|XAWTV]] (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Hint&amp;#039;&amp;#039;&amp;#039; - People are often seen posting in the forums while fighting it out with hardware, while not realizing that specifying the device identifier &amp;#039;&amp;#039;&amp;#039;/dev/video&amp;#039;&amp;#039;&amp;#039; will not work. And that&amp;#039;s because it won&amp;#039;t ! Specifying &amp;#039;&amp;#039;&amp;#039;/dev/videoX&amp;#039;&amp;#039;&amp;#039; (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
&lt;br /&gt;
== Set Up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy the most appropriate &amp;#039;&amp;#039;/etc/my-*.cnf&amp;#039;&amp;#039; files to &amp;#039;&amp;#039;/etc/my.cnf&amp;#039;&amp;#039; and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
Set up mysql databases with: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_install_db --user=mysql &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Update Perl And Install Required Modules==&lt;br /&gt;
&lt;br /&gt;
Update perl and install any dependencies (make life easy and accept all of the defaults.) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MD5 &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;reload cpan &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Date::Manip &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Module::Load &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
===Install ffmpeg dependencies===&lt;br /&gt;
&lt;br /&gt;
Go to a [http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ Slacky repository], find, download and install the following packages - (they are all within 2 or 3 directories) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
multimedia/amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faad2-2.6.1-i486-5sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/lame-3.98.2-i486-2sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Install ffmpeg=== &lt;br /&gt;
&lt;br /&gt;
On the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then source the install file - &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Which will download the latest svn, build it and create an installable .tgz. Install it once done.&lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware:&lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
Download ZM 1.23.3 or ZM 1.24.&lt;br /&gt;
&lt;br /&gt;
Untar and cd into the zm-&amp;quot;version&amp;quot; directory and run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin --prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Take look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build go ahead and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;d prefer to do a test run on make install, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look over install_this and if you are happy with what you see, then run make install&lt;br /&gt;
&lt;br /&gt;
== Install ZM Database and Finalize MySql Installation ==&lt;br /&gt;
&lt;br /&gt;
While in the zm-&amp;quot;version&amp;quot; directory run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysqladmin reload &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set a root password for mysql and lock it down.  Run the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_secure_installation &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And finally: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
#chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.zm start &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To start ZoneMinder at boot, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#echo &amp;quot;/etc/rc.d/rc.zm start &amp;quot; /etc/rc,d/rc.local&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test It Out ==&lt;br /&gt;
&lt;br /&gt;
From a command line prompt run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3847</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3847"/>
		<updated>2010-08-12T08:47:43Z</updated>

		<summary type="html">&lt;p&gt;Nuck: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is intended as a guide through the &amp;#039;&amp;#039;required&amp;#039;&amp;#039; steps to get a Slackware 12.2 system installed and running ZoneMinder. Intentionally avoided are the discussion of hardware specifics, apache setup and any system &amp;quot;tweaks&amp;quot; as they are beyond the scope of this document. The intent is to aid (to a point) in getting ZoneMinder up and running on a basic Slackware install only. Caveat lector - &amp;quot;If you break it, you own all of the pieces.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
As far as hardware goes, chances are good that if your hardware is supported by the [[#http://www.exploits.org/v4l | Video For Linux drivers]]  it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that isn&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot;, as are the forums.&lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
This guide should work with Slackware 13.0 as well, &amp;#039;&amp;#039;provided the appropriate FFMPEG libraries are used&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
*Get a Slackware 12.2 system installed and running.&lt;br /&gt;
&lt;br /&gt;
Download the Slackware dvd from somewhere. Torrents are a good place to download &amp;#039;&amp;#039;if you can wait&amp;#039;&amp;#039;.  Burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
Login and create your disk partitions by running fdisk &amp;#039;&amp;#039;or cfdisk&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
Run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
Reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/httpd.conf&amp;#039;&amp;#039; and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
Run in a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit &amp;#039;&amp;#039;/etc/modprobe.conf&amp;#039;&amp;#039; to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install [[#Install XAWTV (Optional, but recommended)|XAWTV]] (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Hint&amp;#039;&amp;#039;&amp;#039; - People are often seen posting in the forums while fighting it out with hardware, while not realizing that specifying the device identifier &amp;#039;&amp;#039;&amp;#039;/dev/video&amp;#039;&amp;#039;&amp;#039; will not work. And that&amp;#039;s because it won&amp;#039;t ! Specifying &amp;#039;&amp;#039;&amp;#039;/dev/videoX&amp;#039;&amp;#039;&amp;#039; (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
&lt;br /&gt;
== Set Up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy the most appropriate &amp;#039;&amp;#039;/etc/my-*.cnf&amp;#039;&amp;#039; files to &amp;#039;&amp;#039;/etc/my.cnf&amp;#039;&amp;#039; and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
Set up mysql databases with: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_install_db --user=mysql &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Update Perl And Install Required Modules==&lt;br /&gt;
&lt;br /&gt;
Update perl and install any dependencies (make life easy and accept all of the defaults.) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MD5 &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;reload cpan &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Date::Manip &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Module::Load &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
===Install ffmpeg dependencies===&lt;br /&gt;
&lt;br /&gt;
Go to a [http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ Slacky repository], find, download and install the following packages - (they are all within 2 or 3 directories) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
multimedia/amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faad2-2.6.1-i486-5sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/lame-3.98.2-i486-2sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Install ffmpeg=== &lt;br /&gt;
&lt;br /&gt;
On the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then source the install file - &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Which will download the latest svn, build it and create an installable .tgz. Install it once done. &lt;br /&gt;
&lt;br /&gt;
As an alternative, most of these packages can be built by using the build scripts at [http://slackbuilds.org/repository/12.2/ slackbuilds.org]. &lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware:&lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
Download ZM 1.23.3 or ZM 1.24.&lt;br /&gt;
&lt;br /&gt;
Untar and cd into the zm-&amp;quot;version&amp;quot; directory and run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin --prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Take look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build go ahead and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;d prefer to do a test run on make install, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look over install_this and if you are happy with what you see, then run make install&lt;br /&gt;
&lt;br /&gt;
== Install ZM Database and Finalize MySql Installation ==&lt;br /&gt;
&lt;br /&gt;
While in the zm-&amp;quot;version&amp;quot; directory run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysqladmin reload &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set a root password for mysql and lock it down.  Run the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_secure_installation &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And finally: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
#chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.zm start &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To start ZoneMinder at boot, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#echo &amp;quot;/etc/rc.d/rc.zm start &amp;quot; /etc/rc,d/rc.local&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test It Out ==&lt;br /&gt;
&lt;br /&gt;
From a command line prompt run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3846</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3846"/>
		<updated>2010-08-12T08:44:21Z</updated>

		<summary type="html">&lt;p&gt;Nuck: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is intended as a guide through the &amp;#039;&amp;#039;required&amp;#039;&amp;#039; steps to get a Slackware 12.2 system installed and running ZoneMinder. Intentionally avoided are the discussion of hardware specifics, apache setup and any system &amp;quot;tweaks&amp;quot; as they are beyond the scope of this document. The intent is to aid (to a point) in getting ZoneMinder up and running on a basic Slackware install. Caveat lector - &amp;quot;If you break it, you own all of the pieces.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
As far as hardware goes, chances are good that if your hardware is supported by the [[#http://www.exploits.org/v4l | Video For Linux drivers]]  it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that isn&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot;, as are the forums.&lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
This guide should work with Slackware 13.0 as well, &amp;#039;&amp;#039;provided the appropriate FFMPEG libraries are used&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
*Get a Slackware 12.2 system installed and running.&lt;br /&gt;
&lt;br /&gt;
Download the Slackware dvd from somewhere. Torrents are a good place to download &amp;#039;&amp;#039;if you can wait&amp;#039;&amp;#039;.  Burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
Login and create your disk partitions by running fdisk &amp;#039;&amp;#039;or cfdisk&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
Run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
Reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/httpd.conf&amp;#039;&amp;#039; and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
Run in a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit &amp;#039;&amp;#039;/etc/modprobe.conf&amp;#039;&amp;#039; to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install [[#Install XAWTV (Optional, but recommended)|XAWTV]] (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Hint&amp;#039;&amp;#039;&amp;#039; - People are often seen posting in the forums while fighting it out with hardware, while not realizing that specifying the device identifier &amp;#039;&amp;#039;&amp;#039;/dev/video&amp;#039;&amp;#039;&amp;#039; will not work. And that&amp;#039;s because it won&amp;#039;t ! Specifying &amp;#039;&amp;#039;&amp;#039;/dev/videoX&amp;#039;&amp;#039;&amp;#039; (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
&lt;br /&gt;
== Set Up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy the most appropriate &amp;#039;&amp;#039;/etc/my-*.cnf&amp;#039;&amp;#039; files to &amp;#039;&amp;#039;/etc/my.cnf&amp;#039;&amp;#039; and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
Set up mysql databases with: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_install_db --user=mysql &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Update Perl And Install Required Modules==&lt;br /&gt;
&lt;br /&gt;
Update perl and install any dependencies (make life easy and accept all of the defaults.) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MD5 &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;reload cpan &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Date::Manip &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Module::Load &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
===Install ffmpeg dependencies===&lt;br /&gt;
&lt;br /&gt;
Go to a [http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ Slacky repository], find, download and install the following packages - (they are all within 2 or 3 directories) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
multimedia/amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faad2-2.6.1-i486-5sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/lame-3.98.2-i486-2sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Install ffmpeg=== &lt;br /&gt;
&lt;br /&gt;
On the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then source the install file - &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Which will download the latest svn, build it and create an installable .tgz. Install it once done. &lt;br /&gt;
&lt;br /&gt;
As an alternative, most of these packages can be built by using the build scripts at [http://slackbuilds.org/repository/12.2/ slackbuilds.org]. &lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware:&lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
Download ZM 1.23.3 or ZM 1.24.&lt;br /&gt;
&lt;br /&gt;
Untar and cd into the zm-&amp;quot;version&amp;quot; directory and run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin --prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Take look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build go ahead and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;d prefer to do a test run on make install, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look over install_this and if you are happy with what you see, then run make install&lt;br /&gt;
&lt;br /&gt;
== Install ZM Database and Finalize MySql Installation ==&lt;br /&gt;
&lt;br /&gt;
While in the zm-&amp;quot;version&amp;quot; directory run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysqladmin reload &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set a root password for mysql and lock it down.  Run the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_secure_installation &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And finally: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
#chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.zm start &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To start ZoneMinder at boot, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#echo &amp;quot;/etc/rc.d/rc.zm start &amp;quot; /etc/rc,d/rc.local&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test It Out ==&lt;br /&gt;
&lt;br /&gt;
From a command line prompt run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3845</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3845"/>
		<updated>2010-08-12T05:14:38Z</updated>

		<summary type="html">&lt;p&gt;Nuck: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is rough looking, with little formatting and therefore subject to reader interpretation.&lt;br /&gt;
&lt;br /&gt;
This page is only intended to aid in getting a Slackware 12.2 system up and running with ZoneMinder installed. I have intentionally avoided gettng into the specifics of hardware and apache setup simply because there are too many variables to consider. As far as hardware goes, chances are good that if your hardware is supported by the Video For Linux drivers, it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that I haven&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot; . &lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
This guide should work with Slackware 13.0 as well, &amp;#039;&amp;#039;provided appropriate FFMPEG updates are used&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
Get a Slackware 12.2 system installed and running. &lt;br /&gt;
&lt;br /&gt;
Download the Slackware dvd from somewhere, use a torrent if you can.  Burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
Login and create your disk partitions by running fdisk or cfdisk. &lt;br /&gt;
&lt;br /&gt;
Run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
Reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/httpd.conf&amp;#039;&amp;#039; and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
Run in a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;#039;&amp;#039;Optional &amp;#039;&amp;#039; - Install Lamp ===&lt;br /&gt;
*: If desired, a Slackware Lamp install can be obtained here : [http://stanley-garvey.com/lamp1.php AMP] &lt;br /&gt;
*: If you install Lamp you need to do the following - &lt;br /&gt;
*: Edit &amp;#039;&amp;#039;/etc/httpd/php.ini&amp;#039;&amp;#039; and &amp;#039;&amp;#039;change short_open_tag&amp;#039;&amp;#039; to &amp;#039;&amp;#039;On&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note : Lamp is installed after Slackware and beyond the scope of this howto. See the appropriate documentation at site link provided above. &amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Set Up Your Hardware ==&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit &amp;#039;&amp;#039;/etc/modprobe.conf&amp;#039;&amp;#039; to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install [[#Install XAWTV (Optional, but recommended)|XAWTV]] (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Hint&amp;#039;&amp;#039;&amp;#039; - People are often seen posting in the forums while fighting it out with hardware, while not realizing that specifying the device identifier &amp;#039;&amp;#039;&amp;#039;/dev/video&amp;#039;&amp;#039;&amp;#039; will not work. And that&amp;#039;s because it won&amp;#039;t ! Specifying &amp;#039;&amp;#039;&amp;#039;/dev/videoX&amp;#039;&amp;#039;&amp;#039; (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
&lt;br /&gt;
== Set Up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy one of the &amp;#039;&amp;#039;/etc/my-*.cnf&amp;#039;&amp;#039; files to &amp;#039;&amp;#039;/etc/my.cnf&amp;#039;&amp;#039; and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
Set up mysql databases with: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_install_db --user=mysql &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Update Perl And Install Required Modules==&lt;br /&gt;
&lt;br /&gt;
Update perl and install any dependencies (make life easy and accept all of the defaults.) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MD5 &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;reload cpan &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Date::Manip &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Module::Load &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
===Install ffmpeg dependencies===&lt;br /&gt;
&lt;br /&gt;
Go to http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ , find, download and install the following packages - (they are all within 2 or 3 directories) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
multimedia/amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faad2-2.6.1-i486-5sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/lame-3.98.2-i486-2sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Install ffmpeg=== &lt;br /&gt;
&lt;br /&gt;
On the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then source the install file - &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Which will download the latest svn, build it and create an installable .tgz. Install it once done. &lt;br /&gt;
&lt;br /&gt;
As an alternative, most of these packages can be built by using the build scripts at [http://slackbuilds.org/repository/12.2/ slackbuilds.org].&lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware:&lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
Download ZM 1.23.3 or ZM 1.24.&lt;br /&gt;
&lt;br /&gt;
Untar and cd into the zm-&amp;quot;version&amp;quot; directory and run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin --prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Take look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build go ahead and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;d prefer to do a test run on make install, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look over install_this and if you are happy with what you see, then run make install&lt;br /&gt;
&lt;br /&gt;
== Install ZM Database and Finalize MySql Installation ==&lt;br /&gt;
&lt;br /&gt;
While in the zm-&amp;quot;version&amp;quot; directory run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysqladmin reload &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set a root password for mysql and lock it down.  Run the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_secure_installation &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And finally: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
#chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.zm start &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To start ZoneMinder at boot, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#echo &amp;quot;/etc/rc.d/rc.zm start &amp;quot; /etc/rc,d/rc.local&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test It Out ==&lt;br /&gt;
&lt;br /&gt;
From a command line prompt run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3844</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3844"/>
		<updated>2010-08-12T05:14:15Z</updated>

		<summary type="html">&lt;p&gt;Nuck: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is rough looking, with little formatting and therefore subject to reader interpretation.&lt;br /&gt;
&lt;br /&gt;
This page is only intended to aid in getting a Slackware 12.2 system up and running with ZoneMinder installed. I have intentionally avoided gettng into the specifics of hardware and apache setup simply because there are too many variables to consider. As far as hardware goes, chances are good that if your hardware is supported by the Video For Linux drivers, it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that I haven&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot; . &lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
This guide should work with Slackware 13.0 as well, &amp;#039;&amp;#039;provided approriate FFMPEG updates are used&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
Get a Slackware 12.2 system installed and running. &lt;br /&gt;
&lt;br /&gt;
Download the Slackware dvd from somewhere, use a torrent if you can.  Burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
Login and create your disk partitions by running fdisk or cfdisk. &lt;br /&gt;
&lt;br /&gt;
Run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
Reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/httpd.conf&amp;#039;&amp;#039; and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
Run in a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;#039;&amp;#039;Optional &amp;#039;&amp;#039; - Install Lamp ===&lt;br /&gt;
*: If desired, a Slackware Lamp install can be obtained here : [http://stanley-garvey.com/lamp1.php AMP] &lt;br /&gt;
*: If you install Lamp you need to do the following - &lt;br /&gt;
*: Edit &amp;#039;&amp;#039;/etc/httpd/php.ini&amp;#039;&amp;#039; and &amp;#039;&amp;#039;change short_open_tag&amp;#039;&amp;#039; to &amp;#039;&amp;#039;On&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note : Lamp is installed after Slackware and beyond the scope of this howto. See the appropriate documentation at site link provided above. &amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Set Up Your Hardware ==&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit &amp;#039;&amp;#039;/etc/modprobe.conf&amp;#039;&amp;#039; to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install [[#Install XAWTV (Optional, but recommended)|XAWTV]] (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Hint&amp;#039;&amp;#039;&amp;#039; - People are often seen posting in the forums while fighting it out with hardware, while not realizing that specifying the device identifier &amp;#039;&amp;#039;&amp;#039;/dev/video&amp;#039;&amp;#039;&amp;#039; will not work. And that&amp;#039;s because it won&amp;#039;t ! Specifying &amp;#039;&amp;#039;&amp;#039;/dev/videoX&amp;#039;&amp;#039;&amp;#039; (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
&lt;br /&gt;
== Set Up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy one of the &amp;#039;&amp;#039;/etc/my-*.cnf&amp;#039;&amp;#039; files to &amp;#039;&amp;#039;/etc/my.cnf&amp;#039;&amp;#039; and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
Set up mysql databases with: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_install_db --user=mysql &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Update Perl And Install Required Modules==&lt;br /&gt;
&lt;br /&gt;
Update perl and install any dependencies (make life easy and accept all of the defaults.) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MD5 &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;reload cpan &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Date::Manip &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Module::Load &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
===Install ffmpeg dependencies===&lt;br /&gt;
&lt;br /&gt;
Go to http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ , find, download and install the following packages - (they are all within 2 or 3 directories) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
multimedia/amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faad2-2.6.1-i486-5sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/lame-3.98.2-i486-2sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Install ffmpeg=== &lt;br /&gt;
&lt;br /&gt;
On the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then source the install file - &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Which will download the latest svn, build it and create an installable .tgz. Install it once done. &lt;br /&gt;
&lt;br /&gt;
As an alternative, most of these packages can be built by using the build scripts at [http://slackbuilds.org/repository/12.2/ slackbuilds.org].&lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware:&lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
Download ZM 1.23.3 or ZM 1.24.&lt;br /&gt;
&lt;br /&gt;
Untar and cd into the zm-&amp;quot;version&amp;quot; directory and run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin --prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Take look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build go ahead and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;d prefer to do a test run on make install, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look over install_this and if you are happy with what you see, then run make install&lt;br /&gt;
&lt;br /&gt;
== Install ZM Database and Finalize MySql Installation ==&lt;br /&gt;
&lt;br /&gt;
While in the zm-&amp;quot;version&amp;quot; directory run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysqladmin reload &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set a root password for mysql and lock it down.  Run the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_secure_installation &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And finally: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
#chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.zm start &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To start ZoneMinder at boot, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#echo &amp;quot;/etc/rc.d/rc.zm start &amp;quot; /etc/rc,d/rc.local&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test It Out ==&lt;br /&gt;
&lt;br /&gt;
From a command line prompt run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3843</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3843"/>
		<updated>2010-08-12T04:29:43Z</updated>

		<summary type="html">&lt;p&gt;Nuck: /* Install Slackware 12.2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is rough looking, with little formatting and therefore subject to reader interpretation.&lt;br /&gt;
&lt;br /&gt;
This page is only intended to aid in getting a Slackware 12.2 system up and running with ZoneMinder installed. I have intentionally avoided gettng into the specifics of hardware and apache setup simply because there are too many variables to consider. As far as hardware goes, chances are good that if your hardware is supported by the Video For Linux drivers, it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that I haven&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot; . &lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
This guide should work with Slackware 13.0 as well.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
Get a Slackware 12.2 system installed and running. &lt;br /&gt;
&lt;br /&gt;
Download the Slackware dvd from somewhere, use a torrent if you can.  Burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
Login and create your disk partitions by running fdisk or cfdisk. &lt;br /&gt;
&lt;br /&gt;
Run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
Reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/httpd.conf&amp;#039;&amp;#039; and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
Run in a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;#039;&amp;#039;Optional &amp;#039;&amp;#039; - Install Lamp ===&lt;br /&gt;
*: If desired, a Slackware Lamp install can be obtained here : [http://stanley-garvey.com/lamp1.php AMP] &lt;br /&gt;
*: If you install Lamp you need to do the following - &lt;br /&gt;
*: Edit &amp;#039;&amp;#039;/etc/httpd/php.ini&amp;#039;&amp;#039; and &amp;#039;&amp;#039;change short_open_tag&amp;#039;&amp;#039; to &amp;#039;&amp;#039;On&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note : Lamp is installed after Slackware and beyond the scope of this howto. See the appropriate documentation at site link provided above. &amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Set Up Your Hardware ==&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit &amp;#039;&amp;#039;/etc/modprobe.conf&amp;#039;&amp;#039; to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install [[#Install XAWTV (Optional, but recommended)|XAWTV]] (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Hint&amp;#039;&amp;#039;&amp;#039; - People are often seen posting in the forums while fighting it out with hardware, while not realizing that specifying the device identifier &amp;#039;&amp;#039;&amp;#039;/dev/video&amp;#039;&amp;#039;&amp;#039; will not work. And that&amp;#039;s because it won&amp;#039;t ! Specifying &amp;#039;&amp;#039;&amp;#039;/dev/videoX&amp;#039;&amp;#039;&amp;#039; (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
&lt;br /&gt;
== Set Up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy one of the &amp;#039;&amp;#039;/etc/my-*.cnf&amp;#039;&amp;#039; files to &amp;#039;&amp;#039;/etc/my.cnf&amp;#039;&amp;#039; and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
Set up mysql databases with: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_install_db --user=mysql &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Update Perl And Install Required Modules==&lt;br /&gt;
&lt;br /&gt;
Update perl and install any dependencies (make life easy and accept all of the defaults.) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MD5 &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;reload cpan &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Date::Manip &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Module::Load &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
===Install ffmpeg dependencies===&lt;br /&gt;
&lt;br /&gt;
Go to http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ , find, download and install the following packages - (they are all within 2 or 3 directories) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
multimedia/amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faad2-2.6.1-i486-5sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/lame-3.98.2-i486-2sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Install ffmpeg=== &lt;br /&gt;
&lt;br /&gt;
On the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then source the install file - &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Which will download the latest svn, build it and create an installable .tgz. Install it once done. &lt;br /&gt;
&lt;br /&gt;
As an alternative, most of these packages can be built by using the build scripts at [http://slackbuilds.org/repository/12.2/ slackbuilds.org].&lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware:&lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
Download ZM 1.23.3 or ZM 1.24.&lt;br /&gt;
&lt;br /&gt;
Untar and cd into the zm-&amp;quot;version&amp;quot; directory and run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin --prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Take look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build go ahead and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;d prefer to do a test run on make install, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look over install_this and if you are happy with what you see, then run make install&lt;br /&gt;
&lt;br /&gt;
== Install ZM Database and Finalize MySql Installation ==&lt;br /&gt;
&lt;br /&gt;
While in the zm-&amp;quot;version&amp;quot; directory run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysqladmin reload &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set a root password for mysql and lock it down.  Run the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_secure_installation &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And finally: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
#chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.zm start &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To start ZoneMinder at boot, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#echo &amp;quot;/etc/rc.d/rc.zm start &amp;quot; /etc/rc,d/rc.local&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test It Out ==&lt;br /&gt;
&lt;br /&gt;
From a command line prompt run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3842</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3842"/>
		<updated>2010-08-12T04:28:14Z</updated>

		<summary type="html">&lt;p&gt;Nuck: /* Install Slackware 12.2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is rough looking, with little formatting and therefore subject to reader interpretation.&lt;br /&gt;
&lt;br /&gt;
This page is only intended to aid in getting a Slackware 12.2 system up and running with ZoneMinder installed. I have intentionally avoided gettng into the specifics of hardware and apache setup simply because there are too many variables to consider. As far as hardware goes, chances are good that if your hardware is supported by the Video For Linux drivers, it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that I haven&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot; . &lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
This guide should work with Slackware 13.0 as well.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
Get a Slackware 12.2 system installed and running. &lt;br /&gt;
&lt;br /&gt;
Download the Slackware dvd from somewhere, use a torrent if you can.  Burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
Login and create your disk partitions by running fdisk or cfdisk. &lt;br /&gt;
&lt;br /&gt;
Run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
Reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/httpd.conf&amp;#039;&amp;#039; and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
Run in a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*=== &amp;#039;&amp;#039;Optional &amp;#039;&amp;#039; - Install Lamp ===&lt;br /&gt;
*: If desired, a Slackware Lamp install can be obtained here : [http://stanley-garvey.com/lamp1.php AMP] &lt;br /&gt;
*: If you install Lamp you need to do the following - &lt;br /&gt;
*: Edit &amp;#039;&amp;#039;/etc/httpd/php.ini&amp;#039;&amp;#039; and &amp;#039;&amp;#039;change short_open_tag&amp;#039;&amp;#039; to &amp;#039;&amp;#039;On&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note : Lamp is installed after Slackware and beyond the scope of this howto. See the appropriate documentation at site link provided above. &amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Set Up Your Hardware ==&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit &amp;#039;&amp;#039;/etc/modprobe.conf&amp;#039;&amp;#039; to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install [[#Install XAWTV (Optional, but recommended)|XAWTV]] (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Hint&amp;#039;&amp;#039;&amp;#039; - People are often seen posting in the forums while fighting it out with hardware, while not realizing that specifying the device identifier &amp;#039;&amp;#039;&amp;#039;/dev/video&amp;#039;&amp;#039;&amp;#039; will not work. And that&amp;#039;s because it won&amp;#039;t ! Specifying &amp;#039;&amp;#039;&amp;#039;/dev/videoX&amp;#039;&amp;#039;&amp;#039; (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
&lt;br /&gt;
== Set Up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy one of the &amp;#039;&amp;#039;/etc/my-*.cnf&amp;#039;&amp;#039; files to &amp;#039;&amp;#039;/etc/my.cnf&amp;#039;&amp;#039; and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
Set up mysql databases with: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_install_db --user=mysql &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Update Perl And Install Required Modules==&lt;br /&gt;
&lt;br /&gt;
Update perl and install any dependencies (make life easy and accept all of the defaults.) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MD5 &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;reload cpan &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Date::Manip &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Module::Load &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
===Install ffmpeg dependencies===&lt;br /&gt;
&lt;br /&gt;
Go to http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ , find, download and install the following packages - (they are all within 2 or 3 directories) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
multimedia/amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faad2-2.6.1-i486-5sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/lame-3.98.2-i486-2sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Install ffmpeg=== &lt;br /&gt;
&lt;br /&gt;
On the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then source the install file - &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Which will download the latest svn, build it and create an installable .tgz. Install it once done. &lt;br /&gt;
&lt;br /&gt;
As an alternative, most of these packages can be built by using the build scripts at [http://slackbuilds.org/repository/12.2/ slackbuilds.org].&lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware:&lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
Download ZM 1.23.3 or ZM 1.24.&lt;br /&gt;
&lt;br /&gt;
Untar and cd into the zm-&amp;quot;version&amp;quot; directory and run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin --prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Take look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build go ahead and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;d prefer to do a test run on make install, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look over install_this and if you are happy with what you see, then run make install&lt;br /&gt;
&lt;br /&gt;
== Install ZM Database and Finalize MySql Installation ==&lt;br /&gt;
&lt;br /&gt;
While in the zm-&amp;quot;version&amp;quot; directory run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysqladmin reload &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set a root password for mysql and lock it down.  Run the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_secure_installation &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And finally: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
#chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.zm start &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To start ZoneMinder at boot, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#echo &amp;quot;/etc/rc.d/rc.zm start &amp;quot; /etc/rc,d/rc.local&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test It Out ==&lt;br /&gt;
&lt;br /&gt;
From a command line prompt run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3841</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3841"/>
		<updated>2010-08-12T04:25:47Z</updated>

		<summary type="html">&lt;p&gt;Nuck: /* Install Slackware 12.2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is rough looking, with little formatting and therefore subject to reader interpretation.&lt;br /&gt;
&lt;br /&gt;
This page is only intended to aid in getting a Slackware 12.2 system up and running with ZoneMinder installed. I have intentionally avoided gettng into the specifics of hardware and apache setup simply because there are too many variables to consider. As far as hardware goes, chances are good that if your hardware is supported by the Video For Linux drivers, it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that I haven&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot; . &lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
This guide should work with Slackware 13.0 as well.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
Get a Slackware 12.2 system installed and running. &lt;br /&gt;
&lt;br /&gt;
Download the Slackware dvd from somewhere, use a torrent if you can.  Burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
Login and create your disk partitions by running fdisk or cfdisk. &lt;br /&gt;
&lt;br /&gt;
Run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
Reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/httpd.conf&amp;#039;&amp;#039; and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
Run in a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Set Up Your Hardware ==&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit &amp;#039;&amp;#039;/etc/modprobe.conf&amp;#039;&amp;#039; to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install [[#Install XAWTV (Optional, but recommended)|XAWTV]] (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Hint&amp;#039;&amp;#039;&amp;#039; - People are often seen posting in the forums while fighting it out with hardware, while not realizing that specifying the device identifier &amp;#039;&amp;#039;&amp;#039;/dev/video&amp;#039;&amp;#039;&amp;#039; will not work. And that&amp;#039;s because it won&amp;#039;t ! Specifying &amp;#039;&amp;#039;&amp;#039;/dev/videoX&amp;#039;&amp;#039;&amp;#039; (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
&lt;br /&gt;
== Set Up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy one of the &amp;#039;&amp;#039;/etc/my-*.cnf&amp;#039;&amp;#039; files to &amp;#039;&amp;#039;/etc/my.cnf&amp;#039;&amp;#039; and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
Set up mysql databases with: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_install_db --user=mysql &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Update Perl And Install Required Modules==&lt;br /&gt;
&lt;br /&gt;
Update perl and install any dependencies (make life easy and accept all of the defaults.) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MD5 &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;reload cpan &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Date::Manip &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Module::Load &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
===Install ffmpeg dependencies===&lt;br /&gt;
&lt;br /&gt;
Go to http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ , find, download and install the following packages - (they are all within 2 or 3 directories) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
multimedia/amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faad2-2.6.1-i486-5sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/lame-3.98.2-i486-2sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Install ffmpeg=== &lt;br /&gt;
&lt;br /&gt;
On the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then source the install file - &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Which will download the latest svn, build it and create an installable .tgz. Install it once done. &lt;br /&gt;
&lt;br /&gt;
As an alternative, most of these packages can be built by using the build scripts at [http://slackbuilds.org/repository/12.2/ slackbuilds.org].&lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware:&lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
Download ZM 1.23.3 or ZM 1.24.&lt;br /&gt;
&lt;br /&gt;
Untar and cd into the zm-&amp;quot;version&amp;quot; directory and run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin --prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Take look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build go ahead and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;d prefer to do a test run on make install, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look over install_this and if you are happy with what you see, then run make install&lt;br /&gt;
&lt;br /&gt;
== Install ZM Database and Finalize MySql Installation ==&lt;br /&gt;
&lt;br /&gt;
While in the zm-&amp;quot;version&amp;quot; directory run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysqladmin reload &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set a root password for mysql and lock it down.  Run the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_secure_installation &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And finally: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
#chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.zm start &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To start ZoneMinder at boot, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#echo &amp;quot;/etc/rc.d/rc.zm start &amp;quot; /etc/rc,d/rc.local&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test It Out ==&lt;br /&gt;
&lt;br /&gt;
From a command line prompt run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3840</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3840"/>
		<updated>2010-08-12T04:24:53Z</updated>

		<summary type="html">&lt;p&gt;Nuck: /* Install Slackware 12.2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is rough looking, with little formatting and therefore subject to reader interpretation.&lt;br /&gt;
&lt;br /&gt;
This page is only intended to aid in getting a Slackware 12.2 system up and running with ZoneMinder installed. I have intentionally avoided gettng into the specifics of hardware and apache setup simply because there are too many variables to consider. As far as hardware goes, chances are good that if your hardware is supported by the Video For Linux drivers, it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that I haven&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot; . &lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
This guide should work with Slackware 13.0 as well.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
Get a Slackware 12.2 system installed and running. &lt;br /&gt;
&lt;br /&gt;
Download the Slackware dvd from somewhere, use a torrent if you can.  Burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
Login and create your disk partitions by running fdisk or cfdisk. &lt;br /&gt;
&lt;br /&gt;
Run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
Reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/httpd.conf&amp;#039;&amp;#039; and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
Run in a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*=== &amp;#039;&amp;#039;Optional &amp;#039;&amp;#039; - Install Lamp ===&lt;br /&gt;
*: If desired, a Slackware Lamp install can be obtained here : [http://stanley-garvey.com/lamp1.php AMP] &lt;br /&gt;
*: If you install Lamp you need to do the following - &lt;br /&gt;
*: Edit &amp;#039;&amp;#039;/etc/httpd/php.ini&amp;#039;&amp;#039; and &amp;#039;&amp;#039;change short_open_tag&amp;#039;&amp;#039; to &amp;#039;&amp;#039;On&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note : Lamp is installed after Slackware and beyond the scope of this howto. See the appropriate documentation at site link provided above. &amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Set Up Your Hardware ==&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit &amp;#039;&amp;#039;/etc/modprobe.conf&amp;#039;&amp;#039; to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install [[#Install XAWTV (Optional, but recommended)|XAWTV]] (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Hint&amp;#039;&amp;#039;&amp;#039; - People are often seen posting in the forums while fighting it out with hardware, while not realizing that specifying the device identifier &amp;#039;&amp;#039;&amp;#039;/dev/video&amp;#039;&amp;#039;&amp;#039; will not work. And that&amp;#039;s because it won&amp;#039;t ! Specifying &amp;#039;&amp;#039;&amp;#039;/dev/videoX&amp;#039;&amp;#039;&amp;#039; (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
&lt;br /&gt;
== Set Up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy one of the &amp;#039;&amp;#039;/etc/my-*.cnf&amp;#039;&amp;#039; files to &amp;#039;&amp;#039;/etc/my.cnf&amp;#039;&amp;#039; and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
Set up mysql databases with: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_install_db --user=mysql &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Update Perl And Install Required Modules==&lt;br /&gt;
&lt;br /&gt;
Update perl and install any dependencies (make life easy and accept all of the defaults.) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MD5 &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;reload cpan &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Date::Manip &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Module::Load &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
===Install ffmpeg dependencies===&lt;br /&gt;
&lt;br /&gt;
Go to http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ , find, download and install the following packages - (they are all within 2 or 3 directories) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
multimedia/amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faad2-2.6.1-i486-5sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/lame-3.98.2-i486-2sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Install ffmpeg=== &lt;br /&gt;
&lt;br /&gt;
On the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then source the install file - &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Which will download the latest svn, build it and create an installable .tgz. Install it once done. &lt;br /&gt;
&lt;br /&gt;
As an alternative, most of these packages can be built by using the build scripts at [http://slackbuilds.org/repository/12.2/ slackbuilds.org].&lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware:&lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
Download ZM 1.23.3 or ZM 1.24.&lt;br /&gt;
&lt;br /&gt;
Untar and cd into the zm-&amp;quot;version&amp;quot; directory and run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin --prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Take look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build go ahead and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;d prefer to do a test run on make install, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look over install_this and if you are happy with what you see, then run make install&lt;br /&gt;
&lt;br /&gt;
== Install ZM Database and Finalize MySql Installation ==&lt;br /&gt;
&lt;br /&gt;
While in the zm-&amp;quot;version&amp;quot; directory run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysqladmin reload &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set a root password for mysql and lock it down.  Run the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_secure_installation &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And finally: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
#chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.zm start &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To start ZoneMinder at boot, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#echo &amp;quot;/etc/rc.d/rc.zm start &amp;quot; /etc/rc,d/rc.local&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test It Out ==&lt;br /&gt;
&lt;br /&gt;
From a command line prompt run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3839</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3839"/>
		<updated>2010-08-12T04:23:50Z</updated>

		<summary type="html">&lt;p&gt;Nuck: /* &amp;#039;&amp;#039;Optional &amp;#039;&amp;#039; - Install Lamp */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is rough looking, with little formatting and therefore subject to reader interpretation.&lt;br /&gt;
&lt;br /&gt;
This page is only intended to aid in getting a Slackware 12.2 system up and running with ZoneMinder installed. I have intentionally avoided gettng into the specifics of hardware and apache setup simply because there are too many variables to consider. As far as hardware goes, chances are good that if your hardware is supported by the Video For Linux drivers, it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that I haven&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot; . &lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
This guide should work with Slackware 13.0 as well.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
Get a Slackware 12.2 system installed and running. &lt;br /&gt;
&lt;br /&gt;
Download the Slackware dvd from somewhere, use a torrent if you can.  Burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
Login and create your disk partitions by running fdisk or cfdisk. &lt;br /&gt;
&lt;br /&gt;
Run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
Reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/httpd.conf&amp;#039;&amp;#039; and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
Run in a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*=== &amp;#039;&amp;#039;Optional &amp;#039;&amp;#039; - Install Lamp ===&lt;br /&gt;
* If desired, a Slackware Lamp install can be obtained here : [http://stanley-garvey.com/lamp1.php AMP] &lt;br /&gt;
*: If you install Lamp you need to do the following - &lt;br /&gt;
*: Edit &amp;#039;&amp;#039;/etc/httpd/php.ini&amp;#039;&amp;#039; and &amp;#039;&amp;#039;change short_open_tag&amp;#039;&amp;#039; to &amp;#039;&amp;#039;On&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note : Lamp is installed after Slackware and beyond the scope of this howto. See the appropriate documentation at site link provided above. &amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Set Up Your Hardware ==&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit &amp;#039;&amp;#039;/etc/modprobe.conf&amp;#039;&amp;#039; to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install [[#Install XAWTV (Optional, but recommended)|XAWTV]] (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Hint&amp;#039;&amp;#039;&amp;#039; - People are often seen posting in the forums while fighting it out with hardware, while not realizing that specifying the device identifier &amp;#039;&amp;#039;&amp;#039;/dev/video&amp;#039;&amp;#039;&amp;#039; will not work. And that&amp;#039;s because it won&amp;#039;t ! Specifying &amp;#039;&amp;#039;&amp;#039;/dev/videoX&amp;#039;&amp;#039;&amp;#039; (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
&lt;br /&gt;
== Set Up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy one of the &amp;#039;&amp;#039;/etc/my-*.cnf&amp;#039;&amp;#039; files to &amp;#039;&amp;#039;/etc/my.cnf&amp;#039;&amp;#039; and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
Set up mysql databases with: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_install_db --user=mysql &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Update Perl And Install Required Modules==&lt;br /&gt;
&lt;br /&gt;
Update perl and install any dependencies (make life easy and accept all of the defaults.) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MD5 &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;reload cpan &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Date::Manip &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Module::Load &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
===Install ffmpeg dependencies===&lt;br /&gt;
&lt;br /&gt;
Go to http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ , find, download and install the following packages - (they are all within 2 or 3 directories) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
multimedia/amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faad2-2.6.1-i486-5sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/lame-3.98.2-i486-2sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Install ffmpeg=== &lt;br /&gt;
&lt;br /&gt;
On the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then source the install file - &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Which will download the latest svn, build it and create an installable .tgz. Install it once done. &lt;br /&gt;
&lt;br /&gt;
As an alternative, most of these packages can be built by using the build scripts at [http://slackbuilds.org/repository/12.2/ slackbuilds.org].&lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware:&lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
Download ZM 1.23.3 or ZM 1.24.&lt;br /&gt;
&lt;br /&gt;
Untar and cd into the zm-&amp;quot;version&amp;quot; directory and run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin --prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Take look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build go ahead and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;d prefer to do a test run on make install, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look over install_this and if you are happy with what you see, then run make install&lt;br /&gt;
&lt;br /&gt;
== Install ZM Database and Finalize MySql Installation ==&lt;br /&gt;
&lt;br /&gt;
While in the zm-&amp;quot;version&amp;quot; directory run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysqladmin reload &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set a root password for mysql and lock it down.  Run the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_secure_installation &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And finally: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
#chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.zm start &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To start ZoneMinder at boot, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#echo &amp;quot;/etc/rc.d/rc.zm start &amp;quot; /etc/rc,d/rc.local&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test It Out ==&lt;br /&gt;
&lt;br /&gt;
From a command line prompt run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3838</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3838"/>
		<updated>2010-08-12T04:07:24Z</updated>

		<summary type="html">&lt;p&gt;Nuck: /* Set Up Your Hardware */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is rough looking, with little formatting and therefore subject to reader interpretation.&lt;br /&gt;
&lt;br /&gt;
This page is only intended to aid in getting a Slackware 12.2 system up and running with ZoneMinder installed. I have intentionally avoided gettng into the specifics of hardware and apache setup simply because there are too many variables to consider. As far as hardware goes, chances are good that if your hardware is supported by the Video For Linux drivers, it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that I haven&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot; . &lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
This guide should work with Slackware 13.0 as well.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
Get a Slackware 12.2 system installed and running. &lt;br /&gt;
&lt;br /&gt;
Download the Slackware dvd from somewhere, use a torrent if you can.  Burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
Login and create your disk partitions by running fdisk or cfdisk. &lt;br /&gt;
&lt;br /&gt;
Run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
Reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/httpd.conf&amp;#039;&amp;#039; and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
Run in a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;#039;&amp;#039;Optional &amp;#039;&amp;#039; - Install Lamp ===&lt;br /&gt;
If desired, a Slackware Lamp install can be obtained here : [http://stanley-garvey.com/lamp1.php AMP] &lt;br /&gt;
&lt;br /&gt;
If you install Lamp you need to do the following - &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/php.ini&amp;#039;&amp;#039; and &amp;#039;&amp;#039;change short_open_tag&amp;#039;&amp;#039; to &amp;#039;&amp;#039;On&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note : Lamp is installed after Slackware and beyond the scope of this howto. See the appropriate documentation at site link provided above. &amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Set Up Your Hardware ==&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit &amp;#039;&amp;#039;/etc/modprobe.conf&amp;#039;&amp;#039; to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install [[#Install XAWTV (Optional, but recommended)|XAWTV]] (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Hint&amp;#039;&amp;#039;&amp;#039; - People are often seen posting in the forums while fighting it out with hardware, while not realizing that specifying the device identifier &amp;#039;&amp;#039;&amp;#039;/dev/video&amp;#039;&amp;#039;&amp;#039; will not work. And that&amp;#039;s because it won&amp;#039;t ! Specifying &amp;#039;&amp;#039;&amp;#039;/dev/videoX&amp;#039;&amp;#039;&amp;#039; (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
&lt;br /&gt;
== Set Up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy one of the &amp;#039;&amp;#039;/etc/my-*.cnf&amp;#039;&amp;#039; files to &amp;#039;&amp;#039;/etc/my.cnf&amp;#039;&amp;#039; and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
Set up mysql databases with: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_install_db --user=mysql &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Update Perl And Install Required Modules==&lt;br /&gt;
&lt;br /&gt;
Update perl and install any dependencies (make life easy and accept all of the defaults.) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MD5 &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;reload cpan &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Date::Manip &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Module::Load &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
===Install ffmpeg dependencies===&lt;br /&gt;
&lt;br /&gt;
Go to http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ , find, download and install the following packages - (they are all within 2 or 3 directories) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
multimedia/amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faad2-2.6.1-i486-5sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/lame-3.98.2-i486-2sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Install ffmpeg=== &lt;br /&gt;
&lt;br /&gt;
On the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then source the install file - &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Which will download the latest svn, build it and create an installable .tgz. Install it once done. &lt;br /&gt;
&lt;br /&gt;
As an alternative, most of these packages can be built by using the build scripts at [http://slackbuilds.org/repository/12.2/ slackbuilds.org].&lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware:&lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
Download ZM 1.23.3 or ZM 1.24.&lt;br /&gt;
&lt;br /&gt;
Untar and cd into the zm-&amp;quot;version&amp;quot; directory and run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin --prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Take look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build go ahead and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;d prefer to do a test run on make install, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look over install_this and if you are happy with what you see, then run make install&lt;br /&gt;
&lt;br /&gt;
== Install ZM Database and Finalize MySql Installation ==&lt;br /&gt;
&lt;br /&gt;
While in the zm-&amp;quot;version&amp;quot; directory run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysqladmin reload &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set a root password for mysql and lock it down.  Run the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_secure_installation &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And finally: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
#chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.zm start &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To start ZoneMinder at boot, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#echo &amp;quot;/etc/rc.d/rc.zm start &amp;quot; /etc/rc,d/rc.local&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test It Out ==&lt;br /&gt;
&lt;br /&gt;
From a command line prompt run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3837</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3837"/>
		<updated>2010-08-12T03:59:48Z</updated>

		<summary type="html">&lt;p&gt;Nuck: /* &amp;lt;i&amp;gt;Optional &amp;lt;/i&amp;gt; - Install Lamp */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is rough looking, with little formatting and therefore subject to reader interpretation.&lt;br /&gt;
&lt;br /&gt;
This page is only intended to aid in getting a Slackware 12.2 system up and running with ZoneMinder installed. I have intentionally avoided gettng into the specifics of hardware and apache setup simply because there are too many variables to consider. As far as hardware goes, chances are good that if your hardware is supported by the Video For Linux drivers, it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that I haven&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot; . &lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
This guide should work with Slackware 13.0 as well.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
Get a Slackware 12.2 system installed and running. &lt;br /&gt;
&lt;br /&gt;
Download the Slackware dvd from somewhere, use a torrent if you can.  Burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
Login and create your disk partitions by running fdisk or cfdisk. &lt;br /&gt;
&lt;br /&gt;
Run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
Reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/httpd.conf&amp;#039;&amp;#039; and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
Run in a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;#039;&amp;#039;Optional &amp;#039;&amp;#039; - Install Lamp ===&lt;br /&gt;
If desired, a Slackware Lamp install can be obtained here : [http://stanley-garvey.com/lamp1.php AMP] &lt;br /&gt;
&lt;br /&gt;
If you install Lamp you need to do the following - &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/php.ini&amp;#039;&amp;#039; and &amp;#039;&amp;#039;change short_open_tag&amp;#039;&amp;#039; to &amp;#039;&amp;#039;On&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note : Lamp is installed after Slackware and beyond the scope of this howto. See the appropriate documentation at site link provided above. &amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Set Up Your Hardware ==&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit &amp;#039;&amp;#039;/etc/modprobe.conf&amp;#039;&amp;#039; to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install [[#Install XAWTV (Optional, but recommended)|XAWTV]] (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Hint&amp;#039;&amp;#039;&amp;#039; - People are often seen posting in the forums, fighting with hardware not realizing that /dev/video will not work. It won&amp;#039;t ! /dev/videoX (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
&lt;br /&gt;
== Set Up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy one of the &amp;#039;&amp;#039;/etc/my-*.cnf&amp;#039;&amp;#039; files to &amp;#039;&amp;#039;/etc/my.cnf&amp;#039;&amp;#039; and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
Set up mysql databases with: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_install_db --user=mysql &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Update Perl And Install Required Modules==&lt;br /&gt;
&lt;br /&gt;
Update perl and install any dependencies (make life easy and accept all of the defaults.) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MD5 &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;reload cpan &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Date::Manip &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Module::Load &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
===Install ffmpeg dependencies===&lt;br /&gt;
&lt;br /&gt;
Go to http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ , find, download and install the following packages - (they are all within 2 or 3 directories) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
multimedia/amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faad2-2.6.1-i486-5sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/lame-3.98.2-i486-2sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Install ffmpeg=== &lt;br /&gt;
&lt;br /&gt;
On the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then source the install file - &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Which will download the latest svn, build it and create an installable .tgz. Install it once done. &lt;br /&gt;
&lt;br /&gt;
As an alternative, most of these packages can be built by using the build scripts at [http://slackbuilds.org/repository/12.2/ slackbuilds.org].&lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware:&lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
Download ZM 1.23.3 or ZM 1.24.&lt;br /&gt;
&lt;br /&gt;
Untar and cd into the zm-&amp;quot;version&amp;quot; directory and run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin --prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Take look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build go ahead and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;d prefer to do a test run on make install, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look over install_this and if you are happy with what you see, then run make install&lt;br /&gt;
&lt;br /&gt;
== Install ZM Database and Finalize MySql Installation ==&lt;br /&gt;
&lt;br /&gt;
While in the zm-&amp;quot;version&amp;quot; directory run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysqladmin reload &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set a root password for mysql and lock it down.  Run the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_secure_installation &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And finally: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
#chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.zm start &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To start ZoneMinder at boot, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#echo &amp;quot;/etc/rc.d/rc.zm start &amp;quot; /etc/rc,d/rc.local&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test It Out ==&lt;br /&gt;
&lt;br /&gt;
From a command line prompt run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3836</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3836"/>
		<updated>2010-08-12T03:43:18Z</updated>

		<summary type="html">&lt;p&gt;Nuck: /* &amp;lt;i&amp;gt;Optional &amp;lt;/i&amp;gt; - Install Lamp */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is rough looking, with little formatting and therefore subject to reader interpretation.&lt;br /&gt;
&lt;br /&gt;
This page is only intended to aid in getting a Slackware 12.2 system up and running with ZoneMinder installed. I have intentionally avoided gettng into the specifics of hardware and apache setup simply because there are too many variables to consider. As far as hardware goes, chances are good that if your hardware is supported by the Video For Linux drivers, it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that I haven&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot; . &lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
This guide should work with Slackware 13.0 as well.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
Get a Slackware 12.2 system installed and running. &lt;br /&gt;
&lt;br /&gt;
Download the Slackware dvd from somewhere, use a torrent if you can.  Burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
Login and create your disk partitions by running fdisk or cfdisk. &lt;br /&gt;
&lt;br /&gt;
Run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
Reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/httpd.conf&amp;#039;&amp;#039; and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
Run in a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;i&amp;gt;Optional &amp;lt;/i&amp;gt; - Install Lamp ===&lt;br /&gt;
If desired, Lamp can be obtained from here : [http://stanley-garvey.com/lamp1.php AMP] &lt;br /&gt;
&lt;br /&gt;
If you installed Lamp, then you may need to do the following&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/php.ini&amp;#039;&amp;#039; and &amp;#039;&amp;#039;change short_open_tag&amp;#039;&amp;#039; to &amp;#039;&amp;#039;On&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt; note : Lamp is installed after Slackware and beyond the scope of this howto. &amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Set Up Your Hardware ==&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit &amp;#039;&amp;#039;/etc/modprobe.conf&amp;#039;&amp;#039; to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install [[#Install XAWTV (Optional, but recommended)|XAWTV]] (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Hint&amp;#039;&amp;#039;&amp;#039; - People are often seen posting in the forums, fighting with hardware not realizing that /dev/video will not work. It won&amp;#039;t ! /dev/videoX (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
&lt;br /&gt;
== Set Up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy one of the &amp;#039;&amp;#039;/etc/my-*.cnf&amp;#039;&amp;#039; files to &amp;#039;&amp;#039;/etc/my.cnf&amp;#039;&amp;#039; and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
Set up mysql databases with: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_install_db --user=mysql &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Update Perl And Install Required Modules==&lt;br /&gt;
&lt;br /&gt;
Update perl and install any dependencies (make life easy and accept all of the defaults.) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MD5 &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;reload cpan &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Date::Manip &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Module::Load &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
===Install ffmpeg dependencies===&lt;br /&gt;
&lt;br /&gt;
Go to http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ , find, download and install the following packages - (they are all within 2 or 3 directories) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
multimedia/amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faad2-2.6.1-i486-5sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/lame-3.98.2-i486-2sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Install ffmpeg=== &lt;br /&gt;
&lt;br /&gt;
On the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then source the install file - &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Which will download the latest svn, build it and create an installable .tgz. Install it once done. &lt;br /&gt;
&lt;br /&gt;
As an alternative, most of these packages can be built by using the build scripts at [http://slackbuilds.org/repository/12.2/ slackbuilds.org].&lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware:&lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
Download ZM 1.23.3 or ZM 1.24.&lt;br /&gt;
&lt;br /&gt;
Untar and cd into the zm-&amp;quot;version&amp;quot; directory and run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin --prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Take look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build go ahead and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;d prefer to do a test run on make install, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look over install_this and if you are happy with what you see, then run make install&lt;br /&gt;
&lt;br /&gt;
== Install ZM Database and Finalize MySql Installation ==&lt;br /&gt;
&lt;br /&gt;
While in the zm-&amp;quot;version&amp;quot; directory run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysqladmin reload &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set a root password for mysql and lock it down.  Run the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_secure_installation &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And finally: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
#chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.zm start &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To start ZoneMinder at boot, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#echo &amp;quot;/etc/rc.d/rc.zm start &amp;quot; /etc/rc,d/rc.local&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test It Out ==&lt;br /&gt;
&lt;br /&gt;
From a command line prompt run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3835</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3835"/>
		<updated>2010-08-12T03:42:55Z</updated>

		<summary type="html">&lt;p&gt;Nuck: /* Install Slackware 12.2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is rough looking, with little formatting and therefore subject to reader interpretation.&lt;br /&gt;
&lt;br /&gt;
This page is only intended to aid in getting a Slackware 12.2 system up and running with ZoneMinder installed. I have intentionally avoided gettng into the specifics of hardware and apache setup simply because there are too many variables to consider. As far as hardware goes, chances are good that if your hardware is supported by the Video For Linux drivers, it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that I haven&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot; . &lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
This guide should work with Slackware 13.0 as well.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
Get a Slackware 12.2 system installed and running. &lt;br /&gt;
&lt;br /&gt;
Download the Slackware dvd from somewhere, use a torrent if you can.  Burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
Login and create your disk partitions by running fdisk or cfdisk. &lt;br /&gt;
&lt;br /&gt;
Run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
Reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/httpd.conf&amp;#039;&amp;#039; and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
Run in a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;i&amp;gt;Optional &amp;lt;/i&amp;gt; - Install Lamp ===&lt;br /&gt;
If desired, Lamp can be obtained from here : [http://stanley-garvey.com/lamp1.php AMP] &lt;br /&gt;
&lt;br /&gt;
If you installed Lamp, then you may need to do the following&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/php.ini&amp;#039;&amp;#039; and &amp;#039;&amp;#039;change short_open_tag&amp;#039;&amp;#039; to &amp;#039;&amp;#039;On&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt; note : Lamp is installed after Slackware and beyond the scope of this howto. &amp;lt;/i&amp;gt;&lt;br /&gt;
==&lt;br /&gt;
&lt;br /&gt;
== Set Up Your Hardware ==&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit &amp;#039;&amp;#039;/etc/modprobe.conf&amp;#039;&amp;#039; to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install [[#Install XAWTV (Optional, but recommended)|XAWTV]] (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Hint&amp;#039;&amp;#039;&amp;#039; - People are often seen posting in the forums, fighting with hardware not realizing that /dev/video will not work. It won&amp;#039;t ! /dev/videoX (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
&lt;br /&gt;
== Set Up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy one of the &amp;#039;&amp;#039;/etc/my-*.cnf&amp;#039;&amp;#039; files to &amp;#039;&amp;#039;/etc/my.cnf&amp;#039;&amp;#039; and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
Set up mysql databases with: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_install_db --user=mysql &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Update Perl And Install Required Modules==&lt;br /&gt;
&lt;br /&gt;
Update perl and install any dependencies (make life easy and accept all of the defaults.) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MD5 &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;reload cpan &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Date::Manip &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Module::Load &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
===Install ffmpeg dependencies===&lt;br /&gt;
&lt;br /&gt;
Go to http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ , find, download and install the following packages - (they are all within 2 or 3 directories) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
multimedia/amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faad2-2.6.1-i486-5sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/lame-3.98.2-i486-2sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Install ffmpeg=== &lt;br /&gt;
&lt;br /&gt;
On the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then source the install file - &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Which will download the latest svn, build it and create an installable .tgz. Install it once done. &lt;br /&gt;
&lt;br /&gt;
As an alternative, most of these packages can be built by using the build scripts at [http://slackbuilds.org/repository/12.2/ slackbuilds.org].&lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware:&lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
Download ZM 1.23.3 or ZM 1.24.&lt;br /&gt;
&lt;br /&gt;
Untar and cd into the zm-&amp;quot;version&amp;quot; directory and run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin --prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Take look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build go ahead and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;d prefer to do a test run on make install, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look over install_this and if you are happy with what you see, then run make install&lt;br /&gt;
&lt;br /&gt;
== Install ZM Database and Finalize MySql Installation ==&lt;br /&gt;
&lt;br /&gt;
While in the zm-&amp;quot;version&amp;quot; directory run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysqladmin reload &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set a root password for mysql and lock it down.  Run the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_secure_installation &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And finally: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
#chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.zm start &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To start ZoneMinder at boot, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#echo &amp;quot;/etc/rc.d/rc.zm start &amp;quot; /etc/rc,d/rc.local&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test It Out ==&lt;br /&gt;
&lt;br /&gt;
From a command line prompt run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3834</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3834"/>
		<updated>2010-08-12T03:33:00Z</updated>

		<summary type="html">&lt;p&gt;Nuck: /* Install Slackware 12.2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is rough looking, with little formatting and therefore subject to reader interpretation.&lt;br /&gt;
&lt;br /&gt;
This page is only intended to aid in getting a Slackware 12.2 system up and running with ZoneMinder installed. I have intentionally avoided gettng into the specifics of hardware and apache setup simply because there are too many variables to consider. As far as hardware goes, chances are good that if your hardware is supported by the Video For Linux drivers, it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that I haven&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot; . &lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
This guide should work with Slackware 13.0 as well.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
Get a Slackware 12.2 system installed and running. &lt;br /&gt;
&lt;br /&gt;
Download the Slackware dvd from somewhere, use a torrent if you can.  Burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
Login and create your disk partitions by running fdisk or cfdisk. &lt;br /&gt;
&lt;br /&gt;
Run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
Reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/httpd.conf&amp;#039;&amp;#039; and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
If desired, Lamp can be obtained from here : [http://stanley-garvey.com/lamp1.php AMP] &lt;br /&gt;
&lt;br /&gt;
If you installed Lamp, then you may need to do the following&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/php.ini&amp;#039;&amp;#039; and &amp;#039;&amp;#039;change short_open_tag&amp;#039;&amp;#039; to &amp;#039;&amp;#039;On&amp;#039;&amp;#039;. &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;i&amp;gt; note : Lamp is installed after Slackware and beyond the scope of this howto. &amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Run in a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Set Up Your Hardware ==&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit &amp;#039;&amp;#039;/etc/modprobe.conf&amp;#039;&amp;#039; to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install [[#Install XAWTV (Optional, but recommended)|XAWTV]] (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Hint&amp;#039;&amp;#039;&amp;#039; - People are often seen posting in the forums, fighting with hardware not realizing that /dev/video will not work. It won&amp;#039;t ! /dev/videoX (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
&lt;br /&gt;
== Set Up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy one of the &amp;#039;&amp;#039;/etc/my-*.cnf&amp;#039;&amp;#039; files to &amp;#039;&amp;#039;/etc/my.cnf&amp;#039;&amp;#039; and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
Set up mysql databases with: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_install_db --user=mysql &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Update Perl And Install Required Modules==&lt;br /&gt;
&lt;br /&gt;
Update perl and install any dependencies (make life easy and accept all of the defaults.) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MD5 &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;reload cpan &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Date::Manip &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Module::Load &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
===Install ffmpeg dependencies===&lt;br /&gt;
&lt;br /&gt;
Go to http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ , find, download and install the following packages - (they are all within 2 or 3 directories) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
multimedia/amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faad2-2.6.1-i486-5sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/lame-3.98.2-i486-2sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Install ffmpeg=== &lt;br /&gt;
&lt;br /&gt;
On the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then source the install file - &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Which will download the latest svn, build it and create an installable .tgz. Install it once done. &lt;br /&gt;
&lt;br /&gt;
As an alternative, most of these packages can be built by using the build scripts at [http://slackbuilds.org/repository/12.2/ slackbuilds.org].&lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware:&lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
Download ZM 1.23.3 or ZM 1.24.&lt;br /&gt;
&lt;br /&gt;
Untar and cd into the zm-&amp;quot;version&amp;quot; directory and run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin --prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Take look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build go ahead and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;d prefer to do a test run on make install, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look over install_this and if you are happy with what you see, then run make install&lt;br /&gt;
&lt;br /&gt;
== Install ZM Database and Finalize MySql Installation ==&lt;br /&gt;
&lt;br /&gt;
While in the zm-&amp;quot;version&amp;quot; directory run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysqladmin reload &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set a root password for mysql and lock it down.  Run the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_secure_installation &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And finally: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
#chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.zm start &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To start ZoneMinder at boot, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#echo &amp;quot;/etc/rc.d/rc.zm start &amp;quot; /etc/rc,d/rc.local&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test It Out ==&lt;br /&gt;
&lt;br /&gt;
From a command line prompt run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3833</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3833"/>
		<updated>2010-08-12T03:22:53Z</updated>

		<summary type="html">&lt;p&gt;Nuck: /* Set Up Your Hardware */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is rough looking, with little formatting and therefore subject to reader interpretation.&lt;br /&gt;
&lt;br /&gt;
This page is only intended to aid in getting a Slackware 12.2 system up and running with ZoneMinder installed. I have intentionally avoided gettng into the specifics of hardware and apache setup simply because there are too many variables to consider. As far as hardware goes, chances are good that if your hardware is supported by the Video For Linux drivers, it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that I haven&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot; . &lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
This guide should work with Slackware 13.0 as well.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
Get a Slackware 12.2 system installed and running. &lt;br /&gt;
&lt;br /&gt;
Download the Slackware dvd from somewhere, use a torrent if you can.  Burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
Login and create your disk partitions by running fdisk or cfdisk. &lt;br /&gt;
&lt;br /&gt;
Run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
Reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/httpd.conf&amp;#039;&amp;#039; and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If desired, Lamp can be obtained from here : [http://stanley-garvey.com/lamp1.php AMP] &lt;br /&gt;
&lt;br /&gt;
If you installed Lamp, then you may need to do the following&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/php.ini&amp;#039;&amp;#039; and &amp;#039;&amp;#039;change short_open_tag&amp;#039;&amp;#039; to &amp;#039;&amp;#039;On&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
note : Lamp is installed after Slackware and beyond the scope of this howto.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run in a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Set Up Your Hardware ==&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit &amp;#039;&amp;#039;/etc/modprobe.conf&amp;#039;&amp;#039; to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install [[#Install XAWTV (Optional, but recommended)|XAWTV]] (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Hint&amp;#039;&amp;#039;&amp;#039; - People are often seen posting in the forums, fighting with hardware not realizing that /dev/video will not work. It won&amp;#039;t ! /dev/videoX (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
&lt;br /&gt;
== Set Up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy one of the &amp;#039;&amp;#039;/etc/my-*.cnf&amp;#039;&amp;#039; files to &amp;#039;&amp;#039;/etc/my.cnf&amp;#039;&amp;#039; and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
Set up mysql databases with: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_install_db --user=mysql &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Update Perl And Install Required Modules==&lt;br /&gt;
&lt;br /&gt;
Update perl and install any dependencies (make life easy and accept all of the defaults.) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MD5 &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;reload cpan &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Date::Manip &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Module::Load &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
===Install ffmpeg dependencies===&lt;br /&gt;
&lt;br /&gt;
Go to http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ , find, download and install the following packages - (they are all within 2 or 3 directories) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
multimedia/amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faad2-2.6.1-i486-5sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/lame-3.98.2-i486-2sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Install ffmpeg=== &lt;br /&gt;
&lt;br /&gt;
On the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then source the install file - &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Which will download the latest svn, build it and create an installable .tgz. Install it once done. &lt;br /&gt;
&lt;br /&gt;
As an alternative, most of these packages can be built by using the build scripts at [http://slackbuilds.org/repository/12.2/ slackbuilds.org].&lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware:&lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
Download ZM 1.23.3 or ZM 1.24.&lt;br /&gt;
&lt;br /&gt;
Untar and cd into the zm-&amp;quot;version&amp;quot; directory and run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin --prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Take look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build go ahead and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;d prefer to do a test run on make install, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look over install_this and if you are happy with what you see, then run make install&lt;br /&gt;
&lt;br /&gt;
== Install ZM Database and Finalize MySql Installation ==&lt;br /&gt;
&lt;br /&gt;
While in the zm-&amp;quot;version&amp;quot; directory run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysqladmin reload &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set a root password for mysql and lock it down.  Run the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_secure_installation &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And finally: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
#chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.zm start &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To start ZoneMinder at boot, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#echo &amp;quot;/etc/rc.d/rc.zm start &amp;quot; /etc/rc,d/rc.local&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test It Out ==&lt;br /&gt;
&lt;br /&gt;
From a command line prompt run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3832</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3832"/>
		<updated>2010-08-12T03:21:57Z</updated>

		<summary type="html">&lt;p&gt;Nuck: /* Install Slackware 12.2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is rough looking, with little formatting and therefore subject to reader interpretation.&lt;br /&gt;
&lt;br /&gt;
This page is only intended to aid in getting a Slackware 12.2 system up and running with ZoneMinder installed. I have intentionally avoided gettng into the specifics of hardware and apache setup simply because there are too many variables to consider. As far as hardware goes, chances are good that if your hardware is supported by the Video For Linux drivers, it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that I haven&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot; . &lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
This guide should work with Slackware 13.0 as well.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
Get a Slackware 12.2 system installed and running. &lt;br /&gt;
&lt;br /&gt;
Download the Slackware dvd from somewhere, use a torrent if you can.  Burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
Login and create your disk partitions by running fdisk or cfdisk. &lt;br /&gt;
&lt;br /&gt;
Run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
Reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/httpd.conf&amp;#039;&amp;#039; and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If desired, Lamp can be obtained from here : [http://stanley-garvey.com/lamp1.php AMP] &lt;br /&gt;
&lt;br /&gt;
If you installed Lamp, then you may need to do the following&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/php.ini&amp;#039;&amp;#039; and &amp;#039;&amp;#039;change short_open_tag&amp;#039;&amp;#039; to &amp;#039;&amp;#039;On&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
note : Lamp is installed after Slackware and beyond the scope of this howto.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run in a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Set Up Your Hardware ==&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit &amp;#039;&amp;#039;/etc/modprobe.conf&amp;#039;&amp;#039; to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install [[#Install XAWTV (Optional, but recommended)|XAWTV]] (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Hint&amp;#039;&amp;#039;&amp;#039; - I often see people posting in the forums, fighting with hardware not realizing that /dev/video will not work. Trust me, it won&amp;#039;t ! /dev/videoX (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
== Set Up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy one of the &amp;#039;&amp;#039;/etc/my-*.cnf&amp;#039;&amp;#039; files to &amp;#039;&amp;#039;/etc/my.cnf&amp;#039;&amp;#039; and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
Set up mysql databases with: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_install_db --user=mysql &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Update Perl And Install Required Modules==&lt;br /&gt;
&lt;br /&gt;
Update perl and install any dependencies (make life easy and accept all of the defaults.) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MD5 &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;reload cpan &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Date::Manip &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Module::Load &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
===Install ffmpeg dependencies===&lt;br /&gt;
&lt;br /&gt;
Go to http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ , find, download and install the following packages - (they are all within 2 or 3 directories) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
multimedia/amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faad2-2.6.1-i486-5sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/lame-3.98.2-i486-2sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Install ffmpeg=== &lt;br /&gt;
&lt;br /&gt;
On the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then source the install file - &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Which will download the latest svn, build it and create an installable .tgz. Install it once done. &lt;br /&gt;
&lt;br /&gt;
As an alternative, most of these packages can be built by using the build scripts at [http://slackbuilds.org/repository/12.2/ slackbuilds.org].&lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware:&lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
Download ZM 1.23.3 or ZM 1.24.&lt;br /&gt;
&lt;br /&gt;
Untar and cd into the zm-&amp;quot;version&amp;quot; directory and run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin --prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Take look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build go ahead and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;d prefer to do a test run on make install, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look over install_this and if you are happy with what you see, then run make install&lt;br /&gt;
&lt;br /&gt;
== Install ZM Database and Finalize MySql Installation ==&lt;br /&gt;
&lt;br /&gt;
While in the zm-&amp;quot;version&amp;quot; directory run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysqladmin reload &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set a root password for mysql and lock it down.  Run the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_secure_installation &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And finally: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
#chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.zm start &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To start ZoneMinder at boot, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#echo &amp;quot;/etc/rc.d/rc.zm start &amp;quot; /etc/rc,d/rc.local&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test It Out ==&lt;br /&gt;
&lt;br /&gt;
From a command line prompt run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3831</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3831"/>
		<updated>2010-08-12T03:19:52Z</updated>

		<summary type="html">&lt;p&gt;Nuck: /* Install Slackware 12.2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is rough looking, with little formatting and therefore subject to reader interpretation.&lt;br /&gt;
&lt;br /&gt;
This page is only intended to aid in getting a Slackware 12.2 system up and running with ZoneMinder installed. I have intentionally avoided gettng into the specifics of hardware and apache setup simply because there are too many variables to consider. As far as hardware goes, chances are good that if your hardware is supported by the Video For Linux drivers, it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that I haven&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot; . &lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
This guide should work with Slackware 13.0 as well.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
Get a Slackware 12.2 system installed and running. &lt;br /&gt;
&lt;br /&gt;
Download the Slackware dvd from somewhere, use a torrent if you can.  Burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
Login and create your disk partitions by running fdisk or cfdisk. &lt;br /&gt;
&lt;br /&gt;
Run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
Reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/httpd.conf&amp;#039;&amp;#039; and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If desired, obtain and install Lamp from here : [http://stanley-garvey.com/lamp1.php AMP] &lt;br /&gt;
&lt;br /&gt;
If you installed Lamp, then you may need to do the following&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/php.ini&amp;#039;&amp;#039; and &amp;#039;&amp;#039;change short_open_tag&amp;#039;&amp;#039; to &amp;#039;&amp;#039;On&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
note : Lamp is installed after Slackware and how to do so is beyond the scope of this entry.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run in a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Set Up Your Hardware ==&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit &amp;#039;&amp;#039;/etc/modprobe.conf&amp;#039;&amp;#039; to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install [[#Install XAWTV (Optional, but recommended)|XAWTV]] (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Hint&amp;#039;&amp;#039;&amp;#039; - I often see people posting in the forums, fighting with hardware not realizing that /dev/video will not work. Trust me, it won&amp;#039;t ! /dev/videoX (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
== Set Up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy one of the &amp;#039;&amp;#039;/etc/my-*.cnf&amp;#039;&amp;#039; files to &amp;#039;&amp;#039;/etc/my.cnf&amp;#039;&amp;#039; and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
Set up mysql databases with: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_install_db --user=mysql &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Update Perl And Install Required Modules==&lt;br /&gt;
&lt;br /&gt;
Update perl and install any dependencies (make life easy and accept all of the defaults.) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MD5 &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;reload cpan &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Date::Manip &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Module::Load &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
===Install ffmpeg dependencies===&lt;br /&gt;
&lt;br /&gt;
Go to http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ , find, download and install the following packages - (they are all within 2 or 3 directories) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
multimedia/amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faad2-2.6.1-i486-5sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/lame-3.98.2-i486-2sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Install ffmpeg=== &lt;br /&gt;
&lt;br /&gt;
On the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then source the install file - &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Which will download the latest svn, build it and create an installable .tgz. Install it once done. &lt;br /&gt;
&lt;br /&gt;
As an alternative, most of these packages can be built by using the build scripts at [http://slackbuilds.org/repository/12.2/ slackbuilds.org].&lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware:&lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
Download ZM 1.23.3 or ZM 1.24.&lt;br /&gt;
&lt;br /&gt;
Untar and cd into the zm-&amp;quot;version&amp;quot; directory and run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin --prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Take look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build go ahead and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;d prefer to do a test run on make install, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look over install_this and if you are happy with what you see, then run make install&lt;br /&gt;
&lt;br /&gt;
== Install ZM Database and Finalize MySql Installation ==&lt;br /&gt;
&lt;br /&gt;
While in the zm-&amp;quot;version&amp;quot; directory run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysqladmin reload &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set a root password for mysql and lock it down.  Run the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_secure_installation &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And finally: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
#chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.zm start &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To start ZoneMinder at boot, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#echo &amp;quot;/etc/rc.d/rc.zm start &amp;quot; /etc/rc,d/rc.local&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test It Out ==&lt;br /&gt;
&lt;br /&gt;
From a command line prompt run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3830</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=3830"/>
		<updated>2010-08-12T02:58:50Z</updated>

		<summary type="html">&lt;p&gt;Nuck: /* Install Slackware 12.2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is rough looking, with little formatting and therefore subject to reader interpretation.&lt;br /&gt;
&lt;br /&gt;
This page is only intended to aid in getting a Slackware 12.2 system up and running with ZoneMinder installed. I have intentionally avoided gettng into the specifics of hardware and apache setup simply because there are too many variables to consider. As far as hardware goes, chances are good that if your hardware is supported by the Video For Linux drivers, it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that I haven&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot; . &lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
This guide should work with Slackware 13.0 as well.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
Get a Slackware 12.2 system installed and running. &lt;br /&gt;
&lt;br /&gt;
Download the Slackware dvd from somewhere, use a torrent if you can.  Burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
Login and create your disk partitions by running fdisk or cfdisk. &lt;br /&gt;
&lt;br /&gt;
Run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
Reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/httpd.conf&amp;#039;&amp;#039; and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;&amp;#039;/etc/httpd/php.ini&amp;#039;&amp;#039; and &amp;#039;&amp;#039;change short_open_tag&amp;#039;&amp;#039; to &amp;#039;&amp;#039;On&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
Run in a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Set Up Your Hardware ==&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit &amp;#039;&amp;#039;/etc/modprobe.conf&amp;#039;&amp;#039; to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install [[#Install XAWTV (Optional, but recommended)|XAWTV]] (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Hint&amp;#039;&amp;#039;&amp;#039; - I often see people posting in the forums, fighting with hardware not realizing that /dev/video will not work. Trust me, it won&amp;#039;t ! /dev/videoX (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
== Set Up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy one of the &amp;#039;&amp;#039;/etc/my-*.cnf&amp;#039;&amp;#039; files to &amp;#039;&amp;#039;/etc/my.cnf&amp;#039;&amp;#039; and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
Set up mysql databases with: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_install_db --user=mysql &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Update Perl And Install Required Modules==&lt;br /&gt;
&lt;br /&gt;
Update perl and install any dependencies (make life easy and accept all of the defaults.) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MD5 &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;reload cpan &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Date::Manip &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
cpan&amp;gt;install Module::Load &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
===Install ffmpeg dependencies===&lt;br /&gt;
&lt;br /&gt;
Go to http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ , find, download and install the following packages - (they are all within 2 or 3 directories) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
multimedia/amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/faad2-2.6.1-i486-5sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/lame-3.98.2-i486-2sl.tgz&lt;br /&gt;
&lt;br /&gt;
multimedia/speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
multimedia/xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libraries/schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Install ffmpeg=== &lt;br /&gt;
&lt;br /&gt;
On the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then source the install file - &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Which will download the latest svn, build it and create an installable .tgz. Install it once done. &lt;br /&gt;
&lt;br /&gt;
As an alternative, most of these packages can be built by using the build scripts at [http://slackbuilds.org/repository/12.2/ slackbuilds.org].&lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware:&lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
Download ZM 1.23.3 or ZM 1.24.&lt;br /&gt;
&lt;br /&gt;
Untar and cd into the zm-&amp;quot;version&amp;quot; directory and run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin --prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Take look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build go ahead and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;d prefer to do a test run on make install, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look over install_this and if you are happy with what you see, then run make install&lt;br /&gt;
&lt;br /&gt;
== Install ZM Database and Finalize MySql Installation ==&lt;br /&gt;
&lt;br /&gt;
While in the zm-&amp;quot;version&amp;quot; directory run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysqladmin reload &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set a root password for mysql and lock it down.  Run the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mysql_secure_installation &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And finally: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
#chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/etc/rc.d/rc.zm start &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To start ZoneMinder at boot, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#echo &amp;quot;/etc/rc.d/rc.zm start &amp;quot; /etc/rc,d/rc.local&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test It Out ==&lt;br /&gt;
&lt;br /&gt;
From a command line prompt run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=2848</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=2848"/>
		<updated>2009-02-21T08:43:26Z</updated>

		<summary type="html">&lt;p&gt;Nuck: /* Install database and finalize MySql installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is rough looking, with little formatting and therefore subject to reader interpretation.&lt;br /&gt;
&lt;br /&gt;
This page is only intended to aid in getting a Slackware 12.2 system up and running with ZoneMinder installed. I have intentionally avoided gettng into the specifics of hardware and apache setup simply because there are too many variables to consider. As far as hardware goes, chances are good that if your hardware is supported by the Video For Linux drivers, it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that I haven&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot; . &lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
Get a Slackware 12.2 system installed. - &lt;br /&gt;
&lt;br /&gt;
Download the dvd from somewhere, burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
login and create your disk partitions by running fdisk &lt;br /&gt;
&lt;br /&gt;
run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit /etc/httpd/httpd.conf and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
run -&lt;br /&gt;
&lt;br /&gt;
/etc/rc.d/rc.httpd restart&lt;br /&gt;
&lt;br /&gt;
Edit /etc/httpd/php.ini and change short_open_tag to on. &lt;br /&gt;
&lt;br /&gt;
== Set up your hardware ==&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit /etc/modprobe.conf to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install XAWTV (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
hint - I often see people posting in the forums, fighting with hardware not realizing that /dev/video will not work. Trust me, it won&amp;#039;t ! /dev/videoX (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
&lt;br /&gt;
== Set up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy one of the /etc/my-*.cnf files to /etc/my.cnf and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
set up mysql databases with - &lt;br /&gt;
&lt;br /&gt;
mysql_install_db --user=mysql &lt;br /&gt;
&lt;br /&gt;
start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&lt;br /&gt;
/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&lt;br /&gt;
== Update Perl ==&lt;br /&gt;
&lt;br /&gt;
update perl and install any dependencies - (make life easy and accept all of the defaults.) &lt;br /&gt;
&lt;br /&gt;
perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
install MD5 &lt;br /&gt;
&lt;br /&gt;
install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
reload cpan &lt;br /&gt;
&lt;br /&gt;
install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
install Date::Manip &lt;br /&gt;
&lt;br /&gt;
install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
install Module::Load &lt;br /&gt;
&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
install ffmpeg dependencies - &lt;br /&gt;
&lt;br /&gt;
go to http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ , find, download and install the following - (they are all within 2 or 3 directories) &lt;br /&gt;
&lt;br /&gt;
amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
faad2-2.6.1-i486-5sl.tgz &lt;br /&gt;
&lt;br /&gt;
imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
lame-3.98.2-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
Install ffmpeg - on the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&lt;br /&gt;
then source the install file - &lt;br /&gt;
&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
which will download the latest svn, build it and create an installable .tgz. Install it once done. &lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware  - &lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs) &lt;br /&gt;
&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&lt;br /&gt;
when configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
download either ZM 1.23.3 or ZM 1.24 &lt;br /&gt;
&lt;br /&gt;
untar and cd into the zm-&amp;quot;version&amp;quot; directory and run - &lt;br /&gt;
&lt;br /&gt;
./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin \ &lt;br /&gt;
&lt;br /&gt;
--prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&lt;br /&gt;
then look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run -&lt;br /&gt;
&lt;br /&gt;
make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&lt;br /&gt;
then look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build &lt;br /&gt;
run -&lt;br /&gt;
&lt;br /&gt;
make install &lt;br /&gt;
&lt;br /&gt;
or if you&amp;#039;d prefer to do a test run on make install, run -&lt;br /&gt;
&lt;br /&gt;
make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&lt;br /&gt;
look over install_this and if you are happy with what you see, then run make install&lt;br /&gt;
&lt;br /&gt;
== Install database and finalize MySql installation ==&lt;br /&gt;
&lt;br /&gt;
while in the zm-&amp;quot;version&amp;quot; directory run - &lt;br /&gt;
&lt;br /&gt;
mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&lt;br /&gt;
and then run&lt;br /&gt;
&lt;br /&gt;
mysqladmin reload &lt;br /&gt;
&lt;br /&gt;
set a root password for mysql and lock it down. run the following - &lt;br /&gt;
&lt;br /&gt;
mysql_secure_installation &lt;br /&gt;
&lt;br /&gt;
and finally &lt;br /&gt;
&lt;br /&gt;
cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&lt;br /&gt;
/etc/rc.d/rc.zm start &lt;br /&gt;
&lt;br /&gt;
To have ZoneMinder start at boot -&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;/etc/rc.d/rc.zm start &amp;quot; /etc/rc,d/rc.local&lt;br /&gt;
&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test it out ==&lt;br /&gt;
&lt;br /&gt;
from a commandline prompt run -&lt;br /&gt;
&lt;br /&gt;
startx&lt;br /&gt;
&lt;br /&gt;
start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=2847</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=2847"/>
		<updated>2009-02-20T22:17:15Z</updated>

		<summary type="html">&lt;p&gt;Nuck: /* Install ZoneMinder */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is rough looking, with little formatting and therefore subject to reader interpretation.&lt;br /&gt;
&lt;br /&gt;
This page is only intended to aid in getting a Slackware 12.2 system up and running with ZoneMinder installed. I have intentionally avoided gettng into the specifics of hardware and apache setup simply because there are too many variables to consider. As far as hardware goes, chances are good that if your hardware is supported by the Video For Linux drivers, it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that I haven&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot; . &lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
Get a Slackware 12.2 system installed. - &lt;br /&gt;
&lt;br /&gt;
Download the dvd from somewhere, burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
login and create your disk partitions by running fdisk &lt;br /&gt;
&lt;br /&gt;
run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit /etc/httpd/httpd.conf and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
run -&lt;br /&gt;
&lt;br /&gt;
/etc/rc.d/rc.httpd restart&lt;br /&gt;
&lt;br /&gt;
Edit /etc/httpd/php.ini and change short_open_tag to on. &lt;br /&gt;
&lt;br /&gt;
== Set up your hardware ==&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit /etc/modprobe.conf to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install XAWTV (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
hint - I often see people posting in the forums, fighting with hardware not realizing that /dev/video will not work. Trust me, it won&amp;#039;t ! /dev/videoX (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
&lt;br /&gt;
== Set up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy one of the /etc/my-*.cnf files to /etc/my.cnf and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
set up mysql databases with - &lt;br /&gt;
&lt;br /&gt;
mysql_install_db --user=mysql &lt;br /&gt;
&lt;br /&gt;
start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&lt;br /&gt;
/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&lt;br /&gt;
== Update Perl ==&lt;br /&gt;
&lt;br /&gt;
update perl and install any dependencies - (make life easy and accept all of the defaults.) &lt;br /&gt;
&lt;br /&gt;
perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
install MD5 &lt;br /&gt;
&lt;br /&gt;
install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
reload cpan &lt;br /&gt;
&lt;br /&gt;
install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
install Date::Manip &lt;br /&gt;
&lt;br /&gt;
install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
install Module::Load &lt;br /&gt;
&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
install ffmpeg dependencies - &lt;br /&gt;
&lt;br /&gt;
go to http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ , find, download and install the following - (they are all within 2 or 3 directories) &lt;br /&gt;
&lt;br /&gt;
amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
faad2-2.6.1-i486-5sl.tgz &lt;br /&gt;
&lt;br /&gt;
imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
lame-3.98.2-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
Install ffmpeg - on the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&lt;br /&gt;
then source the install file - &lt;br /&gt;
&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
which will download the latest svn, build it and create an installable .tgz. Install it once done. &lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware  - &lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs) &lt;br /&gt;
&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&lt;br /&gt;
when configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
download either ZM 1.23.3 or ZM 1.24 &lt;br /&gt;
&lt;br /&gt;
untar and cd into the zm-&amp;quot;version&amp;quot; directory and run - &lt;br /&gt;
&lt;br /&gt;
./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin \ &lt;br /&gt;
&lt;br /&gt;
--prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&lt;br /&gt;
then look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run -&lt;br /&gt;
&lt;br /&gt;
make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&lt;br /&gt;
then look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build &lt;br /&gt;
run -&lt;br /&gt;
&lt;br /&gt;
make install &lt;br /&gt;
&lt;br /&gt;
or if you&amp;#039;d prefer to do a test run on make install, run -&lt;br /&gt;
&lt;br /&gt;
make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&lt;br /&gt;
look over install_this and if you are happy with what you see, then run make install&lt;br /&gt;
&lt;br /&gt;
== Install database and finalize MySql installation ==&lt;br /&gt;
&lt;br /&gt;
while in the zm-&amp;quot;version&amp;quot; directory run - &lt;br /&gt;
&lt;br /&gt;
mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&lt;br /&gt;
and then run&lt;br /&gt;
&lt;br /&gt;
mysqladmin reload &lt;br /&gt;
&lt;br /&gt;
set a root password for mysql and lock it down. run the following - &lt;br /&gt;
&lt;br /&gt;
mysql_secure_installation &lt;br /&gt;
&lt;br /&gt;
and finally &lt;br /&gt;
&lt;br /&gt;
cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&lt;br /&gt;
/etc/rc.d/rc.zm start &lt;br /&gt;
&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test it out ==&lt;br /&gt;
&lt;br /&gt;
from a commandline prompt run -&lt;br /&gt;
&lt;br /&gt;
startx&lt;br /&gt;
&lt;br /&gt;
start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=2846</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=2846"/>
		<updated>2009-02-20T22:16:47Z</updated>

		<summary type="html">&lt;p&gt;Nuck: /* Install ZoneMinder */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is rough looking, with little formatting and therefore subject to reader interpretation.&lt;br /&gt;
&lt;br /&gt;
This page is only intended to aid in getting a Slackware 12.2 system up and running with ZoneMinder installed. I have intentionally avoided gettng into the specifics of hardware and apache setup simply because there are too many variables to consider. As far as hardware goes, chances are good that if your hardware is supported by the Video For Linux drivers, it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that I haven&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot; . &lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
Get a Slackware 12.2 system installed. - &lt;br /&gt;
&lt;br /&gt;
Download the dvd from somewhere, burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
login and create your disk partitions by running fdisk &lt;br /&gt;
&lt;br /&gt;
run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit /etc/httpd/httpd.conf and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
run -&lt;br /&gt;
&lt;br /&gt;
/etc/rc.d/rc.httpd restart&lt;br /&gt;
&lt;br /&gt;
Edit /etc/httpd/php.ini and change short_open_tag to on. &lt;br /&gt;
&lt;br /&gt;
== Set up your hardware ==&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit /etc/modprobe.conf to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install XAWTV (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
hint - I often see people posting in the forums, fighting with hardware not realizing that /dev/video will not work. Trust me, it won&amp;#039;t ! /dev/videoX (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
&lt;br /&gt;
== Set up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy one of the /etc/my-*.cnf files to /etc/my.cnf and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
set up mysql databases with - &lt;br /&gt;
&lt;br /&gt;
mysql_install_db --user=mysql &lt;br /&gt;
&lt;br /&gt;
start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&lt;br /&gt;
/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&lt;br /&gt;
== Update Perl ==&lt;br /&gt;
&lt;br /&gt;
update perl and install any dependencies - (make life easy and accept all of the defaults.) &lt;br /&gt;
&lt;br /&gt;
perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
install MD5 &lt;br /&gt;
&lt;br /&gt;
install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
reload cpan &lt;br /&gt;
&lt;br /&gt;
install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
install Date::Manip &lt;br /&gt;
&lt;br /&gt;
install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
install Module::Load &lt;br /&gt;
&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
install ffmpeg dependencies - &lt;br /&gt;
&lt;br /&gt;
go to http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ , find, download and install the following - (they are all within 2 or 3 directories) &lt;br /&gt;
&lt;br /&gt;
amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
faad2-2.6.1-i486-5sl.tgz &lt;br /&gt;
&lt;br /&gt;
imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
lame-3.98.2-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
Install ffmpeg - on the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&lt;br /&gt;
then source the install file - &lt;br /&gt;
&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
which will download the latest svn, build it and create an installable .tgz. Install it once done. &lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware  - &lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs) &lt;br /&gt;
&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&lt;br /&gt;
when configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
download either ZM 1.23.3 or ZM 1.24 &lt;br /&gt;
&lt;br /&gt;
untar and cd into the zm-&amp;quot;version&amp;quot; directory and run - &lt;br /&gt;
&lt;br /&gt;
./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin \ &lt;br /&gt;
&lt;br /&gt;
--prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&lt;br /&gt;
then look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run Code:&lt;br /&gt;
&lt;br /&gt;
make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&lt;br /&gt;
then look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build &lt;br /&gt;
run -&lt;br /&gt;
&lt;br /&gt;
make install &lt;br /&gt;
&lt;br /&gt;
or if you&amp;#039;d prefer to do a test run on make install, run &lt;br /&gt;
&lt;br /&gt;
make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&lt;br /&gt;
look over install_this and if you are happy with what you see, then run make install&lt;br /&gt;
&lt;br /&gt;
== Install database and finalize MySql installation ==&lt;br /&gt;
&lt;br /&gt;
while in the zm-&amp;quot;version&amp;quot; directory run - &lt;br /&gt;
&lt;br /&gt;
mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&lt;br /&gt;
and then run&lt;br /&gt;
&lt;br /&gt;
mysqladmin reload &lt;br /&gt;
&lt;br /&gt;
set a root password for mysql and lock it down. run the following - &lt;br /&gt;
&lt;br /&gt;
mysql_secure_installation &lt;br /&gt;
&lt;br /&gt;
and finally &lt;br /&gt;
&lt;br /&gt;
cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&lt;br /&gt;
/etc/rc.d/rc.zm start &lt;br /&gt;
&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test it out ==&lt;br /&gt;
&lt;br /&gt;
from a commandline prompt run -&lt;br /&gt;
&lt;br /&gt;
startx&lt;br /&gt;
&lt;br /&gt;
start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=2839</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=2839"/>
		<updated>2009-02-20T06:46:59Z</updated>

		<summary type="html">&lt;p&gt;Nuck: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is rough looking, with little formatting and therefore subject to reader interpretation.&lt;br /&gt;
&lt;br /&gt;
This page is only intended to aid in getting a Slackware 12.2 system up and running with ZoneMinder installed. I have intentionally avoided gettng into the specifics of hardware and apache setup simply because there are too many variables to consider. As far as hardware goes, chances are good that if your hardware is supported by the Video For Linux drivers, it will work with ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
For help with anything that I haven&amp;#039;t specifically addressed in this guide or more in depth help, I suggest that you keep in mind that &amp;quot;Google is your friend&amp;quot; . &lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
== Install Slackware 12.2 ==&lt;br /&gt;
Get a Slackware 12.2 system installed. - &lt;br /&gt;
&lt;br /&gt;
Download the dvd from somewhere, burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
login and create your disk partitions by running fdisk &lt;br /&gt;
&lt;br /&gt;
run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit /etc/httpd/httpd.conf and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
run -&lt;br /&gt;
&lt;br /&gt;
/etc/rc.d/rc.httpd restart&lt;br /&gt;
&lt;br /&gt;
Edit /etc/httpd/php.ini and change short_open_tag to on. &lt;br /&gt;
&lt;br /&gt;
== Set up your hardware ==&lt;br /&gt;
&lt;br /&gt;
You will (or should) have to edit /etc/modprobe.conf to enable your capture card. (see note above)&lt;br /&gt;
&lt;br /&gt;
At this point you may want to install XAWTV (see below) and verify that your hardware is working.&lt;br /&gt;
&lt;br /&gt;
hint - I often see people posting in the forums, fighting with hardware not realizing that /dev/video will not work. Trust me, it won&amp;#039;t ! /dev/videoX (where X is a number),  will. Make note of the device number. It&amp;#039;s important.&lt;br /&gt;
&lt;br /&gt;
== Set up MySql ==&lt;br /&gt;
&lt;br /&gt;
Copy one of the /etc/my-*.cnf files to /etc/my.cnf and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
set up mysql databases with - &lt;br /&gt;
&lt;br /&gt;
mysql_install_db --user=mysql &lt;br /&gt;
&lt;br /&gt;
start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&lt;br /&gt;
/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&lt;br /&gt;
== Update Perl ==&lt;br /&gt;
&lt;br /&gt;
update perl and install any dependencies - (make life easy and accept all of the defaults.) &lt;br /&gt;
&lt;br /&gt;
perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
install MD5 &lt;br /&gt;
&lt;br /&gt;
install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
reload cpan &lt;br /&gt;
&lt;br /&gt;
install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
install Date::Manip &lt;br /&gt;
&lt;br /&gt;
install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
install Module::Load &lt;br /&gt;
&lt;br /&gt;
== Install FFMPEG ==&lt;br /&gt;
&lt;br /&gt;
install ffmpeg dependencies - &lt;br /&gt;
&lt;br /&gt;
go to http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ , find, download and install the following - (they are all within 2 or 3 directories) &lt;br /&gt;
&lt;br /&gt;
amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
faad2-2.6.1-i486-5sl.tgz &lt;br /&gt;
&lt;br /&gt;
imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
lame-3.98.2-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
Install ffmpeg - on the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&lt;br /&gt;
then source the install file - &lt;br /&gt;
&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
which will download the latest svn, build it and create an installable .tgz. Install it once done. &lt;br /&gt;
&lt;br /&gt;
== Install XAWTV (Optional, but recommended) ==&lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware  - &lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs) &lt;br /&gt;
&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&lt;br /&gt;
when configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
== Install ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
download either ZM 1.23.3 or ZM 1.24 &lt;br /&gt;
&lt;br /&gt;
untar and cd into the zm-&amp;quot;version&amp;quot; directory and run - Code:&lt;br /&gt;
&lt;br /&gt;
./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin \ &lt;br /&gt;
&lt;br /&gt;
--prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&lt;br /&gt;
then look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run Code:&lt;br /&gt;
&lt;br /&gt;
make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&lt;br /&gt;
then look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build &lt;br /&gt;
run -&lt;br /&gt;
&lt;br /&gt;
make install &lt;br /&gt;
&lt;br /&gt;
or if you&amp;#039;d prefer to do a test run on make install, run &lt;br /&gt;
&lt;br /&gt;
make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&lt;br /&gt;
look over install_this and if you are happy with what you see, then run make install &lt;br /&gt;
&lt;br /&gt;
== Install database and finalize MySql installation ==&lt;br /&gt;
&lt;br /&gt;
while in the zm-&amp;quot;version&amp;quot; directory run - &lt;br /&gt;
&lt;br /&gt;
mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&lt;br /&gt;
and then run&lt;br /&gt;
&lt;br /&gt;
mysqladmin reload &lt;br /&gt;
&lt;br /&gt;
set a root password for mysql and lock it down. run the following - &lt;br /&gt;
&lt;br /&gt;
mysql_secure_installation &lt;br /&gt;
&lt;br /&gt;
and finally &lt;br /&gt;
&lt;br /&gt;
cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
And now, fire up ZoneMinder&lt;br /&gt;
&lt;br /&gt;
/etc/rc.d/rc.zm start &lt;br /&gt;
&lt;br /&gt;
And you&amp;#039;re done ..&lt;br /&gt;
&lt;br /&gt;
== Test it out ==&lt;br /&gt;
&lt;br /&gt;
from a commandline prompt run -&lt;br /&gt;
&lt;br /&gt;
startx&lt;br /&gt;
&lt;br /&gt;
start up a browser and point it at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
If all went well, you should see a ZoneMinder control panel.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=2838</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=2838"/>
		<updated>2009-02-20T05:58:14Z</updated>

		<summary type="html">&lt;p&gt;Nuck: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is very rough at the moment, without any sort of formatting and therefore subject to reader interpretation.&lt;br /&gt;
&lt;br /&gt;
All this page is intended to do is get a Slackware 12.2 system up and running with ZoneMinder installed. I can&amp;#039;t (won&amp;#039;t) take the time to address any hardware specific issues. For help in this regard, remember that &amp;quot;Google is your friend&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Get a Slackware 12.2 system installed. - &lt;br /&gt;
&lt;br /&gt;
Download the dvd from somewhere, burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
login and create your disk partitions by running fdisk &lt;br /&gt;
&lt;br /&gt;
run setup and install the system (I&amp;#039;m lazy, so I choose &amp;quot;install everything&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit /etc/httpd/httpd.conf and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
Edit /etc/httpd/php.ini and change short_open_tag to on. &lt;br /&gt;
&lt;br /&gt;
Copy one of the /etc/my-*.cnf files to /etc/my.cnf and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
set up mysql databases with - &lt;br /&gt;
&lt;br /&gt;
mysql_install_db --user=mysql &lt;br /&gt;
&lt;br /&gt;
start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&lt;br /&gt;
/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&lt;br /&gt;
update perl and install any dependencies - (make life easy and accept all of the defaults.) &lt;br /&gt;
&lt;br /&gt;
perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
install MD5 &lt;br /&gt;
&lt;br /&gt;
install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
reload cpan &lt;br /&gt;
&lt;br /&gt;
install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
install Date::Manip &lt;br /&gt;
&lt;br /&gt;
install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
install Module::Load &lt;br /&gt;
&lt;br /&gt;
install ffmpeg dependencies - &lt;br /&gt;
&lt;br /&gt;
go to http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ , find, download and install the following - (they are all within 2 or 3 directories) &lt;br /&gt;
&lt;br /&gt;
amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
faad2-2.6.1-i486-5sl.tgz &lt;br /&gt;
&lt;br /&gt;
imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
lame-3.98.2-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
Install ffmpeg - on the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&lt;br /&gt;
then source the install file - &lt;br /&gt;
&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
which will download the latest svn, build it and create an installable .tgz. Install it once done. &lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware (recommended) - &lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs) &lt;br /&gt;
&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&lt;br /&gt;
when configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
download either ZM 1.23.3 or ZM 1.24 &lt;br /&gt;
&lt;br /&gt;
untar and cd into the zm-&amp;quot;version&amp;quot; directory and run - Code:&lt;br /&gt;
&lt;br /&gt;
./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin \ &lt;br /&gt;
&lt;br /&gt;
--prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run Code:&lt;br /&gt;
&lt;br /&gt;
make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&lt;br /&gt;
then look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build &lt;br /&gt;
run Code:&lt;br /&gt;
&lt;br /&gt;
make install &lt;br /&gt;
&lt;br /&gt;
or if you&amp;#039;d prefer to do a test run on make install, run &lt;br /&gt;
&lt;br /&gt;
make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&lt;br /&gt;
look over install_this and if you are happy with what you see, then run make install &lt;br /&gt;
&lt;br /&gt;
while in the zm-&amp;quot;version&amp;quot; directory run - &lt;br /&gt;
&lt;br /&gt;
mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&lt;br /&gt;
and then run&lt;br /&gt;
&lt;br /&gt;
mysqladmin reload &lt;br /&gt;
&lt;br /&gt;
set a root password for mysql and lock it down. run the following - &lt;br /&gt;
&lt;br /&gt;
mysql_secure_installation &lt;br /&gt;
&lt;br /&gt;
and finally &lt;br /&gt;
&lt;br /&gt;
cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You&amp;#039;re done.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=2837</id>
		<title>Slackware 12.2</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware_12.2&amp;diff=2837"/>
		<updated>2009-02-20T05:56:51Z</updated>

		<summary type="html">&lt;p&gt;Nuck: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is very rough at the moment, without any sort of formatting and therefore subject to reader interpretation.&lt;br /&gt;
&lt;br /&gt;
All this page is intended to do is get a Slackware 12.2 system up and running with ZoneMinder installed. I can&amp;#039;t (won&amp;#039;t) take the time to address any hardware specific issues. For help in this regard, remember that &amp;quot;Google is your friend&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Hope it helps, &lt;br /&gt;
&lt;br /&gt;
Nuck.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Get a Slackware 12.2 system installed. - &lt;br /&gt;
&lt;br /&gt;
Download the dvd from somewhere, burn it and boot it. &lt;br /&gt;
&lt;br /&gt;
login and create your disk partitions by running fdisk &lt;br /&gt;
&lt;br /&gt;
run set up and install the system (I&amp;#039;m lazy, so I choose install everything.) &lt;br /&gt;
&lt;br /&gt;
Be sure to enable httpd and mysqld. &lt;br /&gt;
&lt;br /&gt;
reboot and then login. &lt;br /&gt;
&lt;br /&gt;
Edit /etc/httpd/httpd.conf and fix up apache by setting a hostname, enabling php and adding a virtual host. &lt;br /&gt;
&lt;br /&gt;
Edit /etc/httpd/php.ini and change short_open_tag to on. &lt;br /&gt;
&lt;br /&gt;
Copy one of the /etc/my-*.cnf files to /etc/my.cnf and edit as (if) required. &lt;br /&gt;
&lt;br /&gt;
set up mysql databases with - &lt;br /&gt;
&lt;br /&gt;
mysql_install_db --user=mysql &lt;br /&gt;
&lt;br /&gt;
start mysqld - (needs to be running for perl tests) &lt;br /&gt;
&lt;br /&gt;
/etc/rc.d/rc.mysqld start  &lt;br /&gt;
&lt;br /&gt;
update perl and install any dependencies - (make life easy and accept all of the defaults.) &lt;br /&gt;
&lt;br /&gt;
perl -MCPAN -e shell &lt;br /&gt;
&lt;br /&gt;
install MD5 &lt;br /&gt;
&lt;br /&gt;
install Bundle::CPAN &lt;br /&gt;
&lt;br /&gt;
reload cpan &lt;br /&gt;
&lt;br /&gt;
install LWP::UserAgent &lt;br /&gt;
&lt;br /&gt;
install Date::Manip &lt;br /&gt;
&lt;br /&gt;
install MIME::Lite &lt;br /&gt;
&lt;br /&gt;
install MIME::Entity &lt;br /&gt;
&lt;br /&gt;
install DBD::mysql &lt;br /&gt;
&lt;br /&gt;
install Sys::Mmap &lt;br /&gt;
&lt;br /&gt;
install X10::ActiveHome &lt;br /&gt;
&lt;br /&gt;
install PHP::Serialization &lt;br /&gt;
&lt;br /&gt;
install Module::Load &lt;br /&gt;
&lt;br /&gt;
install ffmpeg dependencies - &lt;br /&gt;
&lt;br /&gt;
go to http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.2/ , find, download and install the following - (they are all within 2 or 3 directories) &lt;br /&gt;
&lt;br /&gt;
amrnb-7.0.0.2-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
amrwb-7.0.0.3-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
dirac-1.0.0-i486-2as.tgz &lt;br /&gt;
&lt;br /&gt;
faac-1.26-i486-4sl.tgz &lt;br /&gt;
&lt;br /&gt;
faad2-2.6.1-i486-5sl.tgz &lt;br /&gt;
&lt;br /&gt;
imlib2-1.4.2-i486-3sl.tgz &lt;br /&gt;
&lt;br /&gt;
lame-3.98.2-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
libdc1394-2.1.0-i486-1sl.tgz &lt;br /&gt;
&lt;br /&gt;
libgsm-1.0.12-i686-4as.tgz &lt;br /&gt;
&lt;br /&gt;
libnut-20081213-i686-1as.tgz &lt;br /&gt;
&lt;br /&gt;
libusb1-1.0.0-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
schroedinger-1.0.5-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
speex-1.2rc1-i486-2dav.tgz &lt;br /&gt;
&lt;br /&gt;
x264-20090107-i486-1as.tgz &lt;br /&gt;
&lt;br /&gt;
xvidcore-1.2.1-i486-2sl.tgz &lt;br /&gt;
&lt;br /&gt;
Install ffmpeg - on the same site you pulled the previous files from, in the multimedia directory, find the ffmpeg directory, go into the src dir and get these 2 files &lt;br /&gt;
&lt;br /&gt;
ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
doinst.sh &lt;br /&gt;
&lt;br /&gt;
then source the install file - &lt;br /&gt;
&lt;br /&gt;
. ./ffmpeg.SlackBuild &lt;br /&gt;
&lt;br /&gt;
which will download the latest svn, build it and create an installable .tgz. Install it once done. &lt;br /&gt;
&lt;br /&gt;
If you want XAWTV for setting up and testing hardware (recommended) - &lt;br /&gt;
&lt;br /&gt;
Download, build and install (read the included docs) &lt;br /&gt;
&lt;br /&gt;
tv-fonts-1.1.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
zvbi-0.2.33.tar.bz2 &lt;br /&gt;
&lt;br /&gt;
xawtv-20070625-114215.tar.gz &lt;br /&gt;
&lt;br /&gt;
when configuring zvbi and xawtv use the options --prefix=/usr and --sysconfdir=/etc &lt;br /&gt;
&lt;br /&gt;
download either ZM 1.23.3 or ZM 1.24 &lt;br /&gt;
&lt;br /&gt;
untar and cd into the zm-&amp;quot;version&amp;quot; directory and run - Code:&lt;br /&gt;
&lt;br /&gt;
./configure --with-webdir=/var/www/htdocs --with-cgidir=/srv/httpd/cgi-bin \ &lt;br /&gt;
&lt;br /&gt;
--prefix=/usr --sysconfdir=/etc &amp;gt; configured_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then look through &amp;quot;configured_this&amp;quot; and if you are satisfied that all is good, run Code:&lt;br /&gt;
&lt;br /&gt;
make &amp;gt; built_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&lt;br /&gt;
then look through &amp;quot;built_this&amp;quot; and if you are satisfied that you got a clean build &lt;br /&gt;
run Code:&lt;br /&gt;
&lt;br /&gt;
make install &lt;br /&gt;
&lt;br /&gt;
or if you&amp;#039;d prefer to do a test run on make install, run &lt;br /&gt;
&lt;br /&gt;
make -n install &amp;gt; install_this 2&amp;gt;&amp;amp;1 &lt;br /&gt;
&lt;br /&gt;
look over install_this and if you are happy with what you see, then run make install &lt;br /&gt;
&lt;br /&gt;
while in the zm-&amp;quot;version&amp;quot; directory run - &lt;br /&gt;
&lt;br /&gt;
mysql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; source db/zm_create.sql &lt;br /&gt;
&lt;br /&gt;
&amp;gt; use mysql; &lt;br /&gt;
&lt;br /&gt;
&amp;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;
&lt;br /&gt;
&amp;gt; quit; &lt;br /&gt;
&lt;br /&gt;
and then run&lt;br /&gt;
&lt;br /&gt;
mysqladmin reload &lt;br /&gt;
&lt;br /&gt;
set a root password for mysql and lock it down. run the following - &lt;br /&gt;
&lt;br /&gt;
mysql_secure_installation &lt;br /&gt;
&lt;br /&gt;
and finally &lt;br /&gt;
&lt;br /&gt;
cp scripts/zm /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
chmod a+x /etc/rc.d/rc.zm &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You&amp;#039;re done.&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Slackware&amp;diff=2836</id>
		<title>Slackware</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Slackware&amp;diff=2836"/>
		<updated>2009-02-20T05:39:48Z</updated>

		<summary type="html">&lt;p&gt;Nuck: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Slackware was one of the earliest Linux distributions, and is the oldest, and most UNIX-like, distribution still being maintained. It has a policy of incorporating only stable releases of applications, standing mainly for design stability and simplicity.&lt;br /&gt;
&lt;br /&gt;
==Installation Guides==&lt;br /&gt;
[[Slackware 10.1]]&lt;br /&gt;
&lt;br /&gt;
[[Slackware 12.2]]&lt;/div&gt;</summary>
		<author><name>Nuck</name></author>
	</entry>
</feed>