<?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=BarryH</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=BarryH"/>
	<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/Special:Contributions/BarryH"/>
	<updated>2026-04-19T19:08:05Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1750</id>
		<title>SuSE 10.1 and ZoneMinder</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1750"/>
		<updated>2006-10-19T22:18:31Z</updated>

		<summary type="html">&lt;p&gt;BarryH: /* Logoff and logon as root, or create a new session as root. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=MsoNormal&amp;gt;&amp;lt;span class=name1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;mso-bidi-font-size:8.5pt;font-family:Verdana&amp;#039;&amp;gt;Dgsconseil was kind enough to write a&amp;lt;b&amp;gt; &amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
class=postbody1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;step-by-step&lt;br /&gt;
newbie kit to install ZoneMinder under &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
10.0 OSS.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;   &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;I copied it and modified it to for&lt;br /&gt;
SuSE 10.1 with a GUI and the KDE.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=postbody1&amp;gt;This is only a short How-To on how I installed SuSE and&lt;br /&gt;
ZoneMinder software on &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; 10.1 OSS,&lt;br /&gt;
it is not intended to be a reference because I do not specify any of the&lt;br /&gt;
security rules or optimizations needed for a production server.&amp;lt;span&lt;br /&gt;
style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;I just specify the main steps to get Zone&lt;br /&gt;
Minder Running. &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;By the&lt;br /&gt;
way, this is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; the smallest installation possible.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It’s just what I used and it worked.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It seemed that if I skipped any of the additional packages, I’d&lt;br /&gt;
run into trouble.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fresh install of SuSE 10.1 OSS (CD install)===&lt;br /&gt;
Base installation with KDE Desktop and additional packages&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Software Packages chosen during install:&lt;br /&gt;
:*Graphical Base system&lt;br /&gt;
:*KDE Desktop Environment&lt;br /&gt;
:*All of KDE&lt;br /&gt;
:*Help and Supports Docs&lt;br /&gt;
:*Office applications&lt;br /&gt;
:*Multimedia&lt;br /&gt;
:*Simple Web Server with Apache2&lt;br /&gt;
:*LDAP Server and Tools&lt;br /&gt;
:*Network and Server&lt;br /&gt;
:*C/C++ Complier and Tools&lt;br /&gt;
:*Kernel Development&lt;br /&gt;
:*KDE Development&lt;br /&gt;
:*TCL/TK development system&lt;br /&gt;
:*Java&lt;br /&gt;
:*Experienced user&lt;br /&gt;
:*LaTex, SGML and XML&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;If using the firewall, add HTTP Server to the Allowed Services list, if you want to access ZoneMinder with a web browser.&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Once the Installation is finished, open the YAST control center.  (Under System)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;If you have an internet connection - In YAST, add packman as an http installation source(used to install ffmpeg)&lt;br /&gt;
:Type : HTTP &lt;br /&gt;
:Server : packman.unixheads.com &lt;br /&gt;
:Path : suse/10.1&lt;br /&gt;
&lt;br /&gt;
=== Configure via YAST Software Management ===&lt;br /&gt;
&lt;br /&gt;
;Verify that these packages are installed, Install any that are missing  (Enter each name in Search box)&lt;br /&gt;
&lt;br /&gt;
:*apache2&lt;br /&gt;
:*apache2-worker  &lt;br /&gt;
:*apache2-mod_perl &lt;br /&gt;
:*apache2-mod_php5 &lt;br /&gt;
:*apache2-mod-apparmor&lt;br /&gt;
:*php5 &lt;br /&gt;
:*php5-mysql&lt;br /&gt;
:*mysql &lt;br /&gt;
:*mysql-devel &lt;br /&gt;
:*gcc &lt;br /&gt;
:*gcc-c++ &lt;br /&gt;
:*libmpeg2&lt;br /&gt;
:*libmpeg2-devel &lt;br /&gt;
:*ffmpeg&lt;br /&gt;
:*libffmpeg0&lt;br /&gt;
:*libffmpeg0-devel&lt;br /&gt;
:*libjpeg&lt;br /&gt;
:*libjpeg-devel&lt;br /&gt;
:*pcre-devel &lt;br /&gt;
:*xawtv  &lt;br /&gt;
:*openssl-devel&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Update perl with CPAN and install perl packages=== &lt;br /&gt;
I&amp;#039;ve done all off the perl related installation under user root because of problems with cpan packages installation.  It seems like a slow process, have patience.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window:&lt;br /&gt;
 perl -MCPAN -e shell &lt;br /&gt;
 install Bundle::CPAN &lt;br /&gt;
 reload CPAN &lt;br /&gt;
 install Archive::Tar (seems to be  optional =&amp;gt; depend on the way you install yourdistro)&lt;br /&gt;
 install Archive::Zip (seems to be optional =&amp;gt; depend on the way you install yourdistro)  &lt;br /&gt;
 install MIME::Lite &lt;br /&gt;
 install MIME::Tools &lt;br /&gt;
 install DateTime &lt;br /&gt;
 install Date::Manip updated 2006-03-04 thanx to mickecarlsson &lt;br /&gt;
 install Bundle::libnet &lt;br /&gt;
 install Device::SerialPort &lt;br /&gt;
 install Astro::SunTime Updated 2006 03 24 correct spelling error on SunTime (thanx to mickecarlsson) &lt;br /&gt;
 install X10 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Configure servers to be started at boot time===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 su - &lt;br /&gt;
 cd /etc/rc.d/rc5.d &lt;br /&gt;
 ln -s ../apache2 S98apache2 &lt;br /&gt;
 ln -s ../apache2 K01apache2 &lt;br /&gt;
 ln -s ../mysql S98mysql &lt;br /&gt;
 ln -s ../mysql K01mysql&lt;br /&gt;
&lt;br /&gt;
===Start servers manually===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
&lt;br /&gt;
===Download and install latest Zoneminder release (v1.22.2) :=== &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Download and save ZoneMinder tarball from:&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
http://www2.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Extract tarball&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window, inside directory that ZoneMinder download was saved to&lt;br /&gt;
 tar zxvf ZoneMinder-1.22.2.tar.gz &lt;br /&gt;
 cd ZoneMinder-1.22.2&lt;br /&gt;
&lt;br /&gt;
===Download and apply the v1.22.2 patch for ffmpeg from Wiki===&lt;br /&gt;
http://www.zoneminder.com/wiki/index.php/1.22.2_Patches&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;To apply the patch you should do the following&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:* Download the patch and move a copy to your ZoneMinder build directory &lt;br /&gt;
:* Open a command shell (terminal window)&lt;br /&gt;
:* Change directory to your ZoneMinder build directory &lt;br /&gt;
:* Apply the patch by typing the following command&lt;br /&gt;
:patch -p0 &amp;lt; zm-1.22.2-ffmpeg.patch&lt;br /&gt;
:* Check that the patch is applied correctly and you do not get any rejects &lt;br /&gt;
:* If necessary rebuild, then reinstall&lt;br /&gt;
&lt;br /&gt;
===Configure ZoneMinder===&lt;br /&gt;
Within a Terminal window, in ZoneMinder-1.22.2 directory&lt;br /&gt;
 ./configure --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --with-webgroup=www --with-webuser=wwwrun ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=zm&lt;br /&gt;
&lt;br /&gt;
===Configure MySQL===&lt;br /&gt;
&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory and Login to MySQL  (PW is probably blank)&lt;br /&gt;
 mysql -h localhost -u root -p &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Under the MySQL prompt -&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
(Entering Each line will echo a bunch of lines, just ignore them)&lt;br /&gt;
 source db/zm_create.sql;&lt;br /&gt;
 grant select,insert,update,delete on zm.* to &amp;#039;zm&amp;#039;@localhost identified by &amp;#039;zm&amp;#039;;&lt;br /&gt;
 flush privileges;&lt;br /&gt;
 quit&lt;br /&gt;
&lt;br /&gt;
===Compile ZoneMinder===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
Now compile and install this nice piece of software ! &lt;br /&gt;
 make &lt;br /&gt;
 sudo make install &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
===Configure ZoneMinder to be started at boot time===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
 su - &lt;br /&gt;
 # from zoneminder source directory &lt;br /&gt;
 cp scripts/zm /etc/rc.d &lt;br /&gt;
 cd /etc/rc.d &lt;br /&gt;
 chmod +x zm &lt;br /&gt;
 cd rc5.d &lt;br /&gt;
 ln -s ../zm S99zm &lt;br /&gt;
 ln -s ../zm K00zm&lt;br /&gt;
&lt;br /&gt;
===Logoff and logon as root, or create a new session as root.===&lt;br /&gt;
&lt;br /&gt;
;Edit /etc/rc.d/zm with your favorite text editor (kwrite ?)&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;remove&amp;#039;&amp;#039;&amp;#039; the line related to include functions &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_success by echo success &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_failure by echo failure &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;save&amp;#039;&amp;#039;&amp;#039; the changes (ie :x!)&lt;br /&gt;
&lt;br /&gt;
===Make minor changes in the htdocs folder===&lt;br /&gt;
Copy the /srv/www/htdocs/zm.php  file on top of the /srv/www/htdocs/index.php file. &amp;lt;br&amp;gt;  Rename or delete the /srv/www/htdocs/index.html file&lt;br /&gt;
&lt;br /&gt;
===Deal with the Shared Memory problem=== &lt;br /&gt;
Add the following lines to your /etc/sysctl.conf file: &amp;lt;br&amp;gt;&lt;br /&gt;
(I chose 256,000,000 because my cams are 640x480)&lt;br /&gt;
 # Memory modifications for ZoneMinder&lt;br /&gt;
 kernel.shmall = 256000000 &lt;br /&gt;
 kernel.shmmax = 256000000 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Now you can reboot your computer to apply changes&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Well we are at the end of the process...&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
Start all servers if they are not already started when you boot your computer : &lt;br /&gt;
From within a Terminal window&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
 sudo zmpkg.pl start &lt;br /&gt;
&lt;br /&gt;
Now open your web browser and point to http://localhost/&lt;br /&gt;
If that doesn’t work, try http://localhost/zm.php&lt;br /&gt;
&lt;br /&gt;
===Create your monitor and start viewing=== &lt;br /&gt;
&lt;br /&gt;
Here are some options I use when configuring a monitor for my Axis IP camera at 640x480, color.:&lt;br /&gt;
&lt;br /&gt;
;Under the General Tab&lt;br /&gt;
:*Source Type = Remote&lt;br /&gt;
:*Function = Modetect&lt;br /&gt;
:*Enabled = Checked&lt;br /&gt;
:*Linked Monitors = (leave it blank)&lt;br /&gt;
:*Maximum FPS = 4.0&lt;br /&gt;
:*Alarm Maximum FPS = 8.0&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Under the Source Tab&lt;br /&gt;
:*Remote host name = IP of camera (i.e. 192.168.3.2)&lt;br /&gt;
:*Remote Host Port = 80&lt;br /&gt;
:*Remote Host Path = /axis-cgi/jpg/image.cgi?resolution=640x480&lt;br /&gt;
:*Remote Image Colours = 24 bit colour&lt;br /&gt;
:*Capture Width = 640&lt;br /&gt;
:*Capture Height = 480&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to utilize mpeg instead of jpeg, use this for the host path: &amp;lt;br&amp;gt;&lt;br /&gt;
Remote Host Path = /axis-cgi/mjpg/video.cgi?&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Information:&lt;br /&gt;
:ZoneMinder Logs are in /tmp &lt;br /&gt;
:zmaudit.log &lt;br /&gt;
:zmupdate.log &lt;br /&gt;
:zmwatch.log =&amp;gt; take attention to this one because the shared memory problem is reported here &lt;br /&gt;
:zmpkg.log &lt;br /&gt;
:zmdc.log &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Apache2 Logs are in /var/logs&lt;/div&gt;</summary>
		<author><name>BarryH</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1749</id>
		<title>SuSE 10.1 and ZoneMinder</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1749"/>
		<updated>2006-10-19T22:12:44Z</updated>

		<summary type="html">&lt;p&gt;BarryH: /* Logoff and logon as root, or create a new session as root. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=MsoNormal&amp;gt;&amp;lt;span class=name1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;mso-bidi-font-size:8.5pt;font-family:Verdana&amp;#039;&amp;gt;Dgsconseil was kind enough to write a&amp;lt;b&amp;gt; &amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
class=postbody1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;step-by-step&lt;br /&gt;
newbie kit to install ZoneMinder under &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
10.0 OSS.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;   &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;I copied it and modified it to for&lt;br /&gt;
SuSE 10.1 with a GUI and the KDE.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=postbody1&amp;gt;This is only a short How-To on how I installed SuSE and&lt;br /&gt;
ZoneMinder software on &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; 10.1 OSS,&lt;br /&gt;
it is not intended to be a reference because I do not specify any of the&lt;br /&gt;
security rules or optimizations needed for a production server.&amp;lt;span&lt;br /&gt;
style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;I just specify the main steps to get Zone&lt;br /&gt;
Minder Running. &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;By the&lt;br /&gt;
way, this is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; the smallest installation possible.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It’s just what I used and it worked.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It seemed that if I skipped any of the additional packages, I’d&lt;br /&gt;
run into trouble.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fresh install of SuSE 10.1 OSS (CD install)===&lt;br /&gt;
Base installation with KDE Desktop and additional packages&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Software Packages chosen during install:&lt;br /&gt;
:*Graphical Base system&lt;br /&gt;
:*KDE Desktop Environment&lt;br /&gt;
:*All of KDE&lt;br /&gt;
:*Help and Supports Docs&lt;br /&gt;
:*Office applications&lt;br /&gt;
:*Multimedia&lt;br /&gt;
:*Simple Web Server with Apache2&lt;br /&gt;
:*LDAP Server and Tools&lt;br /&gt;
:*Network and Server&lt;br /&gt;
:*C/C++ Complier and Tools&lt;br /&gt;
:*Kernel Development&lt;br /&gt;
:*KDE Development&lt;br /&gt;
:*TCL/TK development system&lt;br /&gt;
:*Java&lt;br /&gt;
:*Experienced user&lt;br /&gt;
:*LaTex, SGML and XML&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;If using the firewall, add HTTP Server to the Allowed Services list, if you want to access ZoneMinder with a web browser.&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Once the Installation is finished, open the YAST control center.  (Under System)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;If you have an internet connection - In YAST, add packman as an http installation source(used to install ffmpeg)&lt;br /&gt;
:Type : HTTP &lt;br /&gt;
:Server : packman.unixheads.com &lt;br /&gt;
:Path : suse/10.1&lt;br /&gt;
&lt;br /&gt;
=== Configure via YAST Software Management ===&lt;br /&gt;
&lt;br /&gt;
;Verify that these packages are installed, Install any that are missing  (Enter each name in Search box)&lt;br /&gt;
&lt;br /&gt;
:*apache2&lt;br /&gt;
:*apache2-worker  &lt;br /&gt;
:*apache2-mod_perl &lt;br /&gt;
:*apache2-mod_php5 &lt;br /&gt;
:*apache2-mod-apparmor&lt;br /&gt;
:*php5 &lt;br /&gt;
:*php5-mysql&lt;br /&gt;
:*mysql &lt;br /&gt;
:*mysql-devel &lt;br /&gt;
:*gcc &lt;br /&gt;
:*gcc-c++ &lt;br /&gt;
:*libmpeg2&lt;br /&gt;
:*libmpeg2-devel &lt;br /&gt;
:*ffmpeg&lt;br /&gt;
:*libffmpeg0&lt;br /&gt;
:*libffmpeg0-devel&lt;br /&gt;
:*libjpeg&lt;br /&gt;
:*libjpeg-devel&lt;br /&gt;
:*pcre-devel &lt;br /&gt;
:*xawtv  &lt;br /&gt;
:*openssl-devel&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Update perl with CPAN and install perl packages=== &lt;br /&gt;
I&amp;#039;ve done all off the perl related installation under user root because of problems with cpan packages installation.  It seems like a slow process, have patience.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window:&lt;br /&gt;
 perl -MCPAN -e shell &lt;br /&gt;
 install Bundle::CPAN &lt;br /&gt;
 reload CPAN &lt;br /&gt;
 install Archive::Tar (seems to be  optional =&amp;gt; depend on the way you install yourdistro)&lt;br /&gt;
 install Archive::Zip (seems to be optional =&amp;gt; depend on the way you install yourdistro)  &lt;br /&gt;
 install MIME::Lite &lt;br /&gt;
 install MIME::Tools &lt;br /&gt;
 install DateTime &lt;br /&gt;
 install Date::Manip updated 2006-03-04 thanx to mickecarlsson &lt;br /&gt;
 install Bundle::libnet &lt;br /&gt;
 install Device::SerialPort &lt;br /&gt;
 install Astro::SunTime Updated 2006 03 24 correct spelling error on SunTime (thanx to mickecarlsson) &lt;br /&gt;
 install X10 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Configure servers to be started at boot time===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 su - &lt;br /&gt;
 cd /etc/rc.d/rc5.d &lt;br /&gt;
 ln -s ../apache2 S98apache2 &lt;br /&gt;
 ln -s ../apache2 K01apache2 &lt;br /&gt;
 ln -s ../mysql S98mysql &lt;br /&gt;
 ln -s ../mysql K01mysql&lt;br /&gt;
&lt;br /&gt;
===Start servers manually===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
&lt;br /&gt;
===Download and install latest Zoneminder release (v1.22.2) :=== &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Download and save ZoneMinder tarball from:&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
http://www2.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Extract tarball&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window, inside directory that ZoneMinder download was saved to&lt;br /&gt;
 tar zxvf ZoneMinder-1.22.2.tar.gz &lt;br /&gt;
 cd ZoneMinder-1.22.2&lt;br /&gt;
&lt;br /&gt;
===Download and apply the v1.22.2 patch for ffmpeg from Wiki===&lt;br /&gt;
http://www.zoneminder.com/wiki/index.php/1.22.2_Patches&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;To apply the patch you should do the following&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:* Download the patch and move a copy to your ZoneMinder build directory &lt;br /&gt;
:* Open a command shell (terminal window)&lt;br /&gt;
:* Change directory to your ZoneMinder build directory &lt;br /&gt;
:* Apply the patch by typing the following command&lt;br /&gt;
:patch -p0 &amp;lt; zm-1.22.2-ffmpeg.patch&lt;br /&gt;
:* Check that the patch is applied correctly and you do not get any rejects &lt;br /&gt;
:* If necessary rebuild, then reinstall&lt;br /&gt;
&lt;br /&gt;
===Configure ZoneMinder===&lt;br /&gt;
Within a Terminal window, in ZoneMinder-1.22.2 directory&lt;br /&gt;
 ./configure --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --with-webgroup=www --with-webuser=wwwrun ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=zm&lt;br /&gt;
&lt;br /&gt;
===Configure MySQL===&lt;br /&gt;
&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory and Login to MySQL  (PW is probably blank)&lt;br /&gt;
 mysql -h localhost -u root -p &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Under the MySQL prompt -&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
(Entering Each line will echo a bunch of lines, just ignore them)&lt;br /&gt;
 source db/zm_create.sql;&lt;br /&gt;
 grant select,insert,update,delete on zm.* to &amp;#039;zm&amp;#039;@localhost identified by &amp;#039;zm&amp;#039;;&lt;br /&gt;
 flush privileges;&lt;br /&gt;
 quit&lt;br /&gt;
&lt;br /&gt;
===Compile ZoneMinder===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
Now compile and install this nice piece of software ! &lt;br /&gt;
 make &lt;br /&gt;
 sudo make install &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
===Configure ZoneMinder to be started at boot time===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
 su - &lt;br /&gt;
 # from zoneminder source directory &lt;br /&gt;
 cp scripts/zm /etc/rc.d &lt;br /&gt;
 cd /etc/rc.d &lt;br /&gt;
 chmod +x zm &lt;br /&gt;
 cd rc5.d &lt;br /&gt;
 ln -s ../zm S99zm &lt;br /&gt;
 ln -s ../zm K00zm&lt;br /&gt;
&lt;br /&gt;
===Logoff and logon as root, or create a new session as root.===&lt;br /&gt;
&lt;br /&gt;
;Edit /etc/rc.d/zm with your favorite text editor (kwrite ?)&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;remove&amp;#039;&amp;#039;&amp;#039; the line related to include functions &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_success by echo success &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_failure by echo failure &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;save&amp;#039;&amp;#039;&amp;#039; the changes (ie :x!)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Startup Issues&amp;#039;&amp;#039;&amp;#039; - I had an issue on boot-up where my ZoneMinder appeared to be starting before MySQL was available.  This caused ZoneMinder to fail to start.  To fix this  (there&amp;#039;s probably a better way) I just told ZoneMinder to delay for 30 seconds before starting.  To do this, enter the following lines just above loadconf() in the /etc/rc.d/zm file:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
 #Delay for 30 seconds to wait for MySQL&lt;br /&gt;
 sleep 30&lt;br /&gt;
&lt;br /&gt;
===Make minor changes in the htdocs folder===&lt;br /&gt;
Copy the /srv/www/htdocs/zm.php  file on top of the /srv/www/htdocs/index.php file. &amp;lt;br&amp;gt;  Rename or delete the /srv/www/htdocs/index.html file&lt;br /&gt;
&lt;br /&gt;
===Deal with the Shared Memory problem=== &lt;br /&gt;
Add the following lines to your /etc/sysctl.conf file: &amp;lt;br&amp;gt;&lt;br /&gt;
(I chose 256,000,000 because my cams are 640x480)&lt;br /&gt;
 # Memory modifications for ZoneMinder&lt;br /&gt;
 kernel.shmall = 256000000 &lt;br /&gt;
 kernel.shmmax = 256000000 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Now you can reboot your computer to apply changes&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Well we are at the end of the process...&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
Start all servers if they are not already started when you boot your computer : &lt;br /&gt;
From within a Terminal window&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
 sudo zmpkg.pl start &lt;br /&gt;
&lt;br /&gt;
Now open your web browser and point to http://localhost/&lt;br /&gt;
If that doesn’t work, try http://localhost/zm.php&lt;br /&gt;
&lt;br /&gt;
===Create your monitor and start viewing=== &lt;br /&gt;
&lt;br /&gt;
Here are some options I use when configuring a monitor for my Axis IP camera at 640x480, color.:&lt;br /&gt;
&lt;br /&gt;
;Under the General Tab&lt;br /&gt;
:*Source Type = Remote&lt;br /&gt;
:*Function = Modetect&lt;br /&gt;
:*Enabled = Checked&lt;br /&gt;
:*Linked Monitors = (leave it blank)&lt;br /&gt;
:*Maximum FPS = 4.0&lt;br /&gt;
:*Alarm Maximum FPS = 8.0&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Under the Source Tab&lt;br /&gt;
:*Remote host name = IP of camera (i.e. 192.168.3.2)&lt;br /&gt;
:*Remote Host Port = 80&lt;br /&gt;
:*Remote Host Path = /axis-cgi/jpg/image.cgi?resolution=640x480&lt;br /&gt;
:*Remote Image Colours = 24 bit colour&lt;br /&gt;
:*Capture Width = 640&lt;br /&gt;
:*Capture Height = 480&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to utilize mpeg instead of jpeg, use this for the host path: &amp;lt;br&amp;gt;&lt;br /&gt;
Remote Host Path = /axis-cgi/mjpg/video.cgi?&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Information:&lt;br /&gt;
:ZoneMinder Logs are in /tmp &lt;br /&gt;
:zmaudit.log &lt;br /&gt;
:zmupdate.log &lt;br /&gt;
:zmwatch.log =&amp;gt; take attention to this one because the shared memory problem is reported here &lt;br /&gt;
:zmpkg.log &lt;br /&gt;
:zmdc.log &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Apache2 Logs are in /var/logs&lt;/div&gt;</summary>
		<author><name>BarryH</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1748</id>
		<title>SuSE 10.1 and ZoneMinder</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1748"/>
		<updated>2006-10-19T22:11:53Z</updated>

		<summary type="html">&lt;p&gt;BarryH: /* Logoff and logon as root, or create a new session as root. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=MsoNormal&amp;gt;&amp;lt;span class=name1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;mso-bidi-font-size:8.5pt;font-family:Verdana&amp;#039;&amp;gt;Dgsconseil was kind enough to write a&amp;lt;b&amp;gt; &amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
class=postbody1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;step-by-step&lt;br /&gt;
newbie kit to install ZoneMinder under &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
10.0 OSS.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;   &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;I copied it and modified it to for&lt;br /&gt;
SuSE 10.1 with a GUI and the KDE.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=postbody1&amp;gt;This is only a short How-To on how I installed SuSE and&lt;br /&gt;
ZoneMinder software on &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; 10.1 OSS,&lt;br /&gt;
it is not intended to be a reference because I do not specify any of the&lt;br /&gt;
security rules or optimizations needed for a production server.&amp;lt;span&lt;br /&gt;
style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;I just specify the main steps to get Zone&lt;br /&gt;
Minder Running. &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;By the&lt;br /&gt;
way, this is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; the smallest installation possible.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It’s just what I used and it worked.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It seemed that if I skipped any of the additional packages, I’d&lt;br /&gt;
run into trouble.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fresh install of SuSE 10.1 OSS (CD install)===&lt;br /&gt;
Base installation with KDE Desktop and additional packages&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Software Packages chosen during install:&lt;br /&gt;
:*Graphical Base system&lt;br /&gt;
:*KDE Desktop Environment&lt;br /&gt;
:*All of KDE&lt;br /&gt;
:*Help and Supports Docs&lt;br /&gt;
:*Office applications&lt;br /&gt;
:*Multimedia&lt;br /&gt;
:*Simple Web Server with Apache2&lt;br /&gt;
:*LDAP Server and Tools&lt;br /&gt;
:*Network and Server&lt;br /&gt;
:*C/C++ Complier and Tools&lt;br /&gt;
:*Kernel Development&lt;br /&gt;
:*KDE Development&lt;br /&gt;
:*TCL/TK development system&lt;br /&gt;
:*Java&lt;br /&gt;
:*Experienced user&lt;br /&gt;
:*LaTex, SGML and XML&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;If using the firewall, add HTTP Server to the Allowed Services list, if you want to access ZoneMinder with a web browser.&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Once the Installation is finished, open the YAST control center.  (Under System)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;If you have an internet connection - In YAST, add packman as an http installation source(used to install ffmpeg)&lt;br /&gt;
:Type : HTTP &lt;br /&gt;
:Server : packman.unixheads.com &lt;br /&gt;
:Path : suse/10.1&lt;br /&gt;
&lt;br /&gt;
=== Configure via YAST Software Management ===&lt;br /&gt;
&lt;br /&gt;
;Verify that these packages are installed, Install any that are missing  (Enter each name in Search box)&lt;br /&gt;
&lt;br /&gt;
:*apache2&lt;br /&gt;
:*apache2-worker  &lt;br /&gt;
:*apache2-mod_perl &lt;br /&gt;
:*apache2-mod_php5 &lt;br /&gt;
:*apache2-mod-apparmor&lt;br /&gt;
:*php5 &lt;br /&gt;
:*php5-mysql&lt;br /&gt;
:*mysql &lt;br /&gt;
:*mysql-devel &lt;br /&gt;
:*gcc &lt;br /&gt;
:*gcc-c++ &lt;br /&gt;
:*libmpeg2&lt;br /&gt;
:*libmpeg2-devel &lt;br /&gt;
:*ffmpeg&lt;br /&gt;
:*libffmpeg0&lt;br /&gt;
:*libffmpeg0-devel&lt;br /&gt;
:*libjpeg&lt;br /&gt;
:*libjpeg-devel&lt;br /&gt;
:*pcre-devel &lt;br /&gt;
:*xawtv  &lt;br /&gt;
:*openssl-devel&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Update perl with CPAN and install perl packages=== &lt;br /&gt;
I&amp;#039;ve done all off the perl related installation under user root because of problems with cpan packages installation.  It seems like a slow process, have patience.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window:&lt;br /&gt;
 perl -MCPAN -e shell &lt;br /&gt;
 install Bundle::CPAN &lt;br /&gt;
 reload CPAN &lt;br /&gt;
 install Archive::Tar (seems to be  optional =&amp;gt; depend on the way you install yourdistro)&lt;br /&gt;
 install Archive::Zip (seems to be optional =&amp;gt; depend on the way you install yourdistro)  &lt;br /&gt;
 install MIME::Lite &lt;br /&gt;
 install MIME::Tools &lt;br /&gt;
 install DateTime &lt;br /&gt;
 install Date::Manip updated 2006-03-04 thanx to mickecarlsson &lt;br /&gt;
 install Bundle::libnet &lt;br /&gt;
 install Device::SerialPort &lt;br /&gt;
 install Astro::SunTime Updated 2006 03 24 correct spelling error on SunTime (thanx to mickecarlsson) &lt;br /&gt;
 install X10 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Configure servers to be started at boot time===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 su - &lt;br /&gt;
 cd /etc/rc.d/rc5.d &lt;br /&gt;
 ln -s ../apache2 S98apache2 &lt;br /&gt;
 ln -s ../apache2 K01apache2 &lt;br /&gt;
 ln -s ../mysql S98mysql &lt;br /&gt;
 ln -s ../mysql K01mysql&lt;br /&gt;
&lt;br /&gt;
===Start servers manually===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
&lt;br /&gt;
===Download and install latest Zoneminder release (v1.22.2) :=== &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Download and save ZoneMinder tarball from:&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
http://www2.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Extract tarball&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window, inside directory that ZoneMinder download was saved to&lt;br /&gt;
 tar zxvf ZoneMinder-1.22.2.tar.gz &lt;br /&gt;
 cd ZoneMinder-1.22.2&lt;br /&gt;
&lt;br /&gt;
===Download and apply the v1.22.2 patch for ffmpeg from Wiki===&lt;br /&gt;
http://www.zoneminder.com/wiki/index.php/1.22.2_Patches&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;To apply the patch you should do the following&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:* Download the patch and move a copy to your ZoneMinder build directory &lt;br /&gt;
:* Open a command shell (terminal window)&lt;br /&gt;
:* Change directory to your ZoneMinder build directory &lt;br /&gt;
:* Apply the patch by typing the following command&lt;br /&gt;
:patch -p0 &amp;lt; zm-1.22.2-ffmpeg.patch&lt;br /&gt;
:* Check that the patch is applied correctly and you do not get any rejects &lt;br /&gt;
:* If necessary rebuild, then reinstall&lt;br /&gt;
&lt;br /&gt;
===Configure ZoneMinder===&lt;br /&gt;
Within a Terminal window, in ZoneMinder-1.22.2 directory&lt;br /&gt;
 ./configure --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --with-webgroup=www --with-webuser=wwwrun ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=zm&lt;br /&gt;
&lt;br /&gt;
===Configure MySQL===&lt;br /&gt;
&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory and Login to MySQL  (PW is probably blank)&lt;br /&gt;
 mysql -h localhost -u root -p &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Under the MySQL prompt -&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
(Entering Each line will echo a bunch of lines, just ignore them)&lt;br /&gt;
 source db/zm_create.sql;&lt;br /&gt;
 grant select,insert,update,delete on zm.* to &amp;#039;zm&amp;#039;@localhost identified by &amp;#039;zm&amp;#039;;&lt;br /&gt;
 flush privileges;&lt;br /&gt;
 quit&lt;br /&gt;
&lt;br /&gt;
===Compile ZoneMinder===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
Now compile and install this nice piece of software ! &lt;br /&gt;
 make &lt;br /&gt;
 sudo make install &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
===Configure ZoneMinder to be started at boot time===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
 su - &lt;br /&gt;
 # from zoneminder source directory &lt;br /&gt;
 cp scripts/zm /etc/rc.d &lt;br /&gt;
 cd /etc/rc.d &lt;br /&gt;
 chmod +x zm &lt;br /&gt;
 cd rc5.d &lt;br /&gt;
 ln -s ../zm S99zm &lt;br /&gt;
 ln -s ../zm K00zm&lt;br /&gt;
&lt;br /&gt;
===Logoff and logon as root, or create a new session as root.===&lt;br /&gt;
&lt;br /&gt;
;Edit /etc/rc.d/zm with your favorite text editor (kwrite ?)&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;remove&amp;#039;&amp;#039;&amp;#039; the line related to include functions &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_success by echo success &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_failure by echo failure &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;save&amp;#039;&amp;#039;&amp;#039; the changes (ie :x!)&lt;br /&gt;
&lt;br /&gt;
I had an issue on boot-up where my ZoneMinder appeared to be starting before MySQL was available.  This caused ZoneMinder to fail to start.  To fix this  (there&amp;#039;s probably a better way) I just told ZoneMinder to delay for 30 seconds before starting.  To do this, enter the following lines just above loadconf() in the /etc/rc.d/zm file:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
 #Delay for 30 seconds to wait for MySQL&lt;br /&gt;
 sleep 30&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Make minor changes in the htdocs folder===&lt;br /&gt;
Copy the /srv/www/htdocs/zm.php  file on top of the /srv/www/htdocs/index.php file. &amp;lt;br&amp;gt;  Rename or delete the /srv/www/htdocs/index.html file&lt;br /&gt;
&lt;br /&gt;
===Deal with the Shared Memory problem=== &lt;br /&gt;
Add the following lines to your /etc/sysctl.conf file: &amp;lt;br&amp;gt;&lt;br /&gt;
(I chose 256,000,000 because my cams are 640x480)&lt;br /&gt;
 # Memory modifications for ZoneMinder&lt;br /&gt;
 kernel.shmall = 256000000 &lt;br /&gt;
 kernel.shmmax = 256000000 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Now you can reboot your computer to apply changes&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Well we are at the end of the process...&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
Start all servers if they are not already started when you boot your computer : &lt;br /&gt;
From within a Terminal window&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
 sudo zmpkg.pl start &lt;br /&gt;
&lt;br /&gt;
Now open your web browser and point to http://localhost/&lt;br /&gt;
If that doesn’t work, try http://localhost/zm.php&lt;br /&gt;
&lt;br /&gt;
===Create your monitor and start viewing=== &lt;br /&gt;
&lt;br /&gt;
Here are some options I use when configuring a monitor for my Axis IP camera at 640x480, color.:&lt;br /&gt;
&lt;br /&gt;
;Under the General Tab&lt;br /&gt;
:*Source Type = Remote&lt;br /&gt;
:*Function = Modetect&lt;br /&gt;
:*Enabled = Checked&lt;br /&gt;
:*Linked Monitors = (leave it blank)&lt;br /&gt;
:*Maximum FPS = 4.0&lt;br /&gt;
:*Alarm Maximum FPS = 8.0&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Under the Source Tab&lt;br /&gt;
:*Remote host name = IP of camera (i.e. 192.168.3.2)&lt;br /&gt;
:*Remote Host Port = 80&lt;br /&gt;
:*Remote Host Path = /axis-cgi/jpg/image.cgi?resolution=640x480&lt;br /&gt;
:*Remote Image Colours = 24 bit colour&lt;br /&gt;
:*Capture Width = 640&lt;br /&gt;
:*Capture Height = 480&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to utilize mpeg instead of jpeg, use this for the host path: &amp;lt;br&amp;gt;&lt;br /&gt;
Remote Host Path = /axis-cgi/mjpg/video.cgi?&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Information:&lt;br /&gt;
:ZoneMinder Logs are in /tmp &lt;br /&gt;
:zmaudit.log &lt;br /&gt;
:zmupdate.log &lt;br /&gt;
:zmwatch.log =&amp;gt; take attention to this one because the shared memory problem is reported here &lt;br /&gt;
:zmpkg.log &lt;br /&gt;
:zmdc.log &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Apache2 Logs are in /var/logs&lt;/div&gt;</summary>
		<author><name>BarryH</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1743</id>
		<title>SuSE 10.1 and ZoneMinder</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1743"/>
		<updated>2006-10-13T20:01:38Z</updated>

		<summary type="html">&lt;p&gt;BarryH: /* Configure via YAST Software Management */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=MsoNormal&amp;gt;&amp;lt;span class=name1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;mso-bidi-font-size:8.5pt;font-family:Verdana&amp;#039;&amp;gt;Dgsconseil was kind enough to write a&amp;lt;b&amp;gt; &amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
class=postbody1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;step-by-step&lt;br /&gt;
newbie kit to install ZoneMinder under &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
10.0 OSS.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;   &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;I copied it and modified it to for&lt;br /&gt;
SuSE 10.1 with a GUI and the KDE.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=postbody1&amp;gt;This is only a short How-To on how I installed SuSE and&lt;br /&gt;
ZoneMinder software on &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; 10.1 OSS,&lt;br /&gt;
it is not intended to be a reference because I do not specify any of the&lt;br /&gt;
security rules or optimizations needed for a production server.&amp;lt;span&lt;br /&gt;
style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;I just specify the main steps to get Zone&lt;br /&gt;
Minder Running. &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;By the&lt;br /&gt;
way, this is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; the smallest installation possible.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It’s just what I used and it worked.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It seemed that if I skipped any of the additional packages, I’d&lt;br /&gt;
run into trouble.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fresh install of SuSE 10.1 OSS (CD install)===&lt;br /&gt;
Base installation with KDE Desktop and additional packages&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Software Packages chosen during install:&lt;br /&gt;
:*Graphical Base system&lt;br /&gt;
:*KDE Desktop Environment&lt;br /&gt;
:*All of KDE&lt;br /&gt;
:*Help and Supports Docs&lt;br /&gt;
:*Office applications&lt;br /&gt;
:*Multimedia&lt;br /&gt;
:*Simple Web Server with Apache2&lt;br /&gt;
:*LDAP Server and Tools&lt;br /&gt;
:*Network and Server&lt;br /&gt;
:*C/C++ Complier and Tools&lt;br /&gt;
:*Kernel Development&lt;br /&gt;
:*KDE Development&lt;br /&gt;
:*TCL/TK development system&lt;br /&gt;
:*Java&lt;br /&gt;
:*Experienced user&lt;br /&gt;
:*LaTex, SGML and XML&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;If using the firewall, add HTTP Server to the Allowed Services list, if you want to access ZoneMinder with a web browser.&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Once the Installation is finished, open the YAST control center.  (Under System)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;If you have an internet connection - In YAST, add packman as an http installation source(used to install ffmpeg)&lt;br /&gt;
:Type : HTTP &lt;br /&gt;
:Server : packman.unixheads.com &lt;br /&gt;
:Path : suse/10.1&lt;br /&gt;
&lt;br /&gt;
=== Configure via YAST Software Management ===&lt;br /&gt;
&lt;br /&gt;
;Verify that these packages are installed, Install any that are missing  (Enter each name in Search box)&lt;br /&gt;
&lt;br /&gt;
:*apache2&lt;br /&gt;
:*apache2-worker  &lt;br /&gt;
:*apache2-mod_perl &lt;br /&gt;
:*apache2-mod_php5 &lt;br /&gt;
:*apache2-mod-apparmor&lt;br /&gt;
:*php5 &lt;br /&gt;
:*php5-mysql&lt;br /&gt;
:*mysql &lt;br /&gt;
:*mysql-devel &lt;br /&gt;
:*gcc &lt;br /&gt;
:*gcc-c++ &lt;br /&gt;
:*libmpeg2&lt;br /&gt;
:*libmpeg2-devel &lt;br /&gt;
:*ffmpeg&lt;br /&gt;
:*libffmpeg0&lt;br /&gt;
:*libffmpeg0-devel&lt;br /&gt;
:*libjpeg&lt;br /&gt;
:*libjpeg-devel&lt;br /&gt;
:*pcre-devel &lt;br /&gt;
:*xawtv  &lt;br /&gt;
:*openssl-devel&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Update perl with CPAN and install perl packages=== &lt;br /&gt;
I&amp;#039;ve done all off the perl related installation under user root because of problems with cpan packages installation.  It seems like a slow process, have patience.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window:&lt;br /&gt;
 perl -MCPAN -e shell &lt;br /&gt;
 install Bundle::CPAN &lt;br /&gt;
 reload CPAN &lt;br /&gt;
 install Archive::Tar (seems to be  optional =&amp;gt; depend on the way you install yourdistro)&lt;br /&gt;
 install Archive::Zip (seems to be optional =&amp;gt; depend on the way you install yourdistro)  &lt;br /&gt;
 install MIME::Lite &lt;br /&gt;
 install MIME::Tools &lt;br /&gt;
 install DateTime &lt;br /&gt;
 install Date::Manip updated 2006-03-04 thanx to mickecarlsson &lt;br /&gt;
 install Bundle::libnet &lt;br /&gt;
 install Device::SerialPort &lt;br /&gt;
 install Astro::SunTime Updated 2006 03 24 correct spelling error on SunTime (thanx to mickecarlsson) &lt;br /&gt;
 install X10 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Configure servers to be started at boot time===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 su - &lt;br /&gt;
 cd /etc/rc.d/rc5.d &lt;br /&gt;
 ln -s ../apache2 S98apache2 &lt;br /&gt;
 ln -s ../apache2 K01apache2 &lt;br /&gt;
 ln -s ../mysql S98mysql &lt;br /&gt;
 ln -s ../mysql K01mysql&lt;br /&gt;
&lt;br /&gt;
===Start servers manually===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
&lt;br /&gt;
===Download and install latest Zoneminder release (v1.22.2) :=== &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Download and save ZoneMinder tarball from:&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
http://www2.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Extract tarball&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window, inside directory that ZoneMinder download was saved to&lt;br /&gt;
 tar zxvf ZoneMinder-1.22.2.tar.gz &lt;br /&gt;
 cd ZoneMinder-1.22.2&lt;br /&gt;
&lt;br /&gt;
===Download and apply the v1.22.2 patch for ffmpeg from Wiki===&lt;br /&gt;
http://www.zoneminder.com/wiki/index.php/1.22.2_Patches&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;To apply the patch you should do the following&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:* Download the patch and move a copy to your ZoneMinder build directory &lt;br /&gt;
:* Open a command shell (terminal window)&lt;br /&gt;
:* Change directory to your ZoneMinder build directory &lt;br /&gt;
:* Apply the patch by typing the following command&lt;br /&gt;
:patch -p0 &amp;lt; zm-1.22.2-ffmpeg.patch&lt;br /&gt;
:* Check that the patch is applied correctly and you do not get any rejects &lt;br /&gt;
:* If necessary rebuild, then reinstall&lt;br /&gt;
&lt;br /&gt;
===Configure ZoneMinder===&lt;br /&gt;
Within a Terminal window, in ZoneMinder-1.22.2 directory&lt;br /&gt;
 ./configure --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --with-webgroup=www --with-webuser=wwwrun ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=zm&lt;br /&gt;
&lt;br /&gt;
===Configure MySQL===&lt;br /&gt;
&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory and Login to MySQL  (PW is probably blank)&lt;br /&gt;
 mysql -h localhost -u root -p &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Under the MySQL prompt -&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
(Entering Each line will echo a bunch of lines, just ignore them)&lt;br /&gt;
 source db/zm_create.sql;&lt;br /&gt;
 grant select,insert,update,delete on zm.* to &amp;#039;zm&amp;#039;@localhost identified by &amp;#039;zm&amp;#039;;&lt;br /&gt;
 flush privileges;&lt;br /&gt;
 quit&lt;br /&gt;
&lt;br /&gt;
===Compile ZoneMinder===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
Now compile and install this nice piece of software ! &lt;br /&gt;
 make &lt;br /&gt;
 sudo make install &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
===Configure ZoneMinder to be started at boot time===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
 su - &lt;br /&gt;
 # from zoneminder source directory &lt;br /&gt;
 cp scripts/zm /etc/rc.d &lt;br /&gt;
 cd /etc/rc.d &lt;br /&gt;
 chmod +x zm &lt;br /&gt;
 cd rc5.d &lt;br /&gt;
 ln -s ../zm S99zm &lt;br /&gt;
 ln -s ../zm K00zm&lt;br /&gt;
&lt;br /&gt;
===Logoff and logon as root, or create a new session as root.===&lt;br /&gt;
&lt;br /&gt;
;Edit /etc/rc.d/zm with your favorite text editor (kwrite ?)&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;remove&amp;#039;&amp;#039;&amp;#039; the line related to include functions &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_success by echo success &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_failure by echo failure &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;save&amp;#039;&amp;#039;&amp;#039; the changes (ie :x!)&lt;br /&gt;
&lt;br /&gt;
===Make minor changes in the htdocs folder===&lt;br /&gt;
Copy the /srv/www/htdocs/zm.php  file on top of the /srv/www/htdocs/index.php file. &amp;lt;br&amp;gt;  Rename or delete the /srv/www/htdocs/index.html file&lt;br /&gt;
&lt;br /&gt;
===Deal with the Shared Memory problem=== &lt;br /&gt;
Add the following lines to your /etc/sysctl.conf file: &amp;lt;br&amp;gt;&lt;br /&gt;
(I chose 256,000,000 because my cams are 640x480)&lt;br /&gt;
 # Memory modifications for ZoneMinder&lt;br /&gt;
 kernel.shmall = 256000000 &lt;br /&gt;
 kernel.shmmax = 256000000 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Now you can reboot your computer to apply changes&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Well we are at the end of the process...&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
Start all servers if they are not already started when you boot your computer : &lt;br /&gt;
From within a Terminal window&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
 sudo zmpkg.pl start &lt;br /&gt;
&lt;br /&gt;
Now open your web browser and point to http://localhost/&lt;br /&gt;
If that doesn’t work, try http://localhost/zm.php&lt;br /&gt;
&lt;br /&gt;
===Create your monitor and start viewing=== &lt;br /&gt;
&lt;br /&gt;
Here are some options I use when configuring a monitor for my Axis IP camera at 640x480, color.:&lt;br /&gt;
&lt;br /&gt;
;Under the General Tab&lt;br /&gt;
:*Source Type = Remote&lt;br /&gt;
:*Function = Modetect&lt;br /&gt;
:*Enabled = Checked&lt;br /&gt;
:*Linked Monitors = (leave it blank)&lt;br /&gt;
:*Maximum FPS = 4.0&lt;br /&gt;
:*Alarm Maximum FPS = 8.0&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Under the Source Tab&lt;br /&gt;
:*Remote host name = IP of camera (i.e. 192.168.3.2)&lt;br /&gt;
:*Remote Host Port = 80&lt;br /&gt;
:*Remote Host Path = /axis-cgi/jpg/image.cgi?resolution=640x480&lt;br /&gt;
:*Remote Image Colours = 24 bit colour&lt;br /&gt;
:*Capture Width = 640&lt;br /&gt;
:*Capture Height = 480&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to utilize mpeg instead of jpeg, use this for the host path: &amp;lt;br&amp;gt;&lt;br /&gt;
Remote Host Path = /axis-cgi/mjpg/video.cgi?&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Information:&lt;br /&gt;
:ZoneMinder Logs are in /tmp &lt;br /&gt;
:zmaudit.log &lt;br /&gt;
:zmupdate.log &lt;br /&gt;
:zmwatch.log =&amp;gt; take attention to this one because the shared memory problem is reported here &lt;br /&gt;
:zmpkg.log &lt;br /&gt;
:zmdc.log &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Apache2 Logs are in /var/logs&lt;/div&gt;</summary>
		<author><name>BarryH</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1742</id>
		<title>SuSE 10.1 and ZoneMinder</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1742"/>
		<updated>2006-10-13T18:54:53Z</updated>

		<summary type="html">&lt;p&gt;BarryH: /* Configure ZoneMinder to be started at boot time */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=MsoNormal&amp;gt;&amp;lt;span class=name1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;mso-bidi-font-size:8.5pt;font-family:Verdana&amp;#039;&amp;gt;Dgsconseil was kind enough to write a&amp;lt;b&amp;gt; &amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
class=postbody1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;step-by-step&lt;br /&gt;
newbie kit to install ZoneMinder under &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
10.0 OSS.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;   &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;I copied it and modified it to for&lt;br /&gt;
SuSE 10.1 with a GUI and the KDE.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=postbody1&amp;gt;This is only a short How-To on how I installed SuSE and&lt;br /&gt;
ZoneMinder software on &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; 10.1 OSS,&lt;br /&gt;
it is not intended to be a reference because I do not specify any of the&lt;br /&gt;
security rules or optimizations needed for a production server.&amp;lt;span&lt;br /&gt;
style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;I just specify the main steps to get Zone&lt;br /&gt;
Minder Running. &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;By the&lt;br /&gt;
way, this is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; the smallest installation possible.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It’s just what I used and it worked.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It seemed that if I skipped any of the additional packages, I’d&lt;br /&gt;
run into trouble.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fresh install of SuSE 10.1 OSS (CD install)===&lt;br /&gt;
Base installation with KDE Desktop and additional packages&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Software Packages chosen during install:&lt;br /&gt;
:*Graphical Base system&lt;br /&gt;
:*KDE Desktop Environment&lt;br /&gt;
:*All of KDE&lt;br /&gt;
:*Help and Supports Docs&lt;br /&gt;
:*Office applications&lt;br /&gt;
:*Multimedia&lt;br /&gt;
:*Simple Web Server with Apache2&lt;br /&gt;
:*LDAP Server and Tools&lt;br /&gt;
:*Network and Server&lt;br /&gt;
:*C/C++ Complier and Tools&lt;br /&gt;
:*Kernel Development&lt;br /&gt;
:*KDE Development&lt;br /&gt;
:*TCL/TK development system&lt;br /&gt;
:*Java&lt;br /&gt;
:*Experienced user&lt;br /&gt;
:*LaTex, SGML and XML&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;If using the firewall, add HTTP Server to the Allowed Services list, if you want to access ZoneMinder with a web browser.&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Once the Installation is finished, open the YAST control center.  (Under System)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;If you have an internet connection - In YAST, add packman as an http installation source(used to install ffmpeg)&lt;br /&gt;
:Type : HTTP &lt;br /&gt;
:Server : packman.unixheads.com &lt;br /&gt;
:Path : suse/10.1&lt;br /&gt;
&lt;br /&gt;
=== Configure via YAST Software Management ===&lt;br /&gt;
&lt;br /&gt;
;Verify that these packages are installed, Install any that are missing  (Enter each name in Search box)&lt;br /&gt;
&lt;br /&gt;
:*apache2&lt;br /&gt;
:*apache2-worker  &lt;br /&gt;
:*apache2-mod_perl &lt;br /&gt;
:*apache2-mod_php5 &lt;br /&gt;
:*apache2-mod-apparmor&lt;br /&gt;
:*php5 &lt;br /&gt;
:*mysql &lt;br /&gt;
:*mysql-devel &lt;br /&gt;
:*gcc &lt;br /&gt;
:*gcc-c++ &lt;br /&gt;
:*libmpeg2&lt;br /&gt;
:*libmpeg2-devel &lt;br /&gt;
:*ffmpeg&lt;br /&gt;
:*libffmpeg0&lt;br /&gt;
:*libffmpeg0-devel&lt;br /&gt;
:*libjpeg&lt;br /&gt;
:*libjpeg-devel&lt;br /&gt;
:*pcre-devel &lt;br /&gt;
:*xawtv  &lt;br /&gt;
:*openssl-devel&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Update perl with CPAN and install perl packages=== &lt;br /&gt;
I&amp;#039;ve done all off the perl related installation under user root because of problems with cpan packages installation.  It seems like a slow process, have patience.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window:&lt;br /&gt;
 perl -MCPAN -e shell &lt;br /&gt;
 install Bundle::CPAN &lt;br /&gt;
 reload CPAN &lt;br /&gt;
 install Archive::Tar (seems to be  optional =&amp;gt; depend on the way you install yourdistro)&lt;br /&gt;
 install Archive::Zip (seems to be optional =&amp;gt; depend on the way you install yourdistro)  &lt;br /&gt;
 install MIME::Lite &lt;br /&gt;
 install MIME::Tools &lt;br /&gt;
 install DateTime &lt;br /&gt;
 install Date::Manip updated 2006-03-04 thanx to mickecarlsson &lt;br /&gt;
 install Bundle::libnet &lt;br /&gt;
 install Device::SerialPort &lt;br /&gt;
 install Astro::SunTime Updated 2006 03 24 correct spelling error on SunTime (thanx to mickecarlsson) &lt;br /&gt;
 install X10 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Configure servers to be started at boot time===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 su - &lt;br /&gt;
 cd /etc/rc.d/rc5.d &lt;br /&gt;
 ln -s ../apache2 S98apache2 &lt;br /&gt;
 ln -s ../apache2 K01apache2 &lt;br /&gt;
 ln -s ../mysql S98mysql &lt;br /&gt;
 ln -s ../mysql K01mysql&lt;br /&gt;
&lt;br /&gt;
===Start servers manually===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
&lt;br /&gt;
===Download and install latest Zoneminder release (v1.22.2) :=== &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Download and save ZoneMinder tarball from:&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
http://www2.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Extract tarball&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window, inside directory that ZoneMinder download was saved to&lt;br /&gt;
 tar zxvf ZoneMinder-1.22.2.tar.gz &lt;br /&gt;
 cd ZoneMinder-1.22.2&lt;br /&gt;
&lt;br /&gt;
===Download and apply the v1.22.2 patch for ffmpeg from Wiki===&lt;br /&gt;
http://www.zoneminder.com/wiki/index.php/1.22.2_Patches&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;To apply the patch you should do the following&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:* Download the patch and move a copy to your ZoneMinder build directory &lt;br /&gt;
:* Open a command shell (terminal window)&lt;br /&gt;
:* Change directory to your ZoneMinder build directory &lt;br /&gt;
:* Apply the patch by typing the following command&lt;br /&gt;
:patch -p0 &amp;lt; zm-1.22.2-ffmpeg.patch&lt;br /&gt;
:* Check that the patch is applied correctly and you do not get any rejects &lt;br /&gt;
:* If necessary rebuild, then reinstall&lt;br /&gt;
&lt;br /&gt;
===Configure ZoneMinder===&lt;br /&gt;
Within a Terminal window, in ZoneMinder-1.22.2 directory&lt;br /&gt;
 ./configure --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --with-webgroup=www --with-webuser=wwwrun ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=zm&lt;br /&gt;
&lt;br /&gt;
===Configure MySQL===&lt;br /&gt;
&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory and Login to MySQL  (PW is probably blank)&lt;br /&gt;
 mysql -h localhost -u root -p &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Under the MySQL prompt -&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
(Entering Each line will echo a bunch of lines, just ignore them)&lt;br /&gt;
 source db/zm_create.sql;&lt;br /&gt;
 grant select,insert,update,delete on zm.* to &amp;#039;zm&amp;#039;@localhost identified by &amp;#039;zm&amp;#039;;&lt;br /&gt;
 flush privileges;&lt;br /&gt;
 quit&lt;br /&gt;
&lt;br /&gt;
===Compile ZoneMinder===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
Now compile and install this nice piece of software ! &lt;br /&gt;
 make &lt;br /&gt;
 sudo make install &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
===Configure ZoneMinder to be started at boot time===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
 su - &lt;br /&gt;
 # from zoneminder source directory &lt;br /&gt;
 cp scripts/zm /etc/rc.d &lt;br /&gt;
 cd /etc/rc.d &lt;br /&gt;
 chmod +x zm &lt;br /&gt;
 cd rc5.d &lt;br /&gt;
 ln -s ../zm S99zm &lt;br /&gt;
 ln -s ../zm K00zm&lt;br /&gt;
&lt;br /&gt;
===Logoff and logon as root, or create a new session as root.===&lt;br /&gt;
&lt;br /&gt;
;Edit /etc/rc.d/zm with your favorite text editor (kwrite ?)&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;remove&amp;#039;&amp;#039;&amp;#039; the line related to include functions &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_success by echo success &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_failure by echo failure &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;save&amp;#039;&amp;#039;&amp;#039; the changes (ie :x!)&lt;br /&gt;
&lt;br /&gt;
===Make minor changes in the htdocs folder===&lt;br /&gt;
Copy the /srv/www/htdocs/zm.php  file on top of the /srv/www/htdocs/index.php file. &amp;lt;br&amp;gt;  Rename or delete the /srv/www/htdocs/index.html file&lt;br /&gt;
&lt;br /&gt;
===Deal with the Shared Memory problem=== &lt;br /&gt;
Add the following lines to your /etc/sysctl.conf file: &amp;lt;br&amp;gt;&lt;br /&gt;
(I chose 256,000,000 because my cams are 640x480)&lt;br /&gt;
 # Memory modifications for ZoneMinder&lt;br /&gt;
 kernel.shmall = 256000000 &lt;br /&gt;
 kernel.shmmax = 256000000 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Now you can reboot your computer to apply changes&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Well we are at the end of the process...&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
Start all servers if they are not already started when you boot your computer : &lt;br /&gt;
From within a Terminal window&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
 sudo zmpkg.pl start &lt;br /&gt;
&lt;br /&gt;
Now open your web browser and point to http://localhost/&lt;br /&gt;
If that doesn’t work, try http://localhost/zm.php&lt;br /&gt;
&lt;br /&gt;
===Create your monitor and start viewing=== &lt;br /&gt;
&lt;br /&gt;
Here are some options I use when configuring a monitor for my Axis IP camera at 640x480, color.:&lt;br /&gt;
&lt;br /&gt;
;Under the General Tab&lt;br /&gt;
:*Source Type = Remote&lt;br /&gt;
:*Function = Modetect&lt;br /&gt;
:*Enabled = Checked&lt;br /&gt;
:*Linked Monitors = (leave it blank)&lt;br /&gt;
:*Maximum FPS = 4.0&lt;br /&gt;
:*Alarm Maximum FPS = 8.0&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Under the Source Tab&lt;br /&gt;
:*Remote host name = IP of camera (i.e. 192.168.3.2)&lt;br /&gt;
:*Remote Host Port = 80&lt;br /&gt;
:*Remote Host Path = /axis-cgi/jpg/image.cgi?resolution=640x480&lt;br /&gt;
:*Remote Image Colours = 24 bit colour&lt;br /&gt;
:*Capture Width = 640&lt;br /&gt;
:*Capture Height = 480&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to utilize mpeg instead of jpeg, use this for the host path: &amp;lt;br&amp;gt;&lt;br /&gt;
Remote Host Path = /axis-cgi/mjpg/video.cgi?&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Information:&lt;br /&gt;
:ZoneMinder Logs are in /tmp &lt;br /&gt;
:zmaudit.log &lt;br /&gt;
:zmupdate.log &lt;br /&gt;
:zmwatch.log =&amp;gt; take attention to this one because the shared memory problem is reported here &lt;br /&gt;
:zmpkg.log &lt;br /&gt;
:zmdc.log &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Apache2 Logs are in /var/logs&lt;/div&gt;</summary>
		<author><name>BarryH</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1741</id>
		<title>SuSE 10.1 and ZoneMinder</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1741"/>
		<updated>2006-10-13T15:30:12Z</updated>

		<summary type="html">&lt;p&gt;BarryH: /* Download and install latest Zoneminder release (v1.22.2) : */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=MsoNormal&amp;gt;&amp;lt;span class=name1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;mso-bidi-font-size:8.5pt;font-family:Verdana&amp;#039;&amp;gt;Dgsconseil was kind enough to write a&amp;lt;b&amp;gt; &amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
class=postbody1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;step-by-step&lt;br /&gt;
newbie kit to install ZoneMinder under &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
10.0 OSS.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;   &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;I copied it and modified it to for&lt;br /&gt;
SuSE 10.1 with a GUI and the KDE.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=postbody1&amp;gt;This is only a short How-To on how I installed SuSE and&lt;br /&gt;
ZoneMinder software on &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; 10.1 OSS,&lt;br /&gt;
it is not intended to be a reference because I do not specify any of the&lt;br /&gt;
security rules or optimizations needed for a production server.&amp;lt;span&lt;br /&gt;
style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;I just specify the main steps to get Zone&lt;br /&gt;
Minder Running. &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;By the&lt;br /&gt;
way, this is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; the smallest installation possible.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It’s just what I used and it worked.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It seemed that if I skipped any of the additional packages, I’d&lt;br /&gt;
run into trouble.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fresh install of SuSE 10.1 OSS (CD install)===&lt;br /&gt;
Base installation with KDE Desktop and additional packages&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Software Packages chosen during install:&lt;br /&gt;
:*Graphical Base system&lt;br /&gt;
:*KDE Desktop Environment&lt;br /&gt;
:*All of KDE&lt;br /&gt;
:*Help and Supports Docs&lt;br /&gt;
:*Office applications&lt;br /&gt;
:*Multimedia&lt;br /&gt;
:*Simple Web Server with Apache2&lt;br /&gt;
:*LDAP Server and Tools&lt;br /&gt;
:*Network and Server&lt;br /&gt;
:*C/C++ Complier and Tools&lt;br /&gt;
:*Kernel Development&lt;br /&gt;
:*KDE Development&lt;br /&gt;
:*TCL/TK development system&lt;br /&gt;
:*Java&lt;br /&gt;
:*Experienced user&lt;br /&gt;
:*LaTex, SGML and XML&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;If using the firewall, add HTTP Server to the Allowed Services list, if you want to access ZoneMinder with a web browser.&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Once the Installation is finished, open the YAST control center.  (Under System)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;If you have an internet connection - In YAST, add packman as an http installation source(used to install ffmpeg)&lt;br /&gt;
:Type : HTTP &lt;br /&gt;
:Server : packman.unixheads.com &lt;br /&gt;
:Path : suse/10.1&lt;br /&gt;
&lt;br /&gt;
=== Configure via YAST Software Management ===&lt;br /&gt;
&lt;br /&gt;
;Verify that these packages are installed, Install any that are missing  (Enter each name in Search box)&lt;br /&gt;
&lt;br /&gt;
:*apache2&lt;br /&gt;
:*apache2-worker  &lt;br /&gt;
:*apache2-mod_perl &lt;br /&gt;
:*apache2-mod_php5 &lt;br /&gt;
:*apache2-mod-apparmor&lt;br /&gt;
:*php5 &lt;br /&gt;
:*mysql &lt;br /&gt;
:*mysql-devel &lt;br /&gt;
:*gcc &lt;br /&gt;
:*gcc-c++ &lt;br /&gt;
:*libmpeg2&lt;br /&gt;
:*libmpeg2-devel &lt;br /&gt;
:*ffmpeg&lt;br /&gt;
:*libffmpeg0&lt;br /&gt;
:*libffmpeg0-devel&lt;br /&gt;
:*libjpeg&lt;br /&gt;
:*libjpeg-devel&lt;br /&gt;
:*pcre-devel &lt;br /&gt;
:*xawtv  &lt;br /&gt;
:*openssl-devel&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Update perl with CPAN and install perl packages=== &lt;br /&gt;
I&amp;#039;ve done all off the perl related installation under user root because of problems with cpan packages installation.  It seems like a slow process, have patience.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window:&lt;br /&gt;
 perl -MCPAN -e shell &lt;br /&gt;
 install Bundle::CPAN &lt;br /&gt;
 reload CPAN &lt;br /&gt;
 install Archive::Tar (seems to be  optional =&amp;gt; depend on the way you install yourdistro)&lt;br /&gt;
 install Archive::Zip (seems to be optional =&amp;gt; depend on the way you install yourdistro)  &lt;br /&gt;
 install MIME::Lite &lt;br /&gt;
 install MIME::Tools &lt;br /&gt;
 install DateTime &lt;br /&gt;
 install Date::Manip updated 2006-03-04 thanx to mickecarlsson &lt;br /&gt;
 install Bundle::libnet &lt;br /&gt;
 install Device::SerialPort &lt;br /&gt;
 install Astro::SunTime Updated 2006 03 24 correct spelling error on SunTime (thanx to mickecarlsson) &lt;br /&gt;
 install X10 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Configure servers to be started at boot time===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 su - &lt;br /&gt;
 cd /etc/rc.d/rc5.d &lt;br /&gt;
 ln -s ../apache2 S98apache2 &lt;br /&gt;
 ln -s ../apache2 K01apache2 &lt;br /&gt;
 ln -s ../mysql S98mysql &lt;br /&gt;
 ln -s ../mysql K01mysql&lt;br /&gt;
&lt;br /&gt;
===Start servers manually===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
&lt;br /&gt;
===Download and install latest Zoneminder release (v1.22.2) :=== &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Download and save ZoneMinder tarball from:&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
http://www2.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Extract tarball&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window, inside directory that ZoneMinder download was saved to&lt;br /&gt;
 tar zxvf ZoneMinder-1.22.2.tar.gz &lt;br /&gt;
 cd ZoneMinder-1.22.2&lt;br /&gt;
&lt;br /&gt;
===Download and apply the v1.22.2 patch for ffmpeg from Wiki===&lt;br /&gt;
http://www.zoneminder.com/wiki/index.php/1.22.2_Patches&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;To apply the patch you should do the following&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:* Download the patch and move a copy to your ZoneMinder build directory &lt;br /&gt;
:* Open a command shell (terminal window)&lt;br /&gt;
:* Change directory to your ZoneMinder build directory &lt;br /&gt;
:* Apply the patch by typing the following command&lt;br /&gt;
:patch -p0 &amp;lt; zm-1.22.2-ffmpeg.patch&lt;br /&gt;
:* Check that the patch is applied correctly and you do not get any rejects &lt;br /&gt;
:* If necessary rebuild, then reinstall&lt;br /&gt;
&lt;br /&gt;
===Configure ZoneMinder===&lt;br /&gt;
Within a Terminal window, in ZoneMinder-1.22.2 directory&lt;br /&gt;
 ./configure --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --with-webgroup=www --with-webuser=wwwrun ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=zm&lt;br /&gt;
&lt;br /&gt;
===Configure MySQL===&lt;br /&gt;
&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory and Login to MySQL  (PW is probably blank)&lt;br /&gt;
 mysql -h localhost -u root -p &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Under the MySQL prompt -&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
(Entering Each line will echo a bunch of lines, just ignore them)&lt;br /&gt;
 source db/zm_create.sql;&lt;br /&gt;
 grant select,insert,update,delete on zm.* to &amp;#039;zm&amp;#039;@localhost identified by &amp;#039;zm&amp;#039;;&lt;br /&gt;
 flush privileges;&lt;br /&gt;
 quit&lt;br /&gt;
&lt;br /&gt;
===Compile ZoneMinder===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
Now compile and install this nice piece of software ! &lt;br /&gt;
 make &lt;br /&gt;
 sudo make install &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
===Configure ZoneMinder to be started at boot time===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
 su - &lt;br /&gt;
 # from zoneminder source directory &lt;br /&gt;
 cp scripts/zm /etc/rc.d cd /etc/rc.d &lt;br /&gt;
 chmod +x zm &lt;br /&gt;
 cd rc5.d &lt;br /&gt;
 ln -s ../zm S99zm &lt;br /&gt;
 ln -s ../zm K00zm &lt;br /&gt;
&lt;br /&gt;
===Logoff and logon as root, or create a new session as root.===&lt;br /&gt;
&lt;br /&gt;
;Edit /etc/rc.d/zm with your favorite text editor (kwrite ?)&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;remove&amp;#039;&amp;#039;&amp;#039; the line related to include functions &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_success by echo success &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_failure by echo failure &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;save&amp;#039;&amp;#039;&amp;#039; the changes (ie :x!)&lt;br /&gt;
&lt;br /&gt;
===Make minor changes in the htdocs folder===&lt;br /&gt;
Copy the /srv/www/htdocs/zm.php  file on top of the /srv/www/htdocs/index.php file. &amp;lt;br&amp;gt;  Rename or delete the /srv/www/htdocs/index.html file&lt;br /&gt;
&lt;br /&gt;
===Deal with the Shared Memory problem=== &lt;br /&gt;
Add the following lines to your /etc/sysctl.conf file: &amp;lt;br&amp;gt;&lt;br /&gt;
(I chose 256,000,000 because my cams are 640x480)&lt;br /&gt;
 # Memory modifications for ZoneMinder&lt;br /&gt;
 kernel.shmall = 256000000 &lt;br /&gt;
 kernel.shmmax = 256000000 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Now you can reboot your computer to apply changes&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Well we are at the end of the process...&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
Start all servers if they are not already started when you boot your computer : &lt;br /&gt;
From within a Terminal window&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
 sudo zmpkg.pl start &lt;br /&gt;
&lt;br /&gt;
Now open your web browser and point to http://localhost/&lt;br /&gt;
If that doesn’t work, try http://localhost/zm.php&lt;br /&gt;
&lt;br /&gt;
===Create your monitor and start viewing=== &lt;br /&gt;
&lt;br /&gt;
Here are some options I use when configuring a monitor for my Axis IP camera at 640x480, color.:&lt;br /&gt;
&lt;br /&gt;
;Under the General Tab&lt;br /&gt;
:*Source Type = Remote&lt;br /&gt;
:*Function = Modetect&lt;br /&gt;
:*Enabled = Checked&lt;br /&gt;
:*Linked Monitors = (leave it blank)&lt;br /&gt;
:*Maximum FPS = 4.0&lt;br /&gt;
:*Alarm Maximum FPS = 8.0&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Under the Source Tab&lt;br /&gt;
:*Remote host name = IP of camera (i.e. 192.168.3.2)&lt;br /&gt;
:*Remote Host Port = 80&lt;br /&gt;
:*Remote Host Path = /axis-cgi/jpg/image.cgi?resolution=640x480&lt;br /&gt;
:*Remote Image Colours = 24 bit colour&lt;br /&gt;
:*Capture Width = 640&lt;br /&gt;
:*Capture Height = 480&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to utilize mpeg instead of jpeg, use this for the host path: &amp;lt;br&amp;gt;&lt;br /&gt;
Remote Host Path = /axis-cgi/mjpg/video.cgi?&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Information:&lt;br /&gt;
:ZoneMinder Logs are in /tmp &lt;br /&gt;
:zmaudit.log &lt;br /&gt;
:zmupdate.log &lt;br /&gt;
:zmwatch.log =&amp;gt; take attention to this one because the shared memory problem is reported here &lt;br /&gt;
:zmpkg.log &lt;br /&gt;
:zmdc.log &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Apache2 Logs are in /var/logs&lt;/div&gt;</summary>
		<author><name>BarryH</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1740</id>
		<title>SuSE 10.1 and ZoneMinder</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1740"/>
		<updated>2006-10-13T14:51:08Z</updated>

		<summary type="html">&lt;p&gt;BarryH: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=MsoNormal&amp;gt;&amp;lt;span class=name1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;mso-bidi-font-size:8.5pt;font-family:Verdana&amp;#039;&amp;gt;Dgsconseil was kind enough to write a&amp;lt;b&amp;gt; &amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
class=postbody1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;step-by-step&lt;br /&gt;
newbie kit to install ZoneMinder under &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
10.0 OSS.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;   &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;I copied it and modified it to for&lt;br /&gt;
SuSE 10.1 with a GUI and the KDE.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=postbody1&amp;gt;This is only a short How-To on how I installed SuSE and&lt;br /&gt;
ZoneMinder software on &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; 10.1 OSS,&lt;br /&gt;
it is not intended to be a reference because I do not specify any of the&lt;br /&gt;
security rules or optimizations needed for a production server.&amp;lt;span&lt;br /&gt;
style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;I just specify the main steps to get Zone&lt;br /&gt;
Minder Running. &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;By the&lt;br /&gt;
way, this is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; the smallest installation possible.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It’s just what I used and it worked.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It seemed that if I skipped any of the additional packages, I’d&lt;br /&gt;
run into trouble.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fresh install of SuSE 10.1 OSS (CD install)===&lt;br /&gt;
Base installation with KDE Desktop and additional packages&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Software Packages chosen during install:&lt;br /&gt;
:*Graphical Base system&lt;br /&gt;
:*KDE Desktop Environment&lt;br /&gt;
:*All of KDE&lt;br /&gt;
:*Help and Supports Docs&lt;br /&gt;
:*Office applications&lt;br /&gt;
:*Multimedia&lt;br /&gt;
:*Simple Web Server with Apache2&lt;br /&gt;
:*LDAP Server and Tools&lt;br /&gt;
:*Network and Server&lt;br /&gt;
:*C/C++ Complier and Tools&lt;br /&gt;
:*Kernel Development&lt;br /&gt;
:*KDE Development&lt;br /&gt;
:*TCL/TK development system&lt;br /&gt;
:*Java&lt;br /&gt;
:*Experienced user&lt;br /&gt;
:*LaTex, SGML and XML&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;If using the firewall, add HTTP Server to the Allowed Services list, if you want to access ZoneMinder with a web browser.&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Once the Installation is finished, open the YAST control center.  (Under System)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;If you have an internet connection - In YAST, add packman as an http installation source(used to install ffmpeg)&lt;br /&gt;
:Type : HTTP &lt;br /&gt;
:Server : packman.unixheads.com &lt;br /&gt;
:Path : suse/10.1&lt;br /&gt;
&lt;br /&gt;
=== Configure via YAST Software Management ===&lt;br /&gt;
&lt;br /&gt;
;Verify that these packages are installed, Install any that are missing  (Enter each name in Search box)&lt;br /&gt;
&lt;br /&gt;
:*apache2&lt;br /&gt;
:*apache2-worker  &lt;br /&gt;
:*apache2-mod_perl &lt;br /&gt;
:*apache2-mod_php5 &lt;br /&gt;
:*apache2-mod-apparmor&lt;br /&gt;
:*php5 &lt;br /&gt;
:*mysql &lt;br /&gt;
:*mysql-devel &lt;br /&gt;
:*gcc &lt;br /&gt;
:*gcc-c++ &lt;br /&gt;
:*libmpeg2&lt;br /&gt;
:*libmpeg2-devel &lt;br /&gt;
:*ffmpeg&lt;br /&gt;
:*libffmpeg0&lt;br /&gt;
:*libffmpeg0-devel&lt;br /&gt;
:*libjpeg&lt;br /&gt;
:*libjpeg-devel&lt;br /&gt;
:*pcre-devel &lt;br /&gt;
:*xawtv  &lt;br /&gt;
:*openssl-devel&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Update perl with CPAN and install perl packages=== &lt;br /&gt;
I&amp;#039;ve done all off the perl related installation under user root because of problems with cpan packages installation.  It seems like a slow process, have patience.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window:&lt;br /&gt;
 perl -MCPAN -e shell &lt;br /&gt;
 install Bundle::CPAN &lt;br /&gt;
 reload CPAN &lt;br /&gt;
 install Archive::Tar (seems to be  optional =&amp;gt; depend on the way you install yourdistro)&lt;br /&gt;
 install Archive::Zip (seems to be optional =&amp;gt; depend on the way you install yourdistro)  &lt;br /&gt;
 install MIME::Lite &lt;br /&gt;
 install MIME::Tools &lt;br /&gt;
 install DateTime &lt;br /&gt;
 install Date::Manip updated 2006-03-04 thanx to mickecarlsson &lt;br /&gt;
 install Bundle::libnet &lt;br /&gt;
 install Device::SerialPort &lt;br /&gt;
 install Astro::SunTime Updated 2006 03 24 correct spelling error on SunTime (thanx to mickecarlsson) &lt;br /&gt;
 install X10 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Configure servers to be started at boot time===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 su - &lt;br /&gt;
 cd /etc/rc.d/rc5.d &lt;br /&gt;
 ln -s ../apache2 S98apache2 &lt;br /&gt;
 ln -s ../apache2 K01apache2 &lt;br /&gt;
 ln -s ../mysql S98mysql &lt;br /&gt;
 ln -s ../mysql K01mysql&lt;br /&gt;
&lt;br /&gt;
===Start servers manually===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
&lt;br /&gt;
===Download and install latest Zoneminder release (v1.22.2) :=== &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Download and save ZoneMinder tarball from:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
http://www2.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Extract tarball&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window, inside directory that ZoneMinder download was saved to&lt;br /&gt;
 tar zxvf ZoneMinder-1.22.2.tar.gz &lt;br /&gt;
 cd ZoneMinder-1.22.2 &lt;br /&gt;
&lt;br /&gt;
===Download and apply the v1.22.2 patch for ffmpeg from Wiki===&lt;br /&gt;
http://www.zoneminder.com/wiki/index.php/1.22.2_Patches&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;To apply the patch you should do the following&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:* Download the patch and move a copy to your ZoneMinder build directory &lt;br /&gt;
:* Open a command shell (terminal window)&lt;br /&gt;
:* Change directory to your ZoneMinder build directory &lt;br /&gt;
:* Apply the patch by typing the following command&lt;br /&gt;
:patch -p0 &amp;lt; zm-1.22.2-ffmpeg.patch&lt;br /&gt;
:* Check that the patch is applied correctly and you do not get any rejects &lt;br /&gt;
:* If necessary rebuild, then reinstall&lt;br /&gt;
&lt;br /&gt;
===Configure ZoneMinder===&lt;br /&gt;
Within a Terminal window, in ZoneMinder-1.22.2 directory&lt;br /&gt;
 ./configure --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --with-webgroup=www --with-webuser=wwwrun ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=zm&lt;br /&gt;
&lt;br /&gt;
===Configure MySQL===&lt;br /&gt;
&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory and Login to MySQL  (PW is probably blank)&lt;br /&gt;
 mysql -h localhost -u root -p &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Under the MySQL prompt -&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
(Entering Each line will echo a bunch of lines, just ignore them)&lt;br /&gt;
 source db/zm_create.sql;&lt;br /&gt;
 grant select,insert,update,delete on zm.* to &amp;#039;zm&amp;#039;@localhost identified by &amp;#039;zm&amp;#039;;&lt;br /&gt;
 flush privileges;&lt;br /&gt;
 quit&lt;br /&gt;
&lt;br /&gt;
===Compile ZoneMinder===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
Now compile and install this nice piece of software ! &lt;br /&gt;
 make &lt;br /&gt;
 sudo make install &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
===Configure ZoneMinder to be started at boot time===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
 su - &lt;br /&gt;
 # from zoneminder source directory &lt;br /&gt;
 cp scripts/zm /etc/rc.d cd /etc/rc.d &lt;br /&gt;
 chmod +x zm &lt;br /&gt;
 cd rc5.d &lt;br /&gt;
 ln -s ../zm S99zm &lt;br /&gt;
 ln -s ../zm K00zm &lt;br /&gt;
&lt;br /&gt;
===Logoff and logon as root, or create a new session as root.===&lt;br /&gt;
&lt;br /&gt;
;Edit /etc/rc.d/zm with your favorite text editor (kwrite ?)&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;remove&amp;#039;&amp;#039;&amp;#039; the line related to include functions &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_success by echo success &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_failure by echo failure &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;save&amp;#039;&amp;#039;&amp;#039; the changes (ie :x!)&lt;br /&gt;
&lt;br /&gt;
===Make minor changes in the htdocs folder===&lt;br /&gt;
Copy the /srv/www/htdocs/zm.php  file on top of the /srv/www/htdocs/index.php file. &amp;lt;br&amp;gt;  Rename or delete the /srv/www/htdocs/index.html file&lt;br /&gt;
&lt;br /&gt;
===Deal with the Shared Memory problem=== &lt;br /&gt;
Add the following lines to your /etc/sysctl.conf file: &amp;lt;br&amp;gt;&lt;br /&gt;
(I chose 256,000,000 because my cams are 640x480)&lt;br /&gt;
 # Memory modifications for ZoneMinder&lt;br /&gt;
 kernel.shmall = 256000000 &lt;br /&gt;
 kernel.shmmax = 256000000 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Now you can reboot your computer to apply changes&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Well we are at the end of the process...&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
Start all servers if they are not already started when you boot your computer : &lt;br /&gt;
From within a Terminal window&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
 sudo zmpkg.pl start &lt;br /&gt;
&lt;br /&gt;
Now open your web browser and point to http://localhost/&lt;br /&gt;
If that doesn’t work, try http://localhost/zm.php&lt;br /&gt;
&lt;br /&gt;
===Create your monitor and start viewing=== &lt;br /&gt;
&lt;br /&gt;
Here are some options I use when configuring a monitor for my Axis IP camera at 640x480, color.:&lt;br /&gt;
&lt;br /&gt;
;Under the General Tab&lt;br /&gt;
:*Source Type = Remote&lt;br /&gt;
:*Function = Modetect&lt;br /&gt;
:*Enabled = Checked&lt;br /&gt;
:*Linked Monitors = (leave it blank)&lt;br /&gt;
:*Maximum FPS = 4.0&lt;br /&gt;
:*Alarm Maximum FPS = 8.0&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Under the Source Tab&lt;br /&gt;
:*Remote host name = IP of camera (i.e. 192.168.3.2)&lt;br /&gt;
:*Remote Host Port = 80&lt;br /&gt;
:*Remote Host Path = /axis-cgi/jpg/image.cgi?resolution=640x480&lt;br /&gt;
:*Remote Image Colours = 24 bit colour&lt;br /&gt;
:*Capture Width = 640&lt;br /&gt;
:*Capture Height = 480&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to utilize mpeg instead of jpeg, use this for the host path: &amp;lt;br&amp;gt;&lt;br /&gt;
Remote Host Path = /axis-cgi/mjpg/video.cgi?&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Information:&lt;br /&gt;
:ZoneMinder Logs are in /tmp &lt;br /&gt;
:zmaudit.log &lt;br /&gt;
:zmupdate.log &lt;br /&gt;
:zmwatch.log =&amp;gt; take attention to this one because the shared memory problem is reported here &lt;br /&gt;
:zmpkg.log &lt;br /&gt;
:zmdc.log &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Apache2 Logs are in /var/logs&lt;/div&gt;</summary>
		<author><name>BarryH</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1739</id>
		<title>SuSE 10.1 and ZoneMinder</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1739"/>
		<updated>2006-10-12T21:01:56Z</updated>

		<summary type="html">&lt;p&gt;BarryH: /* Create your monitor and start playing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=MsoNormal&amp;gt;&amp;lt;span class=name1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;mso-bidi-font-size:8.5pt;font-family:Verdana&amp;#039;&amp;gt;Dgsconseil was kind enough to write a&amp;lt;b&amp;gt; &amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
class=postbody1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;step-by-step&lt;br /&gt;
newbie kit to install ZoneMinder under &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
10.0 OSS.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;   &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;I copied it and modified it to for&lt;br /&gt;
SuSE 10.1 with a GUI and the KDE.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=postbody1&amp;gt;This is only a short How-To on how I installed SuSE and&lt;br /&gt;
ZoneMinder software on &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; 10.1 OSS,&lt;br /&gt;
it is not intended to be a reference because I do not specify any of the&lt;br /&gt;
security rules or optimizations needed for a production server.&amp;lt;span&lt;br /&gt;
style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;I just specify the main steps to get Zone&lt;br /&gt;
Minder Running. &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;By the&lt;br /&gt;
way, this is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; the smallest installation possible.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It’s just what I used and it worked.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It seemed that if I skipped any of the additional packages, I’d&lt;br /&gt;
run into trouble.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fresh install SuSE 10.1 OSS (CD install)===&lt;br /&gt;
Base installation with KDE Desktop and additional packages&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Software Packages chosen during install:&lt;br /&gt;
:*Graphical Base system&lt;br /&gt;
:*KDE Desktop Environment&lt;br /&gt;
:*All of KDE&lt;br /&gt;
:*Help and Supports Docs&lt;br /&gt;
:*Office applications&lt;br /&gt;
:*Multimedia&lt;br /&gt;
:*Simple Web Server with Apache2&lt;br /&gt;
:*LDAP Server and Tools&lt;br /&gt;
:*Network and Server&lt;br /&gt;
:*C/C++ Complier and Tools&lt;br /&gt;
:*Kernel Development&lt;br /&gt;
:*KDE Development&lt;br /&gt;
:*TCL/TK development system&lt;br /&gt;
:*Java&lt;br /&gt;
:*Experienced user&lt;br /&gt;
:*LaTex, SGML and XML&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;If using the firewall, add HTTP Server to the Allowed Services list, if you want to access ZoneMinder with a web browser.&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Once the Installation is finished, open the YAST control center.  (Under System)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;If you have an internet connection - In YAST, add packman as an http installation source(used to install ffmpeg)&lt;br /&gt;
:Type : HTTP &lt;br /&gt;
:Server : packman.unixheads.com &lt;br /&gt;
:Path : suse/10.1&lt;br /&gt;
&lt;br /&gt;
=== Go into YAST Software Management ===&lt;br /&gt;
&lt;br /&gt;
;Verify that these packages are installed, Install any that are missing  (Enter each name in Search box)&lt;br /&gt;
&lt;br /&gt;
:*apache2&lt;br /&gt;
:*apache2-worker  &lt;br /&gt;
:*apache2-mod_perl &lt;br /&gt;
:*apache2-mod_php5 &lt;br /&gt;
:*apache2-mod-apparmor&lt;br /&gt;
:*php5 &lt;br /&gt;
:*mysql &lt;br /&gt;
:*mysql-devel &lt;br /&gt;
:*gcc &lt;br /&gt;
:*gcc-c++ &lt;br /&gt;
:*libmpeg2&lt;br /&gt;
:*libmpeg2-devel &lt;br /&gt;
:*ffmpeg&lt;br /&gt;
:*libffmpeg0&lt;br /&gt;
:*libffmpeg0-devel&lt;br /&gt;
:*libjpeg&lt;br /&gt;
:*libjpeg-devel&lt;br /&gt;
:*pcre-devel &lt;br /&gt;
:*xawtv  &lt;br /&gt;
:*openssl-devel&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Updating perl CPAN and installing perl packages=== &lt;br /&gt;
I&amp;#039;ve done all off the perl related installation under user root because of problems with cpan packages installation.  It seems like a slow process, have patience.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window:&lt;br /&gt;
 perl -MCPAN -e shell &lt;br /&gt;
 install Bundle::CPAN &lt;br /&gt;
 reload CPAN &lt;br /&gt;
 install Archive::Tar (seems to be  optional =&amp;gt; depend on the way you install yourdistro)&lt;br /&gt;
 install Archive::Zip (seems to be optional =&amp;gt; depend on the way you install yourdistro)  &lt;br /&gt;
 install MIME::Lite &lt;br /&gt;
 install MIME::Tools &lt;br /&gt;
 install DateTime &lt;br /&gt;
 install Date::Manip updated 2006-03-04 thanx to mickecarlsson &lt;br /&gt;
 install Bundle::libnet &lt;br /&gt;
 install Device::SerialPort &lt;br /&gt;
 install Astro::SunTime Updated 2006 03 24 correct spelling error on SunTime (thanx to mickecarlsson) &lt;br /&gt;
 install X10 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Configure servers to be started at boot time===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 su - &lt;br /&gt;
 cd /etc/rc.d/rc5.d &lt;br /&gt;
 ln -s ../apache2 S98apache2 &lt;br /&gt;
 ln -s ../apache2 K01apache2 &lt;br /&gt;
 ln -s ../mysql S98mysql &lt;br /&gt;
 ln -s ../mysql K01mysql&lt;br /&gt;
&lt;br /&gt;
===Start servers manually===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
&lt;br /&gt;
===Downloading and installing latest Zoneminder release (v1.22.2) :=== &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Download and save ZoneMinder tarball from:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
http://www2.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Extract tarball&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window, inside directory that ZoneMinder download was saved to&lt;br /&gt;
 tar zxvf ZoneMinder-1.22.2.tar.gz &lt;br /&gt;
 cd ZoneMinder-1.22.2 &lt;br /&gt;
&lt;br /&gt;
===Download and apply the v1.22.2 patch for ffmpeg from Wiki===&lt;br /&gt;
http://www.zoneminder.com/wiki/index.php/1.22.2_Patches&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;To apply the patch you should do the following&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:* Download the patch and move a copy to your ZoneMinder build directory &lt;br /&gt;
:* Open a command shell (terminal window)&lt;br /&gt;
:* Change directory to your ZoneMinder build directory &lt;br /&gt;
:* Apply the patch by typing the following command&lt;br /&gt;
:patch -p0 &amp;lt; zm-1.22.2-ffmpeg.patch&lt;br /&gt;
:* Check that the patch is applied correctly and you do not get any rejects &lt;br /&gt;
:* If necessary rebuild, then reinstall&lt;br /&gt;
&lt;br /&gt;
===Configuration Time===&lt;br /&gt;
Within a Terminal window, in ZoneMinder-1.22.2 directory&lt;br /&gt;
 ./configure --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --with-webgroup=www --with-webuser=wwwrun ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=zm&lt;br /&gt;
&lt;br /&gt;
===Configure MySQL===&lt;br /&gt;
&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory and Login to MySQL  (PW is probably blank)&lt;br /&gt;
 mysql -h localhost -u root -p &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Under the MySQL prompt -&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
(Entering Each line will echo a bunch of lines, just ignore them)&lt;br /&gt;
 source db/zm_create.sql;&lt;br /&gt;
 grant select,insert,update,delete on zm.* to &amp;#039;zm&amp;#039;@localhost identified by &amp;#039;zm&amp;#039;;&lt;br /&gt;
 flush privileges;&lt;br /&gt;
 quit&lt;br /&gt;
&lt;br /&gt;
===Compile ZoneMinder===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
Now compile and install this nice piece of software ! &lt;br /&gt;
 make &lt;br /&gt;
 sudo make install &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
===Configure ZoneMinder to be started at boot time===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
 su - &lt;br /&gt;
 # from zoneminder source directory &lt;br /&gt;
 cp scripts/zm /etc/rc.d cd /etc/rc.d &lt;br /&gt;
 chmod +x zm &lt;br /&gt;
 cd rc5.d &lt;br /&gt;
 ln -s ../zm S99zm &lt;br /&gt;
 ln -s ../zm K00zm &lt;br /&gt;
&lt;br /&gt;
===Logoff and logon as root, or create a new session as root.===&lt;br /&gt;
&lt;br /&gt;
;Edit /etc/rc.d/zm with your favorite text editor (kwrite ?)&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;remove&amp;#039;&amp;#039;&amp;#039; the line related to include functions &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_success by echo success &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_failure by echo failure &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;save&amp;#039;&amp;#039;&amp;#039; the changes (ie :x!)&lt;br /&gt;
&lt;br /&gt;
===Minor changes in the htdocs folder===&lt;br /&gt;
Copy the /srv/www/htdocs/zm.php  file on top of the /srv/www/htdocs/index.php file. &amp;lt;br&amp;gt;  Rename or delete the /srv/www/htdocs/index.html file&lt;br /&gt;
&lt;br /&gt;
===Deal with the Shared Memory problem=== &lt;br /&gt;
Add the following lines to your /etc/sysctl.conf file: &amp;lt;br&amp;gt;&lt;br /&gt;
(I chose 256,000,000 because my cams are 640x480)&lt;br /&gt;
 # Memory modifications for ZoneMinder&lt;br /&gt;
 kernel.shmall = 256000000 &lt;br /&gt;
 kernel.shmmax = 256000000 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Now you can reboot your computer to apply changes&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Well we are at the end of the process...&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
Start all servers if they are not already started when you boot your computer : &lt;br /&gt;
From within a Terminal window&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
 sudo zmpkg.pl start &lt;br /&gt;
&lt;br /&gt;
Now open your web browser and point to http://localhost/&lt;br /&gt;
If that doesn’t work, try http://localhost/zm.php&lt;br /&gt;
&lt;br /&gt;
===Create your monitor and start playing=== &lt;br /&gt;
&lt;br /&gt;
Here are some options I use when configuring a monitor for my Axis IP camera at 640x480, color.:&lt;br /&gt;
&lt;br /&gt;
;Under the General Tab&lt;br /&gt;
:*Source Type = Remote&lt;br /&gt;
:*Function = Modetect&lt;br /&gt;
:*Enabled = Checked&lt;br /&gt;
:*Linked Monitors = (leave it blank)&lt;br /&gt;
:*Maximum FPS = 4.0&lt;br /&gt;
:*Alarm Maximum FPS = 8.0&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Under the Source Tab&lt;br /&gt;
:*Remote host name = IP of camera (i.e. 192.168.3.2)&lt;br /&gt;
:*Remote Host Port = 80&lt;br /&gt;
:*Remote Host Path = /axis-cgi/jpg/image.cgi?resolution=640x480&lt;br /&gt;
:*Remote Image Colours = 24 bit colour&lt;br /&gt;
:*Capture Width = 640&lt;br /&gt;
:*Capture Height = 480&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to utilize mpeg instead of jpeg, use this for the host path: &amp;lt;br&amp;gt;&lt;br /&gt;
Remote Host Path = /axis-cgi/mjpg/video.cgi?&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Information:&lt;br /&gt;
:ZoneMinder Logs are in /tmp &lt;br /&gt;
:zmaudit.log &lt;br /&gt;
:zmupdate.log &lt;br /&gt;
:zmwatch.log =&amp;gt; take attention to this one because the shared memory problem is reported here &lt;br /&gt;
:zmpkg.log &lt;br /&gt;
:zmdc.log &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Apache2 Logs are in /var/logs&lt;/div&gt;</summary>
		<author><name>BarryH</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1738</id>
		<title>SuSE 10.1 and ZoneMinder</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1738"/>
		<updated>2006-10-12T21:01:05Z</updated>

		<summary type="html">&lt;p&gt;BarryH: /* Deal with the Shared Memory problem */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=MsoNormal&amp;gt;&amp;lt;span class=name1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;mso-bidi-font-size:8.5pt;font-family:Verdana&amp;#039;&amp;gt;Dgsconseil was kind enough to write a&amp;lt;b&amp;gt; &amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
class=postbody1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;step-by-step&lt;br /&gt;
newbie kit to install ZoneMinder under &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
10.0 OSS.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;   &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;I copied it and modified it to for&lt;br /&gt;
SuSE 10.1 with a GUI and the KDE.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=postbody1&amp;gt;This is only a short How-To on how I installed SuSE and&lt;br /&gt;
ZoneMinder software on &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; 10.1 OSS,&lt;br /&gt;
it is not intended to be a reference because I do not specify any of the&lt;br /&gt;
security rules or optimizations needed for a production server.&amp;lt;span&lt;br /&gt;
style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;I just specify the main steps to get Zone&lt;br /&gt;
Minder Running. &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;By the&lt;br /&gt;
way, this is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; the smallest installation possible.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It’s just what I used and it worked.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It seemed that if I skipped any of the additional packages, I’d&lt;br /&gt;
run into trouble.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fresh install SuSE 10.1 OSS (CD install)===&lt;br /&gt;
Base installation with KDE Desktop and additional packages&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Software Packages chosen during install:&lt;br /&gt;
:*Graphical Base system&lt;br /&gt;
:*KDE Desktop Environment&lt;br /&gt;
:*All of KDE&lt;br /&gt;
:*Help and Supports Docs&lt;br /&gt;
:*Office applications&lt;br /&gt;
:*Multimedia&lt;br /&gt;
:*Simple Web Server with Apache2&lt;br /&gt;
:*LDAP Server and Tools&lt;br /&gt;
:*Network and Server&lt;br /&gt;
:*C/C++ Complier and Tools&lt;br /&gt;
:*Kernel Development&lt;br /&gt;
:*KDE Development&lt;br /&gt;
:*TCL/TK development system&lt;br /&gt;
:*Java&lt;br /&gt;
:*Experienced user&lt;br /&gt;
:*LaTex, SGML and XML&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;If using the firewall, add HTTP Server to the Allowed Services list, if you want to access ZoneMinder with a web browser.&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Once the Installation is finished, open the YAST control center.  (Under System)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;If you have an internet connection - In YAST, add packman as an http installation source(used to install ffmpeg)&lt;br /&gt;
:Type : HTTP &lt;br /&gt;
:Server : packman.unixheads.com &lt;br /&gt;
:Path : suse/10.1&lt;br /&gt;
&lt;br /&gt;
=== Go into YAST Software Management ===&lt;br /&gt;
&lt;br /&gt;
;Verify that these packages are installed, Install any that are missing  (Enter each name in Search box)&lt;br /&gt;
&lt;br /&gt;
:*apache2&lt;br /&gt;
:*apache2-worker  &lt;br /&gt;
:*apache2-mod_perl &lt;br /&gt;
:*apache2-mod_php5 &lt;br /&gt;
:*apache2-mod-apparmor&lt;br /&gt;
:*php5 &lt;br /&gt;
:*mysql &lt;br /&gt;
:*mysql-devel &lt;br /&gt;
:*gcc &lt;br /&gt;
:*gcc-c++ &lt;br /&gt;
:*libmpeg2&lt;br /&gt;
:*libmpeg2-devel &lt;br /&gt;
:*ffmpeg&lt;br /&gt;
:*libffmpeg0&lt;br /&gt;
:*libffmpeg0-devel&lt;br /&gt;
:*libjpeg&lt;br /&gt;
:*libjpeg-devel&lt;br /&gt;
:*pcre-devel &lt;br /&gt;
:*xawtv  &lt;br /&gt;
:*openssl-devel&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Updating perl CPAN and installing perl packages=== &lt;br /&gt;
I&amp;#039;ve done all off the perl related installation under user root because of problems with cpan packages installation.  It seems like a slow process, have patience.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window:&lt;br /&gt;
 perl -MCPAN -e shell &lt;br /&gt;
 install Bundle::CPAN &lt;br /&gt;
 reload CPAN &lt;br /&gt;
 install Archive::Tar (seems to be  optional =&amp;gt; depend on the way you install yourdistro)&lt;br /&gt;
 install Archive::Zip (seems to be optional =&amp;gt; depend on the way you install yourdistro)  &lt;br /&gt;
 install MIME::Lite &lt;br /&gt;
 install MIME::Tools &lt;br /&gt;
 install DateTime &lt;br /&gt;
 install Date::Manip updated 2006-03-04 thanx to mickecarlsson &lt;br /&gt;
 install Bundle::libnet &lt;br /&gt;
 install Device::SerialPort &lt;br /&gt;
 install Astro::SunTime Updated 2006 03 24 correct spelling error on SunTime (thanx to mickecarlsson) &lt;br /&gt;
 install X10 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Configure servers to be started at boot time===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 su - &lt;br /&gt;
 cd /etc/rc.d/rc5.d &lt;br /&gt;
 ln -s ../apache2 S98apache2 &lt;br /&gt;
 ln -s ../apache2 K01apache2 &lt;br /&gt;
 ln -s ../mysql S98mysql &lt;br /&gt;
 ln -s ../mysql K01mysql&lt;br /&gt;
&lt;br /&gt;
===Start servers manually===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
&lt;br /&gt;
===Downloading and installing latest Zoneminder release (v1.22.2) :=== &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Download and save ZoneMinder tarball from:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
http://www2.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Extract tarball&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window, inside directory that ZoneMinder download was saved to&lt;br /&gt;
 tar zxvf ZoneMinder-1.22.2.tar.gz &lt;br /&gt;
 cd ZoneMinder-1.22.2 &lt;br /&gt;
&lt;br /&gt;
===Download and apply the v1.22.2 patch for ffmpeg from Wiki===&lt;br /&gt;
http://www.zoneminder.com/wiki/index.php/1.22.2_Patches&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;To apply the patch you should do the following&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:* Download the patch and move a copy to your ZoneMinder build directory &lt;br /&gt;
:* Open a command shell (terminal window)&lt;br /&gt;
:* Change directory to your ZoneMinder build directory &lt;br /&gt;
:* Apply the patch by typing the following command&lt;br /&gt;
:patch -p0 &amp;lt; zm-1.22.2-ffmpeg.patch&lt;br /&gt;
:* Check that the patch is applied correctly and you do not get any rejects &lt;br /&gt;
:* If necessary rebuild, then reinstall&lt;br /&gt;
&lt;br /&gt;
===Configuration Time===&lt;br /&gt;
Within a Terminal window, in ZoneMinder-1.22.2 directory&lt;br /&gt;
 ./configure --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --with-webgroup=www --with-webuser=wwwrun ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=zm&lt;br /&gt;
&lt;br /&gt;
===Configure MySQL===&lt;br /&gt;
&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory and Login to MySQL  (PW is probably blank)&lt;br /&gt;
 mysql -h localhost -u root -p &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Under the MySQL prompt -&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
(Entering Each line will echo a bunch of lines, just ignore them)&lt;br /&gt;
 source db/zm_create.sql;&lt;br /&gt;
 grant select,insert,update,delete on zm.* to &amp;#039;zm&amp;#039;@localhost identified by &amp;#039;zm&amp;#039;;&lt;br /&gt;
 flush privileges;&lt;br /&gt;
 quit&lt;br /&gt;
&lt;br /&gt;
===Compile ZoneMinder===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
Now compile and install this nice piece of software ! &lt;br /&gt;
 make &lt;br /&gt;
 sudo make install &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
===Configure ZoneMinder to be started at boot time===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
 su - &lt;br /&gt;
 # from zoneminder source directory &lt;br /&gt;
 cp scripts/zm /etc/rc.d cd /etc/rc.d &lt;br /&gt;
 chmod +x zm &lt;br /&gt;
 cd rc5.d &lt;br /&gt;
 ln -s ../zm S99zm &lt;br /&gt;
 ln -s ../zm K00zm &lt;br /&gt;
&lt;br /&gt;
===Logoff and logon as root, or create a new session as root.===&lt;br /&gt;
&lt;br /&gt;
;Edit /etc/rc.d/zm with your favorite text editor (kwrite ?)&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;remove&amp;#039;&amp;#039;&amp;#039; the line related to include functions &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_success by echo success &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_failure by echo failure &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;save&amp;#039;&amp;#039;&amp;#039; the changes (ie :x!)&lt;br /&gt;
&lt;br /&gt;
===Minor changes in the htdocs folder===&lt;br /&gt;
Copy the /srv/www/htdocs/zm.php  file on top of the /srv/www/htdocs/index.php file. &amp;lt;br&amp;gt;  Rename or delete the /srv/www/htdocs/index.html file&lt;br /&gt;
&lt;br /&gt;
===Deal with the Shared Memory problem=== &lt;br /&gt;
Add the following lines to your /etc/sysctl.conf file: &amp;lt;br&amp;gt;&lt;br /&gt;
(I chose 256,000,000 because my cams are 640x480)&lt;br /&gt;
 # Memory modifications for ZoneMinder&lt;br /&gt;
 kernel.shmall = 256000000 &lt;br /&gt;
 kernel.shmmax = 256000000 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Now you can reboot your computer to apply changes&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Well we are at the end of the process...&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
Start all servers if they are not already started when you boot your computer : &lt;br /&gt;
From within a Terminal window&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
 sudo zmpkg.pl start &lt;br /&gt;
&lt;br /&gt;
Now open your web browser and point to http://localhost/&lt;br /&gt;
If that doesn’t work, try http://localhost/zm.php&lt;br /&gt;
&lt;br /&gt;
===Create your monitor and start playing=== &lt;br /&gt;
&lt;br /&gt;
Here are some options I use when configuring a monitor for my Axis IP camera at 640x480, color.:&lt;br /&gt;
&lt;br /&gt;
;Under the General Tab&lt;br /&gt;
:*Source Type = Remote&lt;br /&gt;
:*Function = Modetect&lt;br /&gt;
:*Enabled = Checked&lt;br /&gt;
:*Linked Monitors = (leave it blank)&lt;br /&gt;
:*Maximum FPS = 4.0&lt;br /&gt;
:*Alarm Maximum FPS = 8.0&lt;br /&gt;
&lt;br /&gt;
;Under the Source Tab&lt;br /&gt;
:*Remote host name = IP of camera (i.e. 192.168.3.2)&lt;br /&gt;
:*Remote Host Port = 80&lt;br /&gt;
:*Remote Host Path = /axis-cgi/jpg/image.cgi?resolution=640x480&lt;br /&gt;
:*Remote Image Colours = 24 bit colour&lt;br /&gt;
:*Capture Width = 640&lt;br /&gt;
:*Capture Height = 480&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to utilize mpeg instead of jpeg, use this for the host path: &amp;lt;br&amp;gt;&lt;br /&gt;
Remote Host Path = /axis-cgi/mjpg/video.cgi?&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Information:&lt;br /&gt;
:ZoneMinder Logs are in /tmp &lt;br /&gt;
:zmaudit.log &lt;br /&gt;
:zmupdate.log &lt;br /&gt;
:zmwatch.log =&amp;gt; take attention to this one because the shared memory problem is reported here &lt;br /&gt;
:zmpkg.log &lt;br /&gt;
:zmdc.log &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Apache2 Logs are in /var/logs&lt;/div&gt;</summary>
		<author><name>BarryH</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1737</id>
		<title>SuSE 10.1 and ZoneMinder</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1737"/>
		<updated>2006-10-12T21:00:09Z</updated>

		<summary type="html">&lt;p&gt;BarryH: /* Configure MySQL */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=MsoNormal&amp;gt;&amp;lt;span class=name1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;mso-bidi-font-size:8.5pt;font-family:Verdana&amp;#039;&amp;gt;Dgsconseil was kind enough to write a&amp;lt;b&amp;gt; &amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
class=postbody1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;step-by-step&lt;br /&gt;
newbie kit to install ZoneMinder under &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
10.0 OSS.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;   &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;I copied it and modified it to for&lt;br /&gt;
SuSE 10.1 with a GUI and the KDE.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=postbody1&amp;gt;This is only a short How-To on how I installed SuSE and&lt;br /&gt;
ZoneMinder software on &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; 10.1 OSS,&lt;br /&gt;
it is not intended to be a reference because I do not specify any of the&lt;br /&gt;
security rules or optimizations needed for a production server.&amp;lt;span&lt;br /&gt;
style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;I just specify the main steps to get Zone&lt;br /&gt;
Minder Running. &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;By the&lt;br /&gt;
way, this is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; the smallest installation possible.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It’s just what I used and it worked.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It seemed that if I skipped any of the additional packages, I’d&lt;br /&gt;
run into trouble.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fresh install SuSE 10.1 OSS (CD install)===&lt;br /&gt;
Base installation with KDE Desktop and additional packages&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Software Packages chosen during install:&lt;br /&gt;
:*Graphical Base system&lt;br /&gt;
:*KDE Desktop Environment&lt;br /&gt;
:*All of KDE&lt;br /&gt;
:*Help and Supports Docs&lt;br /&gt;
:*Office applications&lt;br /&gt;
:*Multimedia&lt;br /&gt;
:*Simple Web Server with Apache2&lt;br /&gt;
:*LDAP Server and Tools&lt;br /&gt;
:*Network and Server&lt;br /&gt;
:*C/C++ Complier and Tools&lt;br /&gt;
:*Kernel Development&lt;br /&gt;
:*KDE Development&lt;br /&gt;
:*TCL/TK development system&lt;br /&gt;
:*Java&lt;br /&gt;
:*Experienced user&lt;br /&gt;
:*LaTex, SGML and XML&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;If using the firewall, add HTTP Server to the Allowed Services list, if you want to access ZoneMinder with a web browser.&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Once the Installation is finished, open the YAST control center.  (Under System)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;If you have an internet connection - In YAST, add packman as an http installation source(used to install ffmpeg)&lt;br /&gt;
:Type : HTTP &lt;br /&gt;
:Server : packman.unixheads.com &lt;br /&gt;
:Path : suse/10.1&lt;br /&gt;
&lt;br /&gt;
=== Go into YAST Software Management ===&lt;br /&gt;
&lt;br /&gt;
;Verify that these packages are installed, Install any that are missing  (Enter each name in Search box)&lt;br /&gt;
&lt;br /&gt;
:*apache2&lt;br /&gt;
:*apache2-worker  &lt;br /&gt;
:*apache2-mod_perl &lt;br /&gt;
:*apache2-mod_php5 &lt;br /&gt;
:*apache2-mod-apparmor&lt;br /&gt;
:*php5 &lt;br /&gt;
:*mysql &lt;br /&gt;
:*mysql-devel &lt;br /&gt;
:*gcc &lt;br /&gt;
:*gcc-c++ &lt;br /&gt;
:*libmpeg2&lt;br /&gt;
:*libmpeg2-devel &lt;br /&gt;
:*ffmpeg&lt;br /&gt;
:*libffmpeg0&lt;br /&gt;
:*libffmpeg0-devel&lt;br /&gt;
:*libjpeg&lt;br /&gt;
:*libjpeg-devel&lt;br /&gt;
:*pcre-devel &lt;br /&gt;
:*xawtv  &lt;br /&gt;
:*openssl-devel&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Updating perl CPAN and installing perl packages=== &lt;br /&gt;
I&amp;#039;ve done all off the perl related installation under user root because of problems with cpan packages installation.  It seems like a slow process, have patience.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window:&lt;br /&gt;
 perl -MCPAN -e shell &lt;br /&gt;
 install Bundle::CPAN &lt;br /&gt;
 reload CPAN &lt;br /&gt;
 install Archive::Tar (seems to be  optional =&amp;gt; depend on the way you install yourdistro)&lt;br /&gt;
 install Archive::Zip (seems to be optional =&amp;gt; depend on the way you install yourdistro)  &lt;br /&gt;
 install MIME::Lite &lt;br /&gt;
 install MIME::Tools &lt;br /&gt;
 install DateTime &lt;br /&gt;
 install Date::Manip updated 2006-03-04 thanx to mickecarlsson &lt;br /&gt;
 install Bundle::libnet &lt;br /&gt;
 install Device::SerialPort &lt;br /&gt;
 install Astro::SunTime Updated 2006 03 24 correct spelling error on SunTime (thanx to mickecarlsson) &lt;br /&gt;
 install X10 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Configure servers to be started at boot time===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 su - &lt;br /&gt;
 cd /etc/rc.d/rc5.d &lt;br /&gt;
 ln -s ../apache2 S98apache2 &lt;br /&gt;
 ln -s ../apache2 K01apache2 &lt;br /&gt;
 ln -s ../mysql S98mysql &lt;br /&gt;
 ln -s ../mysql K01mysql&lt;br /&gt;
&lt;br /&gt;
===Start servers manually===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
&lt;br /&gt;
===Downloading and installing latest Zoneminder release (v1.22.2) :=== &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Download and save ZoneMinder tarball from:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
http://www2.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Extract tarball&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window, inside directory that ZoneMinder download was saved to&lt;br /&gt;
 tar zxvf ZoneMinder-1.22.2.tar.gz &lt;br /&gt;
 cd ZoneMinder-1.22.2 &lt;br /&gt;
&lt;br /&gt;
===Download and apply the v1.22.2 patch for ffmpeg from Wiki===&lt;br /&gt;
http://www.zoneminder.com/wiki/index.php/1.22.2_Patches&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;To apply the patch you should do the following&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:* Download the patch and move a copy to your ZoneMinder build directory &lt;br /&gt;
:* Open a command shell (terminal window)&lt;br /&gt;
:* Change directory to your ZoneMinder build directory &lt;br /&gt;
:* Apply the patch by typing the following command&lt;br /&gt;
:patch -p0 &amp;lt; zm-1.22.2-ffmpeg.patch&lt;br /&gt;
:* Check that the patch is applied correctly and you do not get any rejects &lt;br /&gt;
:* If necessary rebuild, then reinstall&lt;br /&gt;
&lt;br /&gt;
===Configuration Time===&lt;br /&gt;
Within a Terminal window, in ZoneMinder-1.22.2 directory&lt;br /&gt;
 ./configure --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --with-webgroup=www --with-webuser=wwwrun ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=zm&lt;br /&gt;
&lt;br /&gt;
===Configure MySQL===&lt;br /&gt;
&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory and Login to MySQL  (PW is probably blank)&lt;br /&gt;
 mysql -h localhost -u root -p &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Under the MySQL prompt -&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
(Entering Each line will echo a bunch of lines, just ignore them)&lt;br /&gt;
 source db/zm_create.sql;&lt;br /&gt;
 grant select,insert,update,delete on zm.* to &amp;#039;zm&amp;#039;@localhost identified by &amp;#039;zm&amp;#039;;&lt;br /&gt;
 flush privileges;&lt;br /&gt;
 quit&lt;br /&gt;
&lt;br /&gt;
===Compile ZoneMinder===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
Now compile and install this nice piece of software ! &lt;br /&gt;
 make &lt;br /&gt;
 sudo make install &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
===Configure ZoneMinder to be started at boot time===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
 su - &lt;br /&gt;
 # from zoneminder source directory &lt;br /&gt;
 cp scripts/zm /etc/rc.d cd /etc/rc.d &lt;br /&gt;
 chmod +x zm &lt;br /&gt;
 cd rc5.d &lt;br /&gt;
 ln -s ../zm S99zm &lt;br /&gt;
 ln -s ../zm K00zm &lt;br /&gt;
&lt;br /&gt;
===Logoff and logon as root, or create a new session as root.===&lt;br /&gt;
&lt;br /&gt;
;Edit /etc/rc.d/zm with your favorite text editor (kwrite ?)&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;remove&amp;#039;&amp;#039;&amp;#039; the line related to include functions &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_success by echo success &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_failure by echo failure &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;save&amp;#039;&amp;#039;&amp;#039; the changes (ie :x!)&lt;br /&gt;
&lt;br /&gt;
===Minor changes in the htdocs folder===&lt;br /&gt;
Copy the /srv/www/htdocs/zm.php  file on top of the /srv/www/htdocs/index.php file. &amp;lt;br&amp;gt;  Rename or delete the /srv/www/htdocs/index.html file&lt;br /&gt;
&lt;br /&gt;
===Deal with the Shared Memory problem=== &lt;br /&gt;
Add the following lines to your /etc/sysctl.conf file: &lt;br /&gt;
(I chose 256,000,000 because my cams are 640x480)&lt;br /&gt;
 # Memory modifications for ZoneMinder&lt;br /&gt;
 kernel.shmall = 256000000 &lt;br /&gt;
 kernel.shmmax = 256000000 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Now you can reboot your computer to apply changes&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Well we are at the end of the process...&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
Start all servers if they are not already started when you boot your computer : &lt;br /&gt;
From within a Terminal window&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
 sudo zmpkg.pl start &lt;br /&gt;
&lt;br /&gt;
Now open your web browser and point to http://localhost/&lt;br /&gt;
If that doesn’t work, try http://localhost/zm.php&lt;br /&gt;
&lt;br /&gt;
===Create your monitor and start playing=== &lt;br /&gt;
&lt;br /&gt;
Here are some options I use when configuring a monitor for my Axis IP camera at 640x480, color.:&lt;br /&gt;
&lt;br /&gt;
;Under the General Tab&lt;br /&gt;
:*Source Type = Remote&lt;br /&gt;
:*Function = Modetect&lt;br /&gt;
:*Enabled = Checked&lt;br /&gt;
:*Linked Monitors = (leave it blank)&lt;br /&gt;
:*Maximum FPS = 4.0&lt;br /&gt;
:*Alarm Maximum FPS = 8.0&lt;br /&gt;
&lt;br /&gt;
;Under the Source Tab&lt;br /&gt;
:*Remote host name = IP of camera (i.e. 192.168.3.2)&lt;br /&gt;
:*Remote Host Port = 80&lt;br /&gt;
:*Remote Host Path = /axis-cgi/jpg/image.cgi?resolution=640x480&lt;br /&gt;
:*Remote Image Colours = 24 bit colour&lt;br /&gt;
:*Capture Width = 640&lt;br /&gt;
:*Capture Height = 480&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to utilize mpeg instead of jpeg, use this for the host path: &amp;lt;br&amp;gt;&lt;br /&gt;
Remote Host Path = /axis-cgi/mjpg/video.cgi?&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Information:&lt;br /&gt;
:ZoneMinder Logs are in /tmp &lt;br /&gt;
:zmaudit.log &lt;br /&gt;
:zmupdate.log &lt;br /&gt;
:zmwatch.log =&amp;gt; take attention to this one because the shared memory problem is reported here &lt;br /&gt;
:zmpkg.log &lt;br /&gt;
:zmdc.log &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Apache2 Logs are in /var/logs&lt;/div&gt;</summary>
		<author><name>BarryH</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1736</id>
		<title>SuSE 10.1 and ZoneMinder</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1736"/>
		<updated>2006-10-12T20:59:07Z</updated>

		<summary type="html">&lt;p&gt;BarryH: /* Configure MySQL */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=MsoNormal&amp;gt;&amp;lt;span class=name1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;mso-bidi-font-size:8.5pt;font-family:Verdana&amp;#039;&amp;gt;Dgsconseil was kind enough to write a&amp;lt;b&amp;gt; &amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
class=postbody1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;step-by-step&lt;br /&gt;
newbie kit to install ZoneMinder under &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
10.0 OSS.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;   &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;I copied it and modified it to for&lt;br /&gt;
SuSE 10.1 with a GUI and the KDE.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=postbody1&amp;gt;This is only a short How-To on how I installed SuSE and&lt;br /&gt;
ZoneMinder software on &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; 10.1 OSS,&lt;br /&gt;
it is not intended to be a reference because I do not specify any of the&lt;br /&gt;
security rules or optimizations needed for a production server.&amp;lt;span&lt;br /&gt;
style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;I just specify the main steps to get Zone&lt;br /&gt;
Minder Running. &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;By the&lt;br /&gt;
way, this is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; the smallest installation possible.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It’s just what I used and it worked.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It seemed that if I skipped any of the additional packages, I’d&lt;br /&gt;
run into trouble.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fresh install SuSE 10.1 OSS (CD install)===&lt;br /&gt;
Base installation with KDE Desktop and additional packages&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Software Packages chosen during install:&lt;br /&gt;
:*Graphical Base system&lt;br /&gt;
:*KDE Desktop Environment&lt;br /&gt;
:*All of KDE&lt;br /&gt;
:*Help and Supports Docs&lt;br /&gt;
:*Office applications&lt;br /&gt;
:*Multimedia&lt;br /&gt;
:*Simple Web Server with Apache2&lt;br /&gt;
:*LDAP Server and Tools&lt;br /&gt;
:*Network and Server&lt;br /&gt;
:*C/C++ Complier and Tools&lt;br /&gt;
:*Kernel Development&lt;br /&gt;
:*KDE Development&lt;br /&gt;
:*TCL/TK development system&lt;br /&gt;
:*Java&lt;br /&gt;
:*Experienced user&lt;br /&gt;
:*LaTex, SGML and XML&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;If using the firewall, add HTTP Server to the Allowed Services list, if you want to access ZoneMinder with a web browser.&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Once the Installation is finished, open the YAST control center.  (Under System)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;If you have an internet connection - In YAST, add packman as an http installation source(used to install ffmpeg)&lt;br /&gt;
:Type : HTTP &lt;br /&gt;
:Server : packman.unixheads.com &lt;br /&gt;
:Path : suse/10.1&lt;br /&gt;
&lt;br /&gt;
=== Go into YAST Software Management ===&lt;br /&gt;
&lt;br /&gt;
;Verify that these packages are installed, Install any that are missing  (Enter each name in Search box)&lt;br /&gt;
&lt;br /&gt;
:*apache2&lt;br /&gt;
:*apache2-worker  &lt;br /&gt;
:*apache2-mod_perl &lt;br /&gt;
:*apache2-mod_php5 &lt;br /&gt;
:*apache2-mod-apparmor&lt;br /&gt;
:*php5 &lt;br /&gt;
:*mysql &lt;br /&gt;
:*mysql-devel &lt;br /&gt;
:*gcc &lt;br /&gt;
:*gcc-c++ &lt;br /&gt;
:*libmpeg2&lt;br /&gt;
:*libmpeg2-devel &lt;br /&gt;
:*ffmpeg&lt;br /&gt;
:*libffmpeg0&lt;br /&gt;
:*libffmpeg0-devel&lt;br /&gt;
:*libjpeg&lt;br /&gt;
:*libjpeg-devel&lt;br /&gt;
:*pcre-devel &lt;br /&gt;
:*xawtv  &lt;br /&gt;
:*openssl-devel&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Updating perl CPAN and installing perl packages=== &lt;br /&gt;
I&amp;#039;ve done all off the perl related installation under user root because of problems with cpan packages installation.  It seems like a slow process, have patience.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window:&lt;br /&gt;
 perl -MCPAN -e shell &lt;br /&gt;
 install Bundle::CPAN &lt;br /&gt;
 reload CPAN &lt;br /&gt;
 install Archive::Tar (seems to be  optional =&amp;gt; depend on the way you install yourdistro)&lt;br /&gt;
 install Archive::Zip (seems to be optional =&amp;gt; depend on the way you install yourdistro)  &lt;br /&gt;
 install MIME::Lite &lt;br /&gt;
 install MIME::Tools &lt;br /&gt;
 install DateTime &lt;br /&gt;
 install Date::Manip updated 2006-03-04 thanx to mickecarlsson &lt;br /&gt;
 install Bundle::libnet &lt;br /&gt;
 install Device::SerialPort &lt;br /&gt;
 install Astro::SunTime Updated 2006 03 24 correct spelling error on SunTime (thanx to mickecarlsson) &lt;br /&gt;
 install X10 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Configure servers to be started at boot time===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 su - &lt;br /&gt;
 cd /etc/rc.d/rc5.d &lt;br /&gt;
 ln -s ../apache2 S98apache2 &lt;br /&gt;
 ln -s ../apache2 K01apache2 &lt;br /&gt;
 ln -s ../mysql S98mysql &lt;br /&gt;
 ln -s ../mysql K01mysql&lt;br /&gt;
&lt;br /&gt;
===Start servers manually===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
&lt;br /&gt;
===Downloading and installing latest Zoneminder release (v1.22.2) :=== &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Download and save ZoneMinder tarball from:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
http://www2.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Extract tarball&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window, inside directory that ZoneMinder download was saved to&lt;br /&gt;
 tar zxvf ZoneMinder-1.22.2.tar.gz &lt;br /&gt;
 cd ZoneMinder-1.22.2 &lt;br /&gt;
&lt;br /&gt;
===Download and apply the v1.22.2 patch for ffmpeg from Wiki===&lt;br /&gt;
http://www.zoneminder.com/wiki/index.php/1.22.2_Patches&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;To apply the patch you should do the following&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:* Download the patch and move a copy to your ZoneMinder build directory &lt;br /&gt;
:* Open a command shell (terminal window)&lt;br /&gt;
:* Change directory to your ZoneMinder build directory &lt;br /&gt;
:* Apply the patch by typing the following command&lt;br /&gt;
:patch -p0 &amp;lt; zm-1.22.2-ffmpeg.patch&lt;br /&gt;
:* Check that the patch is applied correctly and you do not get any rejects &lt;br /&gt;
:* If necessary rebuild, then reinstall&lt;br /&gt;
&lt;br /&gt;
===Configuration Time===&lt;br /&gt;
Within a Terminal window, in ZoneMinder-1.22.2 directory&lt;br /&gt;
 ./configure --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --with-webgroup=www --with-webuser=wwwrun ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=zm&lt;br /&gt;
&lt;br /&gt;
===Configure MySQL===&lt;br /&gt;
&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory and Login to MySQL  (PW is probably blank)&lt;br /&gt;
 mysql -h localhost -u root -p &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Under the MySQL prompt -&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
(Entering Each line will echo a bunch of lines, just ignore them)&lt;br /&gt;
 source db/zm_create.sql; grant select,insert,update,delete on zm.* to &amp;#039;zm&amp;#039;@localhost identified by &amp;#039;zm&amp;#039;; flush privileges; quit&lt;br /&gt;
&lt;br /&gt;
===Compile ZoneMinder===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
Now compile and install this nice piece of software ! &lt;br /&gt;
 make &lt;br /&gt;
 sudo make install &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
===Configure ZoneMinder to be started at boot time===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
 su - &lt;br /&gt;
 # from zoneminder source directory &lt;br /&gt;
 cp scripts/zm /etc/rc.d cd /etc/rc.d &lt;br /&gt;
 chmod +x zm &lt;br /&gt;
 cd rc5.d &lt;br /&gt;
 ln -s ../zm S99zm &lt;br /&gt;
 ln -s ../zm K00zm &lt;br /&gt;
&lt;br /&gt;
===Logoff and logon as root, or create a new session as root.===&lt;br /&gt;
&lt;br /&gt;
;Edit /etc/rc.d/zm with your favorite text editor (kwrite ?)&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;remove&amp;#039;&amp;#039;&amp;#039; the line related to include functions &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_success by echo success &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_failure by echo failure &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;save&amp;#039;&amp;#039;&amp;#039; the changes (ie :x!)&lt;br /&gt;
&lt;br /&gt;
===Minor changes in the htdocs folder===&lt;br /&gt;
Copy the /srv/www/htdocs/zm.php  file on top of the /srv/www/htdocs/index.php file. &amp;lt;br&amp;gt;  Rename or delete the /srv/www/htdocs/index.html file&lt;br /&gt;
&lt;br /&gt;
===Deal with the Shared Memory problem=== &lt;br /&gt;
Add the following lines to your /etc/sysctl.conf file: &lt;br /&gt;
(I chose 256,000,000 because my cams are 640x480)&lt;br /&gt;
 # Memory modifications for ZoneMinder&lt;br /&gt;
 kernel.shmall = 256000000 &lt;br /&gt;
 kernel.shmmax = 256000000 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Now you can reboot your computer to apply changes&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Well we are at the end of the process...&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
Start all servers if they are not already started when you boot your computer : &lt;br /&gt;
From within a Terminal window&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
 sudo zmpkg.pl start &lt;br /&gt;
&lt;br /&gt;
Now open your web browser and point to http://localhost/&lt;br /&gt;
If that doesn’t work, try http://localhost/zm.php&lt;br /&gt;
&lt;br /&gt;
===Create your monitor and start playing=== &lt;br /&gt;
&lt;br /&gt;
Here are some options I use when configuring a monitor for my Axis IP camera at 640x480, color.:&lt;br /&gt;
&lt;br /&gt;
;Under the General Tab&lt;br /&gt;
:*Source Type = Remote&lt;br /&gt;
:*Function = Modetect&lt;br /&gt;
:*Enabled = Checked&lt;br /&gt;
:*Linked Monitors = (leave it blank)&lt;br /&gt;
:*Maximum FPS = 4.0&lt;br /&gt;
:*Alarm Maximum FPS = 8.0&lt;br /&gt;
&lt;br /&gt;
;Under the Source Tab&lt;br /&gt;
:*Remote host name = IP of camera (i.e. 192.168.3.2)&lt;br /&gt;
:*Remote Host Port = 80&lt;br /&gt;
:*Remote Host Path = /axis-cgi/jpg/image.cgi?resolution=640x480&lt;br /&gt;
:*Remote Image Colours = 24 bit colour&lt;br /&gt;
:*Capture Width = 640&lt;br /&gt;
:*Capture Height = 480&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to utilize mpeg instead of jpeg, use this for the host path: &amp;lt;br&amp;gt;&lt;br /&gt;
Remote Host Path = /axis-cgi/mjpg/video.cgi?&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Information:&lt;br /&gt;
:ZoneMinder Logs are in /tmp &lt;br /&gt;
:zmaudit.log &lt;br /&gt;
:zmupdate.log &lt;br /&gt;
:zmwatch.log =&amp;gt; take attention to this one because the shared memory problem is reported here &lt;br /&gt;
:zmpkg.log &lt;br /&gt;
:zmdc.log &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Apache2 Logs are in /var/logs&lt;/div&gt;</summary>
		<author><name>BarryH</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1735</id>
		<title>SuSE 10.1 and ZoneMinder</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1735"/>
		<updated>2006-10-12T20:58:18Z</updated>

		<summary type="html">&lt;p&gt;BarryH: /* Configure MySQL */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=MsoNormal&amp;gt;&amp;lt;span class=name1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;mso-bidi-font-size:8.5pt;font-family:Verdana&amp;#039;&amp;gt;Dgsconseil was kind enough to write a&amp;lt;b&amp;gt; &amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
class=postbody1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;step-by-step&lt;br /&gt;
newbie kit to install ZoneMinder under &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
10.0 OSS.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;   &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;I copied it and modified it to for&lt;br /&gt;
SuSE 10.1 with a GUI and the KDE.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=postbody1&amp;gt;This is only a short How-To on how I installed SuSE and&lt;br /&gt;
ZoneMinder software on &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; 10.1 OSS,&lt;br /&gt;
it is not intended to be a reference because I do not specify any of the&lt;br /&gt;
security rules or optimizations needed for a production server.&amp;lt;span&lt;br /&gt;
style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;I just specify the main steps to get Zone&lt;br /&gt;
Minder Running. &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;By the&lt;br /&gt;
way, this is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; the smallest installation possible.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It’s just what I used and it worked.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It seemed that if I skipped any of the additional packages, I’d&lt;br /&gt;
run into trouble.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fresh install SuSE 10.1 OSS (CD install)===&lt;br /&gt;
Base installation with KDE Desktop and additional packages&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Software Packages chosen during install:&lt;br /&gt;
:*Graphical Base system&lt;br /&gt;
:*KDE Desktop Environment&lt;br /&gt;
:*All of KDE&lt;br /&gt;
:*Help and Supports Docs&lt;br /&gt;
:*Office applications&lt;br /&gt;
:*Multimedia&lt;br /&gt;
:*Simple Web Server with Apache2&lt;br /&gt;
:*LDAP Server and Tools&lt;br /&gt;
:*Network and Server&lt;br /&gt;
:*C/C++ Complier and Tools&lt;br /&gt;
:*Kernel Development&lt;br /&gt;
:*KDE Development&lt;br /&gt;
:*TCL/TK development system&lt;br /&gt;
:*Java&lt;br /&gt;
:*Experienced user&lt;br /&gt;
:*LaTex, SGML and XML&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;If using the firewall, add HTTP Server to the Allowed Services list, if you want to access ZoneMinder with a web browser.&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Once the Installation is finished, open the YAST control center.  (Under System)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;If you have an internet connection - In YAST, add packman as an http installation source(used to install ffmpeg)&lt;br /&gt;
:Type : HTTP &lt;br /&gt;
:Server : packman.unixheads.com &lt;br /&gt;
:Path : suse/10.1&lt;br /&gt;
&lt;br /&gt;
=== Go into YAST Software Management ===&lt;br /&gt;
&lt;br /&gt;
;Verify that these packages are installed, Install any that are missing  (Enter each name in Search box)&lt;br /&gt;
&lt;br /&gt;
:*apache2&lt;br /&gt;
:*apache2-worker  &lt;br /&gt;
:*apache2-mod_perl &lt;br /&gt;
:*apache2-mod_php5 &lt;br /&gt;
:*apache2-mod-apparmor&lt;br /&gt;
:*php5 &lt;br /&gt;
:*mysql &lt;br /&gt;
:*mysql-devel &lt;br /&gt;
:*gcc &lt;br /&gt;
:*gcc-c++ &lt;br /&gt;
:*libmpeg2&lt;br /&gt;
:*libmpeg2-devel &lt;br /&gt;
:*ffmpeg&lt;br /&gt;
:*libffmpeg0&lt;br /&gt;
:*libffmpeg0-devel&lt;br /&gt;
:*libjpeg&lt;br /&gt;
:*libjpeg-devel&lt;br /&gt;
:*pcre-devel &lt;br /&gt;
:*xawtv  &lt;br /&gt;
:*openssl-devel&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Updating perl CPAN and installing perl packages=== &lt;br /&gt;
I&amp;#039;ve done all off the perl related installation under user root because of problems with cpan packages installation.  It seems like a slow process, have patience.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window:&lt;br /&gt;
 perl -MCPAN -e shell &lt;br /&gt;
 install Bundle::CPAN &lt;br /&gt;
 reload CPAN &lt;br /&gt;
 install Archive::Tar (seems to be  optional =&amp;gt; depend on the way you install yourdistro)&lt;br /&gt;
 install Archive::Zip (seems to be optional =&amp;gt; depend on the way you install yourdistro)  &lt;br /&gt;
 install MIME::Lite &lt;br /&gt;
 install MIME::Tools &lt;br /&gt;
 install DateTime &lt;br /&gt;
 install Date::Manip updated 2006-03-04 thanx to mickecarlsson &lt;br /&gt;
 install Bundle::libnet &lt;br /&gt;
 install Device::SerialPort &lt;br /&gt;
 install Astro::SunTime Updated 2006 03 24 correct spelling error on SunTime (thanx to mickecarlsson) &lt;br /&gt;
 install X10 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Configure servers to be started at boot time===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 su - &lt;br /&gt;
 cd /etc/rc.d/rc5.d &lt;br /&gt;
 ln -s ../apache2 S98apache2 &lt;br /&gt;
 ln -s ../apache2 K01apache2 &lt;br /&gt;
 ln -s ../mysql S98mysql &lt;br /&gt;
 ln -s ../mysql K01mysql&lt;br /&gt;
&lt;br /&gt;
===Start servers manually===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
&lt;br /&gt;
===Downloading and installing latest Zoneminder release (v1.22.2) :=== &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Download and save ZoneMinder tarball from:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
http://www2.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Extract tarball&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window, inside directory that ZoneMinder download was saved to&lt;br /&gt;
 tar zxvf ZoneMinder-1.22.2.tar.gz &lt;br /&gt;
 cd ZoneMinder-1.22.2 &lt;br /&gt;
&lt;br /&gt;
===Download and apply the v1.22.2 patch for ffmpeg from Wiki===&lt;br /&gt;
http://www.zoneminder.com/wiki/index.php/1.22.2_Patches&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;To apply the patch you should do the following&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:* Download the patch and move a copy to your ZoneMinder build directory &lt;br /&gt;
:* Open a command shell (terminal window)&lt;br /&gt;
:* Change directory to your ZoneMinder build directory &lt;br /&gt;
:* Apply the patch by typing the following command&lt;br /&gt;
:patch -p0 &amp;lt; zm-1.22.2-ffmpeg.patch&lt;br /&gt;
:* Check that the patch is applied correctly and you do not get any rejects &lt;br /&gt;
:* If necessary rebuild, then reinstall&lt;br /&gt;
&lt;br /&gt;
===Configuration Time===&lt;br /&gt;
Within a Terminal window, in ZoneMinder-1.22.2 directory&lt;br /&gt;
 ./configure --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --with-webgroup=www --with-webuser=wwwrun ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=zm&lt;br /&gt;
&lt;br /&gt;
===Configure MySQL===&lt;br /&gt;
&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory and Login to MySQL  (PW is probably blank)&lt;br /&gt;
 mysql -h localhost -u root -p &lt;br /&gt;
&lt;br /&gt;
Under MySQL prompt type &lt;br /&gt;
(Entering Each line will echo a bunch of lines, just ignore them)&lt;br /&gt;
 source db/zm_create.sql; grant select,insert,update,delete on zm.* to &amp;#039;zm&amp;#039;@localhost identified by &amp;#039;zm&amp;#039;; flush privileges; quit&lt;br /&gt;
&lt;br /&gt;
===Compile ZoneMinder===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
Now compile and install this nice piece of software ! &lt;br /&gt;
 make &lt;br /&gt;
 sudo make install &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
===Configure ZoneMinder to be started at boot time===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
 su - &lt;br /&gt;
 # from zoneminder source directory &lt;br /&gt;
 cp scripts/zm /etc/rc.d cd /etc/rc.d &lt;br /&gt;
 chmod +x zm &lt;br /&gt;
 cd rc5.d &lt;br /&gt;
 ln -s ../zm S99zm &lt;br /&gt;
 ln -s ../zm K00zm &lt;br /&gt;
&lt;br /&gt;
===Logoff and logon as root, or create a new session as root.===&lt;br /&gt;
&lt;br /&gt;
;Edit /etc/rc.d/zm with your favorite text editor (kwrite ?)&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;remove&amp;#039;&amp;#039;&amp;#039; the line related to include functions &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_success by echo success &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_failure by echo failure &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;save&amp;#039;&amp;#039;&amp;#039; the changes (ie :x!)&lt;br /&gt;
&lt;br /&gt;
===Minor changes in the htdocs folder===&lt;br /&gt;
Copy the /srv/www/htdocs/zm.php  file on top of the /srv/www/htdocs/index.php file. &amp;lt;br&amp;gt;  Rename or delete the /srv/www/htdocs/index.html file&lt;br /&gt;
&lt;br /&gt;
===Deal with the Shared Memory problem=== &lt;br /&gt;
Add the following lines to your /etc/sysctl.conf file: &lt;br /&gt;
(I chose 256,000,000 because my cams are 640x480)&lt;br /&gt;
 # Memory modifications for ZoneMinder&lt;br /&gt;
 kernel.shmall = 256000000 &lt;br /&gt;
 kernel.shmmax = 256000000 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Now you can reboot your computer to apply changes&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Well we are at the end of the process...&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
Start all servers if they are not already started when you boot your computer : &lt;br /&gt;
From within a Terminal window&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
 sudo zmpkg.pl start &lt;br /&gt;
&lt;br /&gt;
Now open your web browser and point to http://localhost/&lt;br /&gt;
If that doesn’t work, try http://localhost/zm.php&lt;br /&gt;
&lt;br /&gt;
===Create your monitor and start playing=== &lt;br /&gt;
&lt;br /&gt;
Here are some options I use when configuring a monitor for my Axis IP camera at 640x480, color.:&lt;br /&gt;
&lt;br /&gt;
;Under the General Tab&lt;br /&gt;
:*Source Type = Remote&lt;br /&gt;
:*Function = Modetect&lt;br /&gt;
:*Enabled = Checked&lt;br /&gt;
:*Linked Monitors = (leave it blank)&lt;br /&gt;
:*Maximum FPS = 4.0&lt;br /&gt;
:*Alarm Maximum FPS = 8.0&lt;br /&gt;
&lt;br /&gt;
;Under the Source Tab&lt;br /&gt;
:*Remote host name = IP of camera (i.e. 192.168.3.2)&lt;br /&gt;
:*Remote Host Port = 80&lt;br /&gt;
:*Remote Host Path = /axis-cgi/jpg/image.cgi?resolution=640x480&lt;br /&gt;
:*Remote Image Colours = 24 bit colour&lt;br /&gt;
:*Capture Width = 640&lt;br /&gt;
:*Capture Height = 480&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to utilize mpeg instead of jpeg, use this for the host path: &amp;lt;br&amp;gt;&lt;br /&gt;
Remote Host Path = /axis-cgi/mjpg/video.cgi?&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Information:&lt;br /&gt;
:ZoneMinder Logs are in /tmp &lt;br /&gt;
:zmaudit.log &lt;br /&gt;
:zmupdate.log &lt;br /&gt;
:zmwatch.log =&amp;gt; take attention to this one because the shared memory problem is reported here &lt;br /&gt;
:zmpkg.log &lt;br /&gt;
:zmdc.log &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Apache2 Logs are in /var/logs&lt;/div&gt;</summary>
		<author><name>BarryH</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1734</id>
		<title>SuSE 10.1 and ZoneMinder</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1734"/>
		<updated>2006-10-12T20:57:47Z</updated>

		<summary type="html">&lt;p&gt;BarryH: /* Configuration Time */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=MsoNormal&amp;gt;&amp;lt;span class=name1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;mso-bidi-font-size:8.5pt;font-family:Verdana&amp;#039;&amp;gt;Dgsconseil was kind enough to write a&amp;lt;b&amp;gt; &amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
class=postbody1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;step-by-step&lt;br /&gt;
newbie kit to install ZoneMinder under &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
10.0 OSS.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;   &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;I copied it and modified it to for&lt;br /&gt;
SuSE 10.1 with a GUI and the KDE.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=postbody1&amp;gt;This is only a short How-To on how I installed SuSE and&lt;br /&gt;
ZoneMinder software on &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; 10.1 OSS,&lt;br /&gt;
it is not intended to be a reference because I do not specify any of the&lt;br /&gt;
security rules or optimizations needed for a production server.&amp;lt;span&lt;br /&gt;
style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;I just specify the main steps to get Zone&lt;br /&gt;
Minder Running. &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;By the&lt;br /&gt;
way, this is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; the smallest installation possible.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It’s just what I used and it worked.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It seemed that if I skipped any of the additional packages, I’d&lt;br /&gt;
run into trouble.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fresh install SuSE 10.1 OSS (CD install)===&lt;br /&gt;
Base installation with KDE Desktop and additional packages&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Software Packages chosen during install:&lt;br /&gt;
:*Graphical Base system&lt;br /&gt;
:*KDE Desktop Environment&lt;br /&gt;
:*All of KDE&lt;br /&gt;
:*Help and Supports Docs&lt;br /&gt;
:*Office applications&lt;br /&gt;
:*Multimedia&lt;br /&gt;
:*Simple Web Server with Apache2&lt;br /&gt;
:*LDAP Server and Tools&lt;br /&gt;
:*Network and Server&lt;br /&gt;
:*C/C++ Complier and Tools&lt;br /&gt;
:*Kernel Development&lt;br /&gt;
:*KDE Development&lt;br /&gt;
:*TCL/TK development system&lt;br /&gt;
:*Java&lt;br /&gt;
:*Experienced user&lt;br /&gt;
:*LaTex, SGML and XML&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;If using the firewall, add HTTP Server to the Allowed Services list, if you want to access ZoneMinder with a web browser.&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Once the Installation is finished, open the YAST control center.  (Under System)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;If you have an internet connection - In YAST, add packman as an http installation source(used to install ffmpeg)&lt;br /&gt;
:Type : HTTP &lt;br /&gt;
:Server : packman.unixheads.com &lt;br /&gt;
:Path : suse/10.1&lt;br /&gt;
&lt;br /&gt;
=== Go into YAST Software Management ===&lt;br /&gt;
&lt;br /&gt;
;Verify that these packages are installed, Install any that are missing  (Enter each name in Search box)&lt;br /&gt;
&lt;br /&gt;
:*apache2&lt;br /&gt;
:*apache2-worker  &lt;br /&gt;
:*apache2-mod_perl &lt;br /&gt;
:*apache2-mod_php5 &lt;br /&gt;
:*apache2-mod-apparmor&lt;br /&gt;
:*php5 &lt;br /&gt;
:*mysql &lt;br /&gt;
:*mysql-devel &lt;br /&gt;
:*gcc &lt;br /&gt;
:*gcc-c++ &lt;br /&gt;
:*libmpeg2&lt;br /&gt;
:*libmpeg2-devel &lt;br /&gt;
:*ffmpeg&lt;br /&gt;
:*libffmpeg0&lt;br /&gt;
:*libffmpeg0-devel&lt;br /&gt;
:*libjpeg&lt;br /&gt;
:*libjpeg-devel&lt;br /&gt;
:*pcre-devel &lt;br /&gt;
:*xawtv  &lt;br /&gt;
:*openssl-devel&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Updating perl CPAN and installing perl packages=== &lt;br /&gt;
I&amp;#039;ve done all off the perl related installation under user root because of problems with cpan packages installation.  It seems like a slow process, have patience.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window:&lt;br /&gt;
 perl -MCPAN -e shell &lt;br /&gt;
 install Bundle::CPAN &lt;br /&gt;
 reload CPAN &lt;br /&gt;
 install Archive::Tar (seems to be  optional =&amp;gt; depend on the way you install yourdistro)&lt;br /&gt;
 install Archive::Zip (seems to be optional =&amp;gt; depend on the way you install yourdistro)  &lt;br /&gt;
 install MIME::Lite &lt;br /&gt;
 install MIME::Tools &lt;br /&gt;
 install DateTime &lt;br /&gt;
 install Date::Manip updated 2006-03-04 thanx to mickecarlsson &lt;br /&gt;
 install Bundle::libnet &lt;br /&gt;
 install Device::SerialPort &lt;br /&gt;
 install Astro::SunTime Updated 2006 03 24 correct spelling error on SunTime (thanx to mickecarlsson) &lt;br /&gt;
 install X10 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Configure servers to be started at boot time===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 su - &lt;br /&gt;
 cd /etc/rc.d/rc5.d &lt;br /&gt;
 ln -s ../apache2 S98apache2 &lt;br /&gt;
 ln -s ../apache2 K01apache2 &lt;br /&gt;
 ln -s ../mysql S98mysql &lt;br /&gt;
 ln -s ../mysql K01mysql&lt;br /&gt;
&lt;br /&gt;
===Start servers manually===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
&lt;br /&gt;
===Downloading and installing latest Zoneminder release (v1.22.2) :=== &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Download and save ZoneMinder tarball from:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
http://www2.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Extract tarball&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window, inside directory that ZoneMinder download was saved to&lt;br /&gt;
 tar zxvf ZoneMinder-1.22.2.tar.gz &lt;br /&gt;
 cd ZoneMinder-1.22.2 &lt;br /&gt;
&lt;br /&gt;
===Download and apply the v1.22.2 patch for ffmpeg from Wiki===&lt;br /&gt;
http://www.zoneminder.com/wiki/index.php/1.22.2_Patches&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;To apply the patch you should do the following&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:* Download the patch and move a copy to your ZoneMinder build directory &lt;br /&gt;
:* Open a command shell (terminal window)&lt;br /&gt;
:* Change directory to your ZoneMinder build directory &lt;br /&gt;
:* Apply the patch by typing the following command&lt;br /&gt;
:patch -p0 &amp;lt; zm-1.22.2-ffmpeg.patch&lt;br /&gt;
:* Check that the patch is applied correctly and you do not get any rejects &lt;br /&gt;
:* If necessary rebuild, then reinstall&lt;br /&gt;
&lt;br /&gt;
===Configuration Time===&lt;br /&gt;
Within a Terminal window, in ZoneMinder-1.22.2 directory&lt;br /&gt;
 ./configure --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --with-webgroup=www --with-webuser=wwwrun ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=zm&lt;br /&gt;
&lt;br /&gt;
===Configure MySQL===&lt;br /&gt;
&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory and Login to MySQL  (PW is blank)&lt;br /&gt;
 mysql -h localhost -u root -p &lt;br /&gt;
&lt;br /&gt;
Under MySQL prompt type &lt;br /&gt;
(Entering Each line will echo a bunch of lines, just ignore them)&lt;br /&gt;
 source db/zm_create.sql; grant select,insert,update,delete on zm.* to &amp;#039;zm&amp;#039;@localhost identified by &amp;#039;zm&amp;#039;; flush privileges; quit &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Compile ZoneMinder===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
Now compile and install this nice piece of software ! &lt;br /&gt;
 make &lt;br /&gt;
 sudo make install &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
===Configure ZoneMinder to be started at boot time===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
 su - &lt;br /&gt;
 # from zoneminder source directory &lt;br /&gt;
 cp scripts/zm /etc/rc.d cd /etc/rc.d &lt;br /&gt;
 chmod +x zm &lt;br /&gt;
 cd rc5.d &lt;br /&gt;
 ln -s ../zm S99zm &lt;br /&gt;
 ln -s ../zm K00zm &lt;br /&gt;
&lt;br /&gt;
===Logoff and logon as root, or create a new session as root.===&lt;br /&gt;
&lt;br /&gt;
;Edit /etc/rc.d/zm with your favorite text editor (kwrite ?)&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;remove&amp;#039;&amp;#039;&amp;#039; the line related to include functions &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_success by echo success &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_failure by echo failure &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;save&amp;#039;&amp;#039;&amp;#039; the changes (ie :x!)&lt;br /&gt;
&lt;br /&gt;
===Minor changes in the htdocs folder===&lt;br /&gt;
Copy the /srv/www/htdocs/zm.php  file on top of the /srv/www/htdocs/index.php file. &amp;lt;br&amp;gt;  Rename or delete the /srv/www/htdocs/index.html file&lt;br /&gt;
&lt;br /&gt;
===Deal with the Shared Memory problem=== &lt;br /&gt;
Add the following lines to your /etc/sysctl.conf file: &lt;br /&gt;
(I chose 256,000,000 because my cams are 640x480)&lt;br /&gt;
 # Memory modifications for ZoneMinder&lt;br /&gt;
 kernel.shmall = 256000000 &lt;br /&gt;
 kernel.shmmax = 256000000 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Now you can reboot your computer to apply changes&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Well we are at the end of the process...&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
Start all servers if they are not already started when you boot your computer : &lt;br /&gt;
From within a Terminal window&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
 sudo zmpkg.pl start &lt;br /&gt;
&lt;br /&gt;
Now open your web browser and point to http://localhost/&lt;br /&gt;
If that doesn’t work, try http://localhost/zm.php&lt;br /&gt;
&lt;br /&gt;
===Create your monitor and start playing=== &lt;br /&gt;
&lt;br /&gt;
Here are some options I use when configuring a monitor for my Axis IP camera at 640x480, color.:&lt;br /&gt;
&lt;br /&gt;
;Under the General Tab&lt;br /&gt;
:*Source Type = Remote&lt;br /&gt;
:*Function = Modetect&lt;br /&gt;
:*Enabled = Checked&lt;br /&gt;
:*Linked Monitors = (leave it blank)&lt;br /&gt;
:*Maximum FPS = 4.0&lt;br /&gt;
:*Alarm Maximum FPS = 8.0&lt;br /&gt;
&lt;br /&gt;
;Under the Source Tab&lt;br /&gt;
:*Remote host name = IP of camera (i.e. 192.168.3.2)&lt;br /&gt;
:*Remote Host Port = 80&lt;br /&gt;
:*Remote Host Path = /axis-cgi/jpg/image.cgi?resolution=640x480&lt;br /&gt;
:*Remote Image Colours = 24 bit colour&lt;br /&gt;
:*Capture Width = 640&lt;br /&gt;
:*Capture Height = 480&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to utilize mpeg instead of jpeg, use this for the host path: &amp;lt;br&amp;gt;&lt;br /&gt;
Remote Host Path = /axis-cgi/mjpg/video.cgi?&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Information:&lt;br /&gt;
:ZoneMinder Logs are in /tmp &lt;br /&gt;
:zmaudit.log &lt;br /&gt;
:zmupdate.log &lt;br /&gt;
:zmwatch.log =&amp;gt; take attention to this one because the shared memory problem is reported here &lt;br /&gt;
:zmpkg.log &lt;br /&gt;
:zmdc.log &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Apache2 Logs are in /var/logs&lt;/div&gt;</summary>
		<author><name>BarryH</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1733</id>
		<title>SuSE 10.1 and ZoneMinder</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1733"/>
		<updated>2006-10-12T20:57:11Z</updated>

		<summary type="html">&lt;p&gt;BarryH: /* Download and apply the v1.22.2 patch for ffmpeg from Wiki */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=MsoNormal&amp;gt;&amp;lt;span class=name1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;mso-bidi-font-size:8.5pt;font-family:Verdana&amp;#039;&amp;gt;Dgsconseil was kind enough to write a&amp;lt;b&amp;gt; &amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
class=postbody1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;step-by-step&lt;br /&gt;
newbie kit to install ZoneMinder under &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
10.0 OSS.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;   &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;I copied it and modified it to for&lt;br /&gt;
SuSE 10.1 with a GUI and the KDE.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=postbody1&amp;gt;This is only a short How-To on how I installed SuSE and&lt;br /&gt;
ZoneMinder software on &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; 10.1 OSS,&lt;br /&gt;
it is not intended to be a reference because I do not specify any of the&lt;br /&gt;
security rules or optimizations needed for a production server.&amp;lt;span&lt;br /&gt;
style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;I just specify the main steps to get Zone&lt;br /&gt;
Minder Running. &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;By the&lt;br /&gt;
way, this is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; the smallest installation possible.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It’s just what I used and it worked.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It seemed that if I skipped any of the additional packages, I’d&lt;br /&gt;
run into trouble.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fresh install SuSE 10.1 OSS (CD install)===&lt;br /&gt;
Base installation with KDE Desktop and additional packages&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Software Packages chosen during install:&lt;br /&gt;
:*Graphical Base system&lt;br /&gt;
:*KDE Desktop Environment&lt;br /&gt;
:*All of KDE&lt;br /&gt;
:*Help and Supports Docs&lt;br /&gt;
:*Office applications&lt;br /&gt;
:*Multimedia&lt;br /&gt;
:*Simple Web Server with Apache2&lt;br /&gt;
:*LDAP Server and Tools&lt;br /&gt;
:*Network and Server&lt;br /&gt;
:*C/C++ Complier and Tools&lt;br /&gt;
:*Kernel Development&lt;br /&gt;
:*KDE Development&lt;br /&gt;
:*TCL/TK development system&lt;br /&gt;
:*Java&lt;br /&gt;
:*Experienced user&lt;br /&gt;
:*LaTex, SGML and XML&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;If using the firewall, add HTTP Server to the Allowed Services list, if you want to access ZoneMinder with a web browser.&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Once the Installation is finished, open the YAST control center.  (Under System)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;If you have an internet connection - In YAST, add packman as an http installation source(used to install ffmpeg)&lt;br /&gt;
:Type : HTTP &lt;br /&gt;
:Server : packman.unixheads.com &lt;br /&gt;
:Path : suse/10.1&lt;br /&gt;
&lt;br /&gt;
=== Go into YAST Software Management ===&lt;br /&gt;
&lt;br /&gt;
;Verify that these packages are installed, Install any that are missing  (Enter each name in Search box)&lt;br /&gt;
&lt;br /&gt;
:*apache2&lt;br /&gt;
:*apache2-worker  &lt;br /&gt;
:*apache2-mod_perl &lt;br /&gt;
:*apache2-mod_php5 &lt;br /&gt;
:*apache2-mod-apparmor&lt;br /&gt;
:*php5 &lt;br /&gt;
:*mysql &lt;br /&gt;
:*mysql-devel &lt;br /&gt;
:*gcc &lt;br /&gt;
:*gcc-c++ &lt;br /&gt;
:*libmpeg2&lt;br /&gt;
:*libmpeg2-devel &lt;br /&gt;
:*ffmpeg&lt;br /&gt;
:*libffmpeg0&lt;br /&gt;
:*libffmpeg0-devel&lt;br /&gt;
:*libjpeg&lt;br /&gt;
:*libjpeg-devel&lt;br /&gt;
:*pcre-devel &lt;br /&gt;
:*xawtv  &lt;br /&gt;
:*openssl-devel&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Updating perl CPAN and installing perl packages=== &lt;br /&gt;
I&amp;#039;ve done all off the perl related installation under user root because of problems with cpan packages installation.  It seems like a slow process, have patience.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window:&lt;br /&gt;
 perl -MCPAN -e shell &lt;br /&gt;
 install Bundle::CPAN &lt;br /&gt;
 reload CPAN &lt;br /&gt;
 install Archive::Tar (seems to be  optional =&amp;gt; depend on the way you install yourdistro)&lt;br /&gt;
 install Archive::Zip (seems to be optional =&amp;gt; depend on the way you install yourdistro)  &lt;br /&gt;
 install MIME::Lite &lt;br /&gt;
 install MIME::Tools &lt;br /&gt;
 install DateTime &lt;br /&gt;
 install Date::Manip updated 2006-03-04 thanx to mickecarlsson &lt;br /&gt;
 install Bundle::libnet &lt;br /&gt;
 install Device::SerialPort &lt;br /&gt;
 install Astro::SunTime Updated 2006 03 24 correct spelling error on SunTime (thanx to mickecarlsson) &lt;br /&gt;
 install X10 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Configure servers to be started at boot time===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 su - &lt;br /&gt;
 cd /etc/rc.d/rc5.d &lt;br /&gt;
 ln -s ../apache2 S98apache2 &lt;br /&gt;
 ln -s ../apache2 K01apache2 &lt;br /&gt;
 ln -s ../mysql S98mysql &lt;br /&gt;
 ln -s ../mysql K01mysql&lt;br /&gt;
&lt;br /&gt;
===Start servers manually===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
&lt;br /&gt;
===Downloading and installing latest Zoneminder release (v1.22.2) :=== &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Download and save ZoneMinder tarball from:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
http://www2.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Extract tarball&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window, inside directory that ZoneMinder download was saved to&lt;br /&gt;
 tar zxvf ZoneMinder-1.22.2.tar.gz &lt;br /&gt;
 cd ZoneMinder-1.22.2 &lt;br /&gt;
&lt;br /&gt;
===Download and apply the v1.22.2 patch for ffmpeg from Wiki===&lt;br /&gt;
http://www.zoneminder.com/wiki/index.php/1.22.2_Patches&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;To apply the patch you should do the following&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:* Download the patch and move a copy to your ZoneMinder build directory &lt;br /&gt;
:* Open a command shell (terminal window)&lt;br /&gt;
:* Change directory to your ZoneMinder build directory &lt;br /&gt;
:* Apply the patch by typing the following command&lt;br /&gt;
:patch -p0 &amp;lt; zm-1.22.2-ffmpeg.patch&lt;br /&gt;
:* Check that the patch is applied correctly and you do not get any rejects &lt;br /&gt;
:* If necessary rebuild, then reinstall&lt;br /&gt;
&lt;br /&gt;
===Configuration Time===&lt;br /&gt;
Within Terminal window, in ZoneMinder-1.22.2 directory&lt;br /&gt;
 ./configure --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --with-webgroup=www --with-webuser=wwwrun ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=zm&lt;br /&gt;
&lt;br /&gt;
===Configure MySQL===&lt;br /&gt;
&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory and Login to MySQL  (PW is blank)&lt;br /&gt;
 mysql -h localhost -u root -p &lt;br /&gt;
&lt;br /&gt;
Under MySQL prompt type &lt;br /&gt;
(Entering Each line will echo a bunch of lines, just ignore them)&lt;br /&gt;
 source db/zm_create.sql; grant select,insert,update,delete on zm.* to &amp;#039;zm&amp;#039;@localhost identified by &amp;#039;zm&amp;#039;; flush privileges; quit &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Compile ZoneMinder===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
Now compile and install this nice piece of software ! &lt;br /&gt;
 make &lt;br /&gt;
 sudo make install &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
===Configure ZoneMinder to be started at boot time===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
 su - &lt;br /&gt;
 # from zoneminder source directory &lt;br /&gt;
 cp scripts/zm /etc/rc.d cd /etc/rc.d &lt;br /&gt;
 chmod +x zm &lt;br /&gt;
 cd rc5.d &lt;br /&gt;
 ln -s ../zm S99zm &lt;br /&gt;
 ln -s ../zm K00zm &lt;br /&gt;
&lt;br /&gt;
===Logoff and logon as root, or create a new session as root.===&lt;br /&gt;
&lt;br /&gt;
;Edit /etc/rc.d/zm with your favorite text editor (kwrite ?)&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;remove&amp;#039;&amp;#039;&amp;#039; the line related to include functions &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_success by echo success &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_failure by echo failure &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;save&amp;#039;&amp;#039;&amp;#039; the changes (ie :x!)&lt;br /&gt;
&lt;br /&gt;
===Minor changes in the htdocs folder===&lt;br /&gt;
Copy the /srv/www/htdocs/zm.php  file on top of the /srv/www/htdocs/index.php file. &amp;lt;br&amp;gt;  Rename or delete the /srv/www/htdocs/index.html file&lt;br /&gt;
&lt;br /&gt;
===Deal with the Shared Memory problem=== &lt;br /&gt;
Add the following lines to your /etc/sysctl.conf file: &lt;br /&gt;
(I chose 256,000,000 because my cams are 640x480)&lt;br /&gt;
 # Memory modifications for ZoneMinder&lt;br /&gt;
 kernel.shmall = 256000000 &lt;br /&gt;
 kernel.shmmax = 256000000 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Now you can reboot your computer to apply changes&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Well we are at the end of the process...&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
Start all servers if they are not already started when you boot your computer : &lt;br /&gt;
From within a Terminal window&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
 sudo zmpkg.pl start &lt;br /&gt;
&lt;br /&gt;
Now open your web browser and point to http://localhost/&lt;br /&gt;
If that doesn’t work, try http://localhost/zm.php&lt;br /&gt;
&lt;br /&gt;
===Create your monitor and start playing=== &lt;br /&gt;
&lt;br /&gt;
Here are some options I use when configuring a monitor for my Axis IP camera at 640x480, color.:&lt;br /&gt;
&lt;br /&gt;
;Under the General Tab&lt;br /&gt;
:*Source Type = Remote&lt;br /&gt;
:*Function = Modetect&lt;br /&gt;
:*Enabled = Checked&lt;br /&gt;
:*Linked Monitors = (leave it blank)&lt;br /&gt;
:*Maximum FPS = 4.0&lt;br /&gt;
:*Alarm Maximum FPS = 8.0&lt;br /&gt;
&lt;br /&gt;
;Under the Source Tab&lt;br /&gt;
:*Remote host name = IP of camera (i.e. 192.168.3.2)&lt;br /&gt;
:*Remote Host Port = 80&lt;br /&gt;
:*Remote Host Path = /axis-cgi/jpg/image.cgi?resolution=640x480&lt;br /&gt;
:*Remote Image Colours = 24 bit colour&lt;br /&gt;
:*Capture Width = 640&lt;br /&gt;
:*Capture Height = 480&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to utilize mpeg instead of jpeg, use this for the host path: &amp;lt;br&amp;gt;&lt;br /&gt;
Remote Host Path = /axis-cgi/mjpg/video.cgi?&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Information:&lt;br /&gt;
:ZoneMinder Logs are in /tmp &lt;br /&gt;
:zmaudit.log &lt;br /&gt;
:zmupdate.log &lt;br /&gt;
:zmwatch.log =&amp;gt; take attention to this one because the shared memory problem is reported here &lt;br /&gt;
:zmpkg.log &lt;br /&gt;
:zmdc.log &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Apache2 Logs are in /var/logs&lt;/div&gt;</summary>
		<author><name>BarryH</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1732</id>
		<title>SuSE 10.1 and ZoneMinder</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1732"/>
		<updated>2006-10-12T20:55:39Z</updated>

		<summary type="html">&lt;p&gt;BarryH: /* Updating perl CPANand installing perl packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=MsoNormal&amp;gt;&amp;lt;span class=name1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;mso-bidi-font-size:8.5pt;font-family:Verdana&amp;#039;&amp;gt;Dgsconseil was kind enough to write a&amp;lt;b&amp;gt; &amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
class=postbody1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;step-by-step&lt;br /&gt;
newbie kit to install ZoneMinder under &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
10.0 OSS.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;   &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;I copied it and modified it to for&lt;br /&gt;
SuSE 10.1 with a GUI and the KDE.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=postbody1&amp;gt;This is only a short How-To on how I installed SuSE and&lt;br /&gt;
ZoneMinder software on &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; 10.1 OSS,&lt;br /&gt;
it is not intended to be a reference because I do not specify any of the&lt;br /&gt;
security rules or optimizations needed for a production server.&amp;lt;span&lt;br /&gt;
style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;I just specify the main steps to get Zone&lt;br /&gt;
Minder Running. &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;By the&lt;br /&gt;
way, this is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; the smallest installation possible.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It’s just what I used and it worked.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It seemed that if I skipped any of the additional packages, I’d&lt;br /&gt;
run into trouble.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fresh install SuSE 10.1 OSS (CD install)===&lt;br /&gt;
Base installation with KDE Desktop and additional packages&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Software Packages chosen during install:&lt;br /&gt;
:*Graphical Base system&lt;br /&gt;
:*KDE Desktop Environment&lt;br /&gt;
:*All of KDE&lt;br /&gt;
:*Help and Supports Docs&lt;br /&gt;
:*Office applications&lt;br /&gt;
:*Multimedia&lt;br /&gt;
:*Simple Web Server with Apache2&lt;br /&gt;
:*LDAP Server and Tools&lt;br /&gt;
:*Network and Server&lt;br /&gt;
:*C/C++ Complier and Tools&lt;br /&gt;
:*Kernel Development&lt;br /&gt;
:*KDE Development&lt;br /&gt;
:*TCL/TK development system&lt;br /&gt;
:*Java&lt;br /&gt;
:*Experienced user&lt;br /&gt;
:*LaTex, SGML and XML&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;If using the firewall, add HTTP Server to the Allowed Services list, if you want to access ZoneMinder with a web browser.&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Once the Installation is finished, open the YAST control center.  (Under System)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;If you have an internet connection - In YAST, add packman as an http installation source(used to install ffmpeg)&lt;br /&gt;
:Type : HTTP &lt;br /&gt;
:Server : packman.unixheads.com &lt;br /&gt;
:Path : suse/10.1&lt;br /&gt;
&lt;br /&gt;
=== Go into YAST Software Management ===&lt;br /&gt;
&lt;br /&gt;
;Verify that these packages are installed, Install any that are missing  (Enter each name in Search box)&lt;br /&gt;
&lt;br /&gt;
:*apache2&lt;br /&gt;
:*apache2-worker  &lt;br /&gt;
:*apache2-mod_perl &lt;br /&gt;
:*apache2-mod_php5 &lt;br /&gt;
:*apache2-mod-apparmor&lt;br /&gt;
:*php5 &lt;br /&gt;
:*mysql &lt;br /&gt;
:*mysql-devel &lt;br /&gt;
:*gcc &lt;br /&gt;
:*gcc-c++ &lt;br /&gt;
:*libmpeg2&lt;br /&gt;
:*libmpeg2-devel &lt;br /&gt;
:*ffmpeg&lt;br /&gt;
:*libffmpeg0&lt;br /&gt;
:*libffmpeg0-devel&lt;br /&gt;
:*libjpeg&lt;br /&gt;
:*libjpeg-devel&lt;br /&gt;
:*pcre-devel &lt;br /&gt;
:*xawtv  &lt;br /&gt;
:*openssl-devel&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Updating perl CPAN and installing perl packages=== &lt;br /&gt;
I&amp;#039;ve done all off the perl related installation under user root because of problems with cpan packages installation.  It seems like a slow process, have patience.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window:&lt;br /&gt;
 perl -MCPAN -e shell &lt;br /&gt;
 install Bundle::CPAN &lt;br /&gt;
 reload CPAN &lt;br /&gt;
 install Archive::Tar (seems to be  optional =&amp;gt; depend on the way you install yourdistro)&lt;br /&gt;
 install Archive::Zip (seems to be optional =&amp;gt; depend on the way you install yourdistro)  &lt;br /&gt;
 install MIME::Lite &lt;br /&gt;
 install MIME::Tools &lt;br /&gt;
 install DateTime &lt;br /&gt;
 install Date::Manip updated 2006-03-04 thanx to mickecarlsson &lt;br /&gt;
 install Bundle::libnet &lt;br /&gt;
 install Device::SerialPort &lt;br /&gt;
 install Astro::SunTime Updated 2006 03 24 correct spelling error on SunTime (thanx to mickecarlsson) &lt;br /&gt;
 install X10 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Configure servers to be started at boot time===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 su - &lt;br /&gt;
 cd /etc/rc.d/rc5.d &lt;br /&gt;
 ln -s ../apache2 S98apache2 &lt;br /&gt;
 ln -s ../apache2 K01apache2 &lt;br /&gt;
 ln -s ../mysql S98mysql &lt;br /&gt;
 ln -s ../mysql K01mysql&lt;br /&gt;
&lt;br /&gt;
===Start servers manually===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
&lt;br /&gt;
===Downloading and installing latest Zoneminder release (v1.22.2) :=== &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Download and save ZoneMinder tarball from:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
http://www2.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Extract tarball&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window, inside directory that ZoneMinder download was saved to&lt;br /&gt;
 tar zxvf ZoneMinder-1.22.2.tar.gz &lt;br /&gt;
 cd ZoneMinder-1.22.2 &lt;br /&gt;
&lt;br /&gt;
===Download and apply the v1.22.2 patch for ffmpeg from Wiki===&lt;br /&gt;
http://www.zoneminder.com/wiki/index.php/1.22.2_Patches&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;To apply the patch you should do the following&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:* Download the patch and move a copy to your ZoneMinder build directory &lt;br /&gt;
:* Open a command shell (terminal window)&lt;br /&gt;
:* Change directory to your ZoneMinder build directory &lt;br /&gt;
:* Apply the patch by typing &lt;br /&gt;
:patch -p0 &amp;lt; zm-1.22.2-ffmpeg.patch&lt;br /&gt;
:* Check that the patch is applied correctly and you do not get any rejects &lt;br /&gt;
:* If necessary rebuild, then reinstall &lt;br /&gt;
&lt;br /&gt;
===Configuration Time===&lt;br /&gt;
Within Terminal window, in ZoneMinder-1.22.2 directory&lt;br /&gt;
 ./configure --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --with-webgroup=www --with-webuser=wwwrun ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=zm&lt;br /&gt;
&lt;br /&gt;
===Configure MySQL===&lt;br /&gt;
&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory and Login to MySQL  (PW is blank)&lt;br /&gt;
 mysql -h localhost -u root -p &lt;br /&gt;
&lt;br /&gt;
Under MySQL prompt type &lt;br /&gt;
(Entering Each line will echo a bunch of lines, just ignore them)&lt;br /&gt;
 source db/zm_create.sql; grant select,insert,update,delete on zm.* to &amp;#039;zm&amp;#039;@localhost identified by &amp;#039;zm&amp;#039;; flush privileges; quit &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Compile ZoneMinder===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
Now compile and install this nice piece of software ! &lt;br /&gt;
 make &lt;br /&gt;
 sudo make install &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
===Configure ZoneMinder to be started at boot time===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
 su - &lt;br /&gt;
 # from zoneminder source directory &lt;br /&gt;
 cp scripts/zm /etc/rc.d cd /etc/rc.d &lt;br /&gt;
 chmod +x zm &lt;br /&gt;
 cd rc5.d &lt;br /&gt;
 ln -s ../zm S99zm &lt;br /&gt;
 ln -s ../zm K00zm &lt;br /&gt;
&lt;br /&gt;
===Logoff and logon as root, or create a new session as root.===&lt;br /&gt;
&lt;br /&gt;
;Edit /etc/rc.d/zm with your favorite text editor (kwrite ?)&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;remove&amp;#039;&amp;#039;&amp;#039; the line related to include functions &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_success by echo success &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_failure by echo failure &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;save&amp;#039;&amp;#039;&amp;#039; the changes (ie :x!)&lt;br /&gt;
&lt;br /&gt;
===Minor changes in the htdocs folder===&lt;br /&gt;
Copy the /srv/www/htdocs/zm.php  file on top of the /srv/www/htdocs/index.php file. &amp;lt;br&amp;gt;  Rename or delete the /srv/www/htdocs/index.html file&lt;br /&gt;
&lt;br /&gt;
===Deal with the Shared Memory problem=== &lt;br /&gt;
Add the following lines to your /etc/sysctl.conf file: &lt;br /&gt;
(I chose 256,000,000 because my cams are 640x480)&lt;br /&gt;
 # Memory modifications for ZoneMinder&lt;br /&gt;
 kernel.shmall = 256000000 &lt;br /&gt;
 kernel.shmmax = 256000000 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Now you can reboot your computer to apply changes&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Well we are at the end of the process...&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
Start all servers if they are not already started when you boot your computer : &lt;br /&gt;
From within a Terminal window&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
 sudo zmpkg.pl start &lt;br /&gt;
&lt;br /&gt;
Now open your web browser and point to http://localhost/&lt;br /&gt;
If that doesn’t work, try http://localhost/zm.php&lt;br /&gt;
&lt;br /&gt;
===Create your monitor and start playing=== &lt;br /&gt;
&lt;br /&gt;
Here are some options I use when configuring a monitor for my Axis IP camera at 640x480, color.:&lt;br /&gt;
&lt;br /&gt;
;Under the General Tab&lt;br /&gt;
:*Source Type = Remote&lt;br /&gt;
:*Function = Modetect&lt;br /&gt;
:*Enabled = Checked&lt;br /&gt;
:*Linked Monitors = (leave it blank)&lt;br /&gt;
:*Maximum FPS = 4.0&lt;br /&gt;
:*Alarm Maximum FPS = 8.0&lt;br /&gt;
&lt;br /&gt;
;Under the Source Tab&lt;br /&gt;
:*Remote host name = IP of camera (i.e. 192.168.3.2)&lt;br /&gt;
:*Remote Host Port = 80&lt;br /&gt;
:*Remote Host Path = /axis-cgi/jpg/image.cgi?resolution=640x480&lt;br /&gt;
:*Remote Image Colours = 24 bit colour&lt;br /&gt;
:*Capture Width = 640&lt;br /&gt;
:*Capture Height = 480&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to utilize mpeg instead of jpeg, use this for the host path: &amp;lt;br&amp;gt;&lt;br /&gt;
Remote Host Path = /axis-cgi/mjpg/video.cgi?&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Information:&lt;br /&gt;
:ZoneMinder Logs are in /tmp &lt;br /&gt;
:zmaudit.log &lt;br /&gt;
:zmupdate.log &lt;br /&gt;
:zmwatch.log =&amp;gt; take attention to this one because the shared memory problem is reported here &lt;br /&gt;
:zmpkg.log &lt;br /&gt;
:zmdc.log &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Apache2 Logs are in /var/logs&lt;/div&gt;</summary>
		<author><name>BarryH</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1731</id>
		<title>SuSE 10.1 and ZoneMinder</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1731"/>
		<updated>2006-10-12T16:26:19Z</updated>

		<summary type="html">&lt;p&gt;BarryH: /* Logoff and logon as root, or create a new session as root. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=MsoNormal&amp;gt;&amp;lt;span class=name1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;mso-bidi-font-size:8.5pt;font-family:Verdana&amp;#039;&amp;gt;Dgsconseil was kind enough to write a&amp;lt;b&amp;gt; &amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
class=postbody1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;step-by-step&lt;br /&gt;
newbie kit to install ZoneMinder under &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
10.0 OSS.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;   &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;I copied it and modified it to for&lt;br /&gt;
SuSE 10.1 with a GUI and the KDE.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=postbody1&amp;gt;This is only a short How-To on how I installed SuSE and&lt;br /&gt;
ZoneMinder software on &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; 10.1 OSS,&lt;br /&gt;
it is not intended to be a reference because I do not specify any of the&lt;br /&gt;
security rules or optimizations needed for a production server.&amp;lt;span&lt;br /&gt;
style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;I just specify the main steps to get Zone&lt;br /&gt;
Minder Running. &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;By the&lt;br /&gt;
way, this is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; the smallest installation possible.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It’s just what I used and it worked.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It seemed that if I skipped any of the additional packages, I’d&lt;br /&gt;
run into trouble.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fresh install SuSE 10.1 OSS (CD install)===&lt;br /&gt;
Base installation with KDE Desktop and additional packages&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Software Packages chosen during install:&lt;br /&gt;
:*Graphical Base system&lt;br /&gt;
:*KDE Desktop Environment&lt;br /&gt;
:*All of KDE&lt;br /&gt;
:*Help and Supports Docs&lt;br /&gt;
:*Office applications&lt;br /&gt;
:*Multimedia&lt;br /&gt;
:*Simple Web Server with Apache2&lt;br /&gt;
:*LDAP Server and Tools&lt;br /&gt;
:*Network and Server&lt;br /&gt;
:*C/C++ Complier and Tools&lt;br /&gt;
:*Kernel Development&lt;br /&gt;
:*KDE Development&lt;br /&gt;
:*TCL/TK development system&lt;br /&gt;
:*Java&lt;br /&gt;
:*Experienced user&lt;br /&gt;
:*LaTex, SGML and XML&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;If using the firewall, add HTTP Server to the Allowed Services list, if you want to access ZoneMinder with a web browser.&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Once the Installation is finished, open the YAST control center.  (Under System)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;If you have an internet connection - In YAST, add packman as an http installation source(used to install ffmpeg)&lt;br /&gt;
:Type : HTTP &lt;br /&gt;
:Server : packman.unixheads.com &lt;br /&gt;
:Path : suse/10.1&lt;br /&gt;
&lt;br /&gt;
=== Go into YAST Software Management ===&lt;br /&gt;
&lt;br /&gt;
;Verify that these packages are installed, Install any that are missing  (Enter each name in Search box)&lt;br /&gt;
&lt;br /&gt;
:*apache2&lt;br /&gt;
:*apache2-worker  &lt;br /&gt;
:*apache2-mod_perl &lt;br /&gt;
:*apache2-mod_php5 &lt;br /&gt;
:*apache2-mod-apparmor&lt;br /&gt;
:*php5 &lt;br /&gt;
:*mysql &lt;br /&gt;
:*mysql-devel &lt;br /&gt;
:*gcc &lt;br /&gt;
:*gcc-c++ &lt;br /&gt;
:*libmpeg2&lt;br /&gt;
:*libmpeg2-devel &lt;br /&gt;
:*ffmpeg&lt;br /&gt;
:*libffmpeg0&lt;br /&gt;
:*libffmpeg0-devel&lt;br /&gt;
:*libjpeg&lt;br /&gt;
:*libjpeg-devel&lt;br /&gt;
:*pcre-devel &lt;br /&gt;
:*xawtv  &lt;br /&gt;
:*openssl-devel&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Updating perl CPANand installing perl packages=== &lt;br /&gt;
I&amp;#039;ve done all off the perl related installation under user root because of problems with cpan packages installation.  It seems like a slow process, have patience.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window:&lt;br /&gt;
 perl -MCPAN -e shell &lt;br /&gt;
 install Bundle::CPAN &lt;br /&gt;
 reload CPAN &lt;br /&gt;
 install Archive::Tar (seems to be  optional =&amp;gt; depend on the way you install yourdistro)&lt;br /&gt;
 install Archive::Zip (seems to be optional =&amp;gt; depend on the way you install yourdistro)  &lt;br /&gt;
 install MIME::Lite &lt;br /&gt;
 install MIME::Tools &lt;br /&gt;
 install DateTime &lt;br /&gt;
 install Date::Manip updated 2006-03-04 thanx to mickecarlsson &lt;br /&gt;
 install Bundle::libnet &lt;br /&gt;
 install Device::SerialPort &lt;br /&gt;
 install Astro::SunTime Updated 2006 03 24 correct spelling error on SunTime (thanx to mickecarlsson) &lt;br /&gt;
 install X10 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Configure servers to be started at boot time===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 su - &lt;br /&gt;
 cd /etc/rc.d/rc5.d &lt;br /&gt;
 ln -s ../apache2 S98apache2 &lt;br /&gt;
 ln -s ../apache2 K01apache2 &lt;br /&gt;
 ln -s ../mysql S98mysql &lt;br /&gt;
 ln -s ../mysql K01mysql&lt;br /&gt;
&lt;br /&gt;
===Start servers manually===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
&lt;br /&gt;
===Downloading and installing latest Zoneminder release (v1.22.2) :=== &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Download and save ZoneMinder tarball from:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
http://www2.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Extract tarball&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window, inside directory that ZoneMinder download was saved to&lt;br /&gt;
 tar zxvf ZoneMinder-1.22.2.tar.gz &lt;br /&gt;
 cd ZoneMinder-1.22.2 &lt;br /&gt;
&lt;br /&gt;
===Download and apply the v1.22.2 patch for ffmpeg from Wiki===&lt;br /&gt;
http://www.zoneminder.com/wiki/index.php/1.22.2_Patches&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;To apply the patch you should do the following&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:* Download the patch and move a copy to your ZoneMinder build directory &lt;br /&gt;
:* Open a command shell (terminal window)&lt;br /&gt;
:* Change directory to your ZoneMinder build directory &lt;br /&gt;
:* Apply the patch by typing &lt;br /&gt;
:patch -p0 &amp;lt; zm-1.22.2-ffmpeg.patch&lt;br /&gt;
:* Check that the patch is applied correctly and you do not get any rejects &lt;br /&gt;
:* If necessary rebuild, then reinstall &lt;br /&gt;
&lt;br /&gt;
===Configuration Time===&lt;br /&gt;
Within Terminal window, in ZoneMinder-1.22.2 directory&lt;br /&gt;
 ./configure --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --with-webgroup=www --with-webuser=wwwrun ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=zm&lt;br /&gt;
&lt;br /&gt;
===Configure MySQL===&lt;br /&gt;
&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory and Login to MySQL  (PW is blank)&lt;br /&gt;
 mysql -h localhost -u root -p &lt;br /&gt;
&lt;br /&gt;
Under MySQL prompt type &lt;br /&gt;
(Entering Each line will echo a bunch of lines, just ignore them)&lt;br /&gt;
 source db/zm_create.sql; grant select,insert,update,delete on zm.* to &amp;#039;zm&amp;#039;@localhost identified by &amp;#039;zm&amp;#039;; flush privileges; quit &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Compile ZoneMinder===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
Now compile and install this nice piece of software ! &lt;br /&gt;
 make &lt;br /&gt;
 sudo make install &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
===Configure ZoneMinder to be started at boot time===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
 su - &lt;br /&gt;
 # from zoneminder source directory &lt;br /&gt;
 cp scripts/zm /etc/rc.d cd /etc/rc.d &lt;br /&gt;
 chmod +x zm &lt;br /&gt;
 cd rc5.d &lt;br /&gt;
 ln -s ../zm S99zm &lt;br /&gt;
 ln -s ../zm K00zm &lt;br /&gt;
&lt;br /&gt;
===Logoff and logon as root, or create a new session as root.===&lt;br /&gt;
&lt;br /&gt;
;Edit /etc/rc.d/zm with your favorite text editor (kwrite ?)&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;remove&amp;#039;&amp;#039;&amp;#039; the line related to include functions &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_success by echo success &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_failure by echo failure &lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;save&amp;#039;&amp;#039;&amp;#039; the changes (ie :x!)&lt;br /&gt;
&lt;br /&gt;
===Minor changes in the htdocs folder===&lt;br /&gt;
Copy the /srv/www/htdocs/zm.php  file on top of the /srv/www/htdocs/index.php file. &amp;lt;br&amp;gt;  Rename or delete the /srv/www/htdocs/index.html file&lt;br /&gt;
&lt;br /&gt;
===Deal with the Shared Memory problem=== &lt;br /&gt;
Add the following lines to your /etc/sysctl.conf file: &lt;br /&gt;
(I chose 256,000,000 because my cams are 640x480)&lt;br /&gt;
 # Memory modifications for ZoneMinder&lt;br /&gt;
 kernel.shmall = 256000000 &lt;br /&gt;
 kernel.shmmax = 256000000 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Now you can reboot your computer to apply changes&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Well we are at the end of the process...&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
Start all servers if they are not already started when you boot your computer : &lt;br /&gt;
From within a Terminal window&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
 sudo zmpkg.pl start &lt;br /&gt;
&lt;br /&gt;
Now open your web browser and point to http://localhost/&lt;br /&gt;
If that doesn’t work, try http://localhost/zm.php&lt;br /&gt;
&lt;br /&gt;
===Create your monitor and start playing=== &lt;br /&gt;
&lt;br /&gt;
Here are some options I use when configuring a monitor for my Axis IP camera at 640x480, color.:&lt;br /&gt;
&lt;br /&gt;
;Under the General Tab&lt;br /&gt;
:*Source Type = Remote&lt;br /&gt;
:*Function = Modetect&lt;br /&gt;
:*Enabled = Checked&lt;br /&gt;
:*Linked Monitors = (leave it blank)&lt;br /&gt;
:*Maximum FPS = 4.0&lt;br /&gt;
:*Alarm Maximum FPS = 8.0&lt;br /&gt;
&lt;br /&gt;
;Under the Source Tab&lt;br /&gt;
:*Remote host name = IP of camera (i.e. 192.168.3.2)&lt;br /&gt;
:*Remote Host Port = 80&lt;br /&gt;
:*Remote Host Path = /axis-cgi/jpg/image.cgi?resolution=640x480&lt;br /&gt;
:*Remote Image Colours = 24 bit colour&lt;br /&gt;
:*Capture Width = 640&lt;br /&gt;
:*Capture Height = 480&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to utilize mpeg instead of jpeg, use this for the host path: &amp;lt;br&amp;gt;&lt;br /&gt;
Remote Host Path = /axis-cgi/mjpg/video.cgi?&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Information:&lt;br /&gt;
:ZoneMinder Logs are in /tmp &lt;br /&gt;
:zmaudit.log &lt;br /&gt;
:zmupdate.log &lt;br /&gt;
:zmwatch.log =&amp;gt; take attention to this one because the shared memory problem is reported here &lt;br /&gt;
:zmpkg.log &lt;br /&gt;
:zmdc.log &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Apache2 Logs are in /var/logs&lt;/div&gt;</summary>
		<author><name>BarryH</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1730</id>
		<title>SuSE 10.1 and ZoneMinder</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1730"/>
		<updated>2006-10-12T16:25:40Z</updated>

		<summary type="html">&lt;p&gt;BarryH: /* Logoff and logon as root, or create a new session as root. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=MsoNormal&amp;gt;&amp;lt;span class=name1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;mso-bidi-font-size:8.5pt;font-family:Verdana&amp;#039;&amp;gt;Dgsconseil was kind enough to write a&amp;lt;b&amp;gt; &amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
class=postbody1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;step-by-step&lt;br /&gt;
newbie kit to install ZoneMinder under &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
10.0 OSS.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;   &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;I copied it and modified it to for&lt;br /&gt;
SuSE 10.1 with a GUI and the KDE.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=postbody1&amp;gt;This is only a short How-To on how I installed SuSE and&lt;br /&gt;
ZoneMinder software on &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; 10.1 OSS,&lt;br /&gt;
it is not intended to be a reference because I do not specify any of the&lt;br /&gt;
security rules or optimizations needed for a production server.&amp;lt;span&lt;br /&gt;
style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;I just specify the main steps to get Zone&lt;br /&gt;
Minder Running. &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;By the&lt;br /&gt;
way, this is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; the smallest installation possible.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It’s just what I used and it worked.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It seemed that if I skipped any of the additional packages, I’d&lt;br /&gt;
run into trouble.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fresh install SuSE 10.1 OSS (CD install)===&lt;br /&gt;
Base installation with KDE Desktop and additional packages&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Software Packages chosen during install:&lt;br /&gt;
:*Graphical Base system&lt;br /&gt;
:*KDE Desktop Environment&lt;br /&gt;
:*All of KDE&lt;br /&gt;
:*Help and Supports Docs&lt;br /&gt;
:*Office applications&lt;br /&gt;
:*Multimedia&lt;br /&gt;
:*Simple Web Server with Apache2&lt;br /&gt;
:*LDAP Server and Tools&lt;br /&gt;
:*Network and Server&lt;br /&gt;
:*C/C++ Complier and Tools&lt;br /&gt;
:*Kernel Development&lt;br /&gt;
:*KDE Development&lt;br /&gt;
:*TCL/TK development system&lt;br /&gt;
:*Java&lt;br /&gt;
:*Experienced user&lt;br /&gt;
:*LaTex, SGML and XML&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;If using the firewall, add HTTP Server to the Allowed Services list, if you want to access ZoneMinder with a web browser.&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Once the Installation is finished, open the YAST control center.  (Under System)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;If you have an internet connection - In YAST, add packman as an http installation source(used to install ffmpeg)&lt;br /&gt;
:Type : HTTP &lt;br /&gt;
:Server : packman.unixheads.com &lt;br /&gt;
:Path : suse/10.1&lt;br /&gt;
&lt;br /&gt;
=== Go into YAST Software Management ===&lt;br /&gt;
&lt;br /&gt;
;Verify that these packages are installed, Install any that are missing  (Enter each name in Search box)&lt;br /&gt;
&lt;br /&gt;
:*apache2&lt;br /&gt;
:*apache2-worker  &lt;br /&gt;
:*apache2-mod_perl &lt;br /&gt;
:*apache2-mod_php5 &lt;br /&gt;
:*apache2-mod-apparmor&lt;br /&gt;
:*php5 &lt;br /&gt;
:*mysql &lt;br /&gt;
:*mysql-devel &lt;br /&gt;
:*gcc &lt;br /&gt;
:*gcc-c++ &lt;br /&gt;
:*libmpeg2&lt;br /&gt;
:*libmpeg2-devel &lt;br /&gt;
:*ffmpeg&lt;br /&gt;
:*libffmpeg0&lt;br /&gt;
:*libffmpeg0-devel&lt;br /&gt;
:*libjpeg&lt;br /&gt;
:*libjpeg-devel&lt;br /&gt;
:*pcre-devel &lt;br /&gt;
:*xawtv  &lt;br /&gt;
:*openssl-devel&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Updating perl CPANand installing perl packages=== &lt;br /&gt;
I&amp;#039;ve done all off the perl related installation under user root because of problems with cpan packages installation.  It seems like a slow process, have patience.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window:&lt;br /&gt;
 perl -MCPAN -e shell &lt;br /&gt;
 install Bundle::CPAN &lt;br /&gt;
 reload CPAN &lt;br /&gt;
 install Archive::Tar (seems to be  optional =&amp;gt; depend on the way you install yourdistro)&lt;br /&gt;
 install Archive::Zip (seems to be optional =&amp;gt; depend on the way you install yourdistro)  &lt;br /&gt;
 install MIME::Lite &lt;br /&gt;
 install MIME::Tools &lt;br /&gt;
 install DateTime &lt;br /&gt;
 install Date::Manip updated 2006-03-04 thanx to mickecarlsson &lt;br /&gt;
 install Bundle::libnet &lt;br /&gt;
 install Device::SerialPort &lt;br /&gt;
 install Astro::SunTime Updated 2006 03 24 correct spelling error on SunTime (thanx to mickecarlsson) &lt;br /&gt;
 install X10 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Configure servers to be started at boot time===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 su - &lt;br /&gt;
 cd /etc/rc.d/rc5.d &lt;br /&gt;
 ln -s ../apache2 S98apache2 &lt;br /&gt;
 ln -s ../apache2 K01apache2 &lt;br /&gt;
 ln -s ../mysql S98mysql &lt;br /&gt;
 ln -s ../mysql K01mysql&lt;br /&gt;
&lt;br /&gt;
===Start servers manually===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
&lt;br /&gt;
===Downloading and installing latest Zoneminder release (v1.22.2) :=== &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Download and save ZoneMinder tarball from:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
http://www2.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Extract tarball&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window, inside directory that ZoneMinder download was saved to&lt;br /&gt;
 tar zxvf ZoneMinder-1.22.2.tar.gz &lt;br /&gt;
 cd ZoneMinder-1.22.2 &lt;br /&gt;
&lt;br /&gt;
===Download and apply the v1.22.2 patch for ffmpeg from Wiki===&lt;br /&gt;
http://www.zoneminder.com/wiki/index.php/1.22.2_Patches&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;To apply the patch you should do the following&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:* Download the patch and move a copy to your ZoneMinder build directory &lt;br /&gt;
:* Open a command shell (terminal window)&lt;br /&gt;
:* Change directory to your ZoneMinder build directory &lt;br /&gt;
:* Apply the patch by typing &lt;br /&gt;
:patch -p0 &amp;lt; zm-1.22.2-ffmpeg.patch&lt;br /&gt;
:* Check that the patch is applied correctly and you do not get any rejects &lt;br /&gt;
:* If necessary rebuild, then reinstall &lt;br /&gt;
&lt;br /&gt;
===Configuration Time===&lt;br /&gt;
Within Terminal window, in ZoneMinder-1.22.2 directory&lt;br /&gt;
 ./configure --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --with-webgroup=www --with-webuser=wwwrun ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=zm&lt;br /&gt;
&lt;br /&gt;
===Configure MySQL===&lt;br /&gt;
&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory and Login to MySQL  (PW is blank)&lt;br /&gt;
 mysql -h localhost -u root -p &lt;br /&gt;
&lt;br /&gt;
Under MySQL prompt type &lt;br /&gt;
(Entering Each line will echo a bunch of lines, just ignore them)&lt;br /&gt;
 source db/zm_create.sql; grant select,insert,update,delete on zm.* to &amp;#039;zm&amp;#039;@localhost identified by &amp;#039;zm&amp;#039;; flush privileges; quit &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Compile ZoneMinder===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
Now compile and install this nice piece of software ! &lt;br /&gt;
 make &lt;br /&gt;
 sudo make install &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
===Configure ZoneMinder to be started at boot time===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
 su - &lt;br /&gt;
 # from zoneminder source directory &lt;br /&gt;
 cp scripts/zm /etc/rc.d cd /etc/rc.d &lt;br /&gt;
 chmod +x zm &lt;br /&gt;
 cd rc5.d &lt;br /&gt;
 ln -s ../zm S99zm &lt;br /&gt;
 ln -s ../zm K00zm &lt;br /&gt;
&lt;br /&gt;
===Logoff and logon as root, or create a new session as root.===&lt;br /&gt;
&lt;br /&gt;
Edit /etc/rc.d/zm with your favorite text editor (kwrite ?)&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;remove&amp;#039;&amp;#039;&amp;#039; the line related to include functions &lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_success by echo success &lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_failure by echo failure &lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;save&amp;#039;&amp;#039;&amp;#039; the changes (ie :x!)&lt;br /&gt;
&lt;br /&gt;
===Minor changes in the htdocs folder===&lt;br /&gt;
Copy the /srv/www/htdocs/zm.php  file on top of the /srv/www/htdocs/index.php file. &amp;lt;br&amp;gt;  Rename or delete the /srv/www/htdocs/index.html file&lt;br /&gt;
&lt;br /&gt;
===Deal with the Shared Memory problem=== &lt;br /&gt;
Add the following lines to your /etc/sysctl.conf file: &lt;br /&gt;
(I chose 256,000,000 because my cams are 640x480)&lt;br /&gt;
 # Memory modifications for ZoneMinder&lt;br /&gt;
 kernel.shmall = 256000000 &lt;br /&gt;
 kernel.shmmax = 256000000 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Now you can reboot your computer to apply changes&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Well we are at the end of the process...&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
Start all servers if they are not already started when you boot your computer : &lt;br /&gt;
From within a Terminal window&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
 sudo zmpkg.pl start &lt;br /&gt;
&lt;br /&gt;
Now open your web browser and point to http://localhost/&lt;br /&gt;
If that doesn’t work, try http://localhost/zm.php&lt;br /&gt;
&lt;br /&gt;
===Create your monitor and start playing=== &lt;br /&gt;
&lt;br /&gt;
Here are some options I use when configuring a monitor for my Axis IP camera at 640x480, color.:&lt;br /&gt;
&lt;br /&gt;
;Under the General Tab&lt;br /&gt;
:*Source Type = Remote&lt;br /&gt;
:*Function = Modetect&lt;br /&gt;
:*Enabled = Checked&lt;br /&gt;
:*Linked Monitors = (leave it blank)&lt;br /&gt;
:*Maximum FPS = 4.0&lt;br /&gt;
:*Alarm Maximum FPS = 8.0&lt;br /&gt;
&lt;br /&gt;
;Under the Source Tab&lt;br /&gt;
:*Remote host name = IP of camera (i.e. 192.168.3.2)&lt;br /&gt;
:*Remote Host Port = 80&lt;br /&gt;
:*Remote Host Path = /axis-cgi/jpg/image.cgi?resolution=640x480&lt;br /&gt;
:*Remote Image Colours = 24 bit colour&lt;br /&gt;
:*Capture Width = 640&lt;br /&gt;
:*Capture Height = 480&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to utilize mpeg instead of jpeg, use this for the host path: &amp;lt;br&amp;gt;&lt;br /&gt;
Remote Host Path = /axis-cgi/mjpg/video.cgi?&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Information:&lt;br /&gt;
:ZoneMinder Logs are in /tmp &lt;br /&gt;
:zmaudit.log &lt;br /&gt;
:zmupdate.log &lt;br /&gt;
:zmwatch.log =&amp;gt; take attention to this one because the shared memory problem is reported here &lt;br /&gt;
:zmpkg.log &lt;br /&gt;
:zmdc.log &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Apache2 Logs are in /var/logs&lt;/div&gt;</summary>
		<author><name>BarryH</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1729</id>
		<title>SuSE 10.1 and ZoneMinder</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1729"/>
		<updated>2006-10-12T16:24:51Z</updated>

		<summary type="html">&lt;p&gt;BarryH: /* Edit /etc/rc.d/zm with your favorite text editor (kwrite ?) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=MsoNormal&amp;gt;&amp;lt;span class=name1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;mso-bidi-font-size:8.5pt;font-family:Verdana&amp;#039;&amp;gt;Dgsconseil was kind enough to write a&amp;lt;b&amp;gt; &amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
class=postbody1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;step-by-step&lt;br /&gt;
newbie kit to install ZoneMinder under &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
10.0 OSS.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;   &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;I copied it and modified it to for&lt;br /&gt;
SuSE 10.1 with a GUI and the KDE.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=postbody1&amp;gt;This is only a short How-To on how I installed SuSE and&lt;br /&gt;
ZoneMinder software on &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; 10.1 OSS,&lt;br /&gt;
it is not intended to be a reference because I do not specify any of the&lt;br /&gt;
security rules or optimizations needed for a production server.&amp;lt;span&lt;br /&gt;
style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;I just specify the main steps to get Zone&lt;br /&gt;
Minder Running. &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;By the&lt;br /&gt;
way, this is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; the smallest installation possible.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It’s just what I used and it worked.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It seemed that if I skipped any of the additional packages, I’d&lt;br /&gt;
run into trouble.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fresh install SuSE 10.1 OSS (CD install)===&lt;br /&gt;
Base installation with KDE Desktop and additional packages&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Software Packages chosen during install:&lt;br /&gt;
:*Graphical Base system&lt;br /&gt;
:*KDE Desktop Environment&lt;br /&gt;
:*All of KDE&lt;br /&gt;
:*Help and Supports Docs&lt;br /&gt;
:*Office applications&lt;br /&gt;
:*Multimedia&lt;br /&gt;
:*Simple Web Server with Apache2&lt;br /&gt;
:*LDAP Server and Tools&lt;br /&gt;
:*Network and Server&lt;br /&gt;
:*C/C++ Complier and Tools&lt;br /&gt;
:*Kernel Development&lt;br /&gt;
:*KDE Development&lt;br /&gt;
:*TCL/TK development system&lt;br /&gt;
:*Java&lt;br /&gt;
:*Experienced user&lt;br /&gt;
:*LaTex, SGML and XML&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;If using the firewall, add HTTP Server to the Allowed Services list, if you want to access ZoneMinder with a web browser.&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Once the Installation is finished, open the YAST control center.  (Under System)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;If you have an internet connection - In YAST, add packman as an http installation source(used to install ffmpeg)&lt;br /&gt;
:Type : HTTP &lt;br /&gt;
:Server : packman.unixheads.com &lt;br /&gt;
:Path : suse/10.1&lt;br /&gt;
&lt;br /&gt;
=== Go into YAST Software Management ===&lt;br /&gt;
&lt;br /&gt;
;Verify that these packages are installed, Install any that are missing  (Enter each name in Search box)&lt;br /&gt;
&lt;br /&gt;
:*apache2&lt;br /&gt;
:*apache2-worker  &lt;br /&gt;
:*apache2-mod_perl &lt;br /&gt;
:*apache2-mod_php5 &lt;br /&gt;
:*apache2-mod-apparmor&lt;br /&gt;
:*php5 &lt;br /&gt;
:*mysql &lt;br /&gt;
:*mysql-devel &lt;br /&gt;
:*gcc &lt;br /&gt;
:*gcc-c++ &lt;br /&gt;
:*libmpeg2&lt;br /&gt;
:*libmpeg2-devel &lt;br /&gt;
:*ffmpeg&lt;br /&gt;
:*libffmpeg0&lt;br /&gt;
:*libffmpeg0-devel&lt;br /&gt;
:*libjpeg&lt;br /&gt;
:*libjpeg-devel&lt;br /&gt;
:*pcre-devel &lt;br /&gt;
:*xawtv  &lt;br /&gt;
:*openssl-devel&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Updating perl CPANand installing perl packages=== &lt;br /&gt;
I&amp;#039;ve done all off the perl related installation under user root because of problems with cpan packages installation.  It seems like a slow process, have patience.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window:&lt;br /&gt;
 perl -MCPAN -e shell &lt;br /&gt;
 install Bundle::CPAN &lt;br /&gt;
 reload CPAN &lt;br /&gt;
 install Archive::Tar (seems to be  optional =&amp;gt; depend on the way you install yourdistro)&lt;br /&gt;
 install Archive::Zip (seems to be optional =&amp;gt; depend on the way you install yourdistro)  &lt;br /&gt;
 install MIME::Lite &lt;br /&gt;
 install MIME::Tools &lt;br /&gt;
 install DateTime &lt;br /&gt;
 install Date::Manip updated 2006-03-04 thanx to mickecarlsson &lt;br /&gt;
 install Bundle::libnet &lt;br /&gt;
 install Device::SerialPort &lt;br /&gt;
 install Astro::SunTime Updated 2006 03 24 correct spelling error on SunTime (thanx to mickecarlsson) &lt;br /&gt;
 install X10 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Configure servers to be started at boot time===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 su - &lt;br /&gt;
 cd /etc/rc.d/rc5.d &lt;br /&gt;
 ln -s ../apache2 S98apache2 &lt;br /&gt;
 ln -s ../apache2 K01apache2 &lt;br /&gt;
 ln -s ../mysql S98mysql &lt;br /&gt;
 ln -s ../mysql K01mysql&lt;br /&gt;
&lt;br /&gt;
===Start servers manually===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
&lt;br /&gt;
===Downloading and installing latest Zoneminder release (v1.22.2) :=== &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Download and save ZoneMinder tarball from:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
http://www2.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Extract tarball&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window, inside directory that ZoneMinder download was saved to&lt;br /&gt;
 tar zxvf ZoneMinder-1.22.2.tar.gz &lt;br /&gt;
 cd ZoneMinder-1.22.2 &lt;br /&gt;
&lt;br /&gt;
===Download and apply the v1.22.2 patch for ffmpeg from Wiki===&lt;br /&gt;
http://www.zoneminder.com/wiki/index.php/1.22.2_Patches&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;To apply the patch you should do the following&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:* Download the patch and move a copy to your ZoneMinder build directory &lt;br /&gt;
:* Open a command shell (terminal window)&lt;br /&gt;
:* Change directory to your ZoneMinder build directory &lt;br /&gt;
:* Apply the patch by typing &lt;br /&gt;
:patch -p0 &amp;lt; zm-1.22.2-ffmpeg.patch&lt;br /&gt;
:* Check that the patch is applied correctly and you do not get any rejects &lt;br /&gt;
:* If necessary rebuild, then reinstall &lt;br /&gt;
&lt;br /&gt;
===Configuration Time===&lt;br /&gt;
Within Terminal window, in ZoneMinder-1.22.2 directory&lt;br /&gt;
 ./configure --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --with-webgroup=www --with-webuser=wwwrun ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=zm&lt;br /&gt;
&lt;br /&gt;
===Configure MySQL===&lt;br /&gt;
&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory and Login to MySQL  (PW is blank)&lt;br /&gt;
 mysql -h localhost -u root -p &lt;br /&gt;
&lt;br /&gt;
Under MySQL prompt type &lt;br /&gt;
(Entering Each line will echo a bunch of lines, just ignore them)&lt;br /&gt;
 source db/zm_create.sql; grant select,insert,update,delete on zm.* to &amp;#039;zm&amp;#039;@localhost identified by &amp;#039;zm&amp;#039;; flush privileges; quit &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Compile ZoneMinder===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
Now compile and install this nice piece of software ! &lt;br /&gt;
 make &lt;br /&gt;
 sudo make install &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
===Configure ZoneMinder to be started at boot time===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
 su - &lt;br /&gt;
 # from zoneminder source directory &lt;br /&gt;
 cp scripts/zm /etc/rc.d cd /etc/rc.d &lt;br /&gt;
 chmod +x zm &lt;br /&gt;
 cd rc5.d &lt;br /&gt;
 ln -s ../zm S99zm &lt;br /&gt;
 ln -s ../zm K00zm &lt;br /&gt;
&lt;br /&gt;
===Logoff and logon as root, or create a new session as root.===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Edit /etc/rc.d/zm with your favorite text editor (kwrite ?)&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;remove&amp;#039;&amp;#039;&amp;#039; the line related to include functions &lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_success by echo success &lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_failure by echo failure &lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;save&amp;#039;&amp;#039;&amp;#039; the changes (ie :x!)&lt;br /&gt;
&lt;br /&gt;
===Minor changes in the htdocs folder===&lt;br /&gt;
Copy the /srv/www/htdocs/zm.php  file on top of the /srv/www/htdocs/index.php file. &amp;lt;br&amp;gt;  Rename or delete the /srv/www/htdocs/index.html file&lt;br /&gt;
&lt;br /&gt;
===Deal with the Shared Memory problem=== &lt;br /&gt;
Add the following lines to your /etc/sysctl.conf file: &lt;br /&gt;
(I chose 256,000,000 because my cams are 640x480)&lt;br /&gt;
 # Memory modifications for ZoneMinder&lt;br /&gt;
 kernel.shmall = 256000000 &lt;br /&gt;
 kernel.shmmax = 256000000 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Now you can reboot your computer to apply changes&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Well we are at the end of the process...&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
Start all servers if they are not already started when you boot your computer : &lt;br /&gt;
From within a Terminal window&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
 sudo zmpkg.pl start &lt;br /&gt;
&lt;br /&gt;
Now open your web browser and point to http://localhost/&lt;br /&gt;
If that doesn’t work, try http://localhost/zm.php&lt;br /&gt;
&lt;br /&gt;
===Create your monitor and start playing=== &lt;br /&gt;
&lt;br /&gt;
Here are some options I use when configuring a monitor for my Axis IP camera at 640x480, color.:&lt;br /&gt;
&lt;br /&gt;
;Under the General Tab&lt;br /&gt;
:*Source Type = Remote&lt;br /&gt;
:*Function = Modetect&lt;br /&gt;
:*Enabled = Checked&lt;br /&gt;
:*Linked Monitors = (leave it blank)&lt;br /&gt;
:*Maximum FPS = 4.0&lt;br /&gt;
:*Alarm Maximum FPS = 8.0&lt;br /&gt;
&lt;br /&gt;
;Under the Source Tab&lt;br /&gt;
:*Remote host name = IP of camera (i.e. 192.168.3.2)&lt;br /&gt;
:*Remote Host Port = 80&lt;br /&gt;
:*Remote Host Path = /axis-cgi/jpg/image.cgi?resolution=640x480&lt;br /&gt;
:*Remote Image Colours = 24 bit colour&lt;br /&gt;
:*Capture Width = 640&lt;br /&gt;
:*Capture Height = 480&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to utilize mpeg instead of jpeg, use this for the host path: &amp;lt;br&amp;gt;&lt;br /&gt;
Remote Host Path = /axis-cgi/mjpg/video.cgi?&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Information:&lt;br /&gt;
:ZoneMinder Logs are in /tmp &lt;br /&gt;
:zmaudit.log &lt;br /&gt;
:zmupdate.log &lt;br /&gt;
:zmwatch.log =&amp;gt; take attention to this one because the shared memory problem is reported here &lt;br /&gt;
:zmpkg.log &lt;br /&gt;
:zmdc.log &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Apache2 Logs are in /var/logs&lt;/div&gt;</summary>
		<author><name>BarryH</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1728</id>
		<title>SuSE 10.1 and ZoneMinder</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1728"/>
		<updated>2006-10-12T16:24:35Z</updated>

		<summary type="html">&lt;p&gt;BarryH: /* Configure ZoneMinder to be started at boot time */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=MsoNormal&amp;gt;&amp;lt;span class=name1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;mso-bidi-font-size:8.5pt;font-family:Verdana&amp;#039;&amp;gt;Dgsconseil was kind enough to write a&amp;lt;b&amp;gt; &amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
class=postbody1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;step-by-step&lt;br /&gt;
newbie kit to install ZoneMinder under &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
10.0 OSS.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;   &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;I copied it and modified it to for&lt;br /&gt;
SuSE 10.1 with a GUI and the KDE.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=postbody1&amp;gt;This is only a short How-To on how I installed SuSE and&lt;br /&gt;
ZoneMinder software on &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; 10.1 OSS,&lt;br /&gt;
it is not intended to be a reference because I do not specify any of the&lt;br /&gt;
security rules or optimizations needed for a production server.&amp;lt;span&lt;br /&gt;
style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;I just specify the main steps to get Zone&lt;br /&gt;
Minder Running. &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;By the&lt;br /&gt;
way, this is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; the smallest installation possible.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It’s just what I used and it worked.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It seemed that if I skipped any of the additional packages, I’d&lt;br /&gt;
run into trouble.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fresh install SuSE 10.1 OSS (CD install)===&lt;br /&gt;
Base installation with KDE Desktop and additional packages&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Software Packages chosen during install:&lt;br /&gt;
:*Graphical Base system&lt;br /&gt;
:*KDE Desktop Environment&lt;br /&gt;
:*All of KDE&lt;br /&gt;
:*Help and Supports Docs&lt;br /&gt;
:*Office applications&lt;br /&gt;
:*Multimedia&lt;br /&gt;
:*Simple Web Server with Apache2&lt;br /&gt;
:*LDAP Server and Tools&lt;br /&gt;
:*Network and Server&lt;br /&gt;
:*C/C++ Complier and Tools&lt;br /&gt;
:*Kernel Development&lt;br /&gt;
:*KDE Development&lt;br /&gt;
:*TCL/TK development system&lt;br /&gt;
:*Java&lt;br /&gt;
:*Experienced user&lt;br /&gt;
:*LaTex, SGML and XML&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;If using the firewall, add HTTP Server to the Allowed Services list, if you want to access ZoneMinder with a web browser.&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Once the Installation is finished, open the YAST control center.  (Under System)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;If you have an internet connection - In YAST, add packman as an http installation source(used to install ffmpeg)&lt;br /&gt;
:Type : HTTP &lt;br /&gt;
:Server : packman.unixheads.com &lt;br /&gt;
:Path : suse/10.1&lt;br /&gt;
&lt;br /&gt;
=== Go into YAST Software Management ===&lt;br /&gt;
&lt;br /&gt;
;Verify that these packages are installed, Install any that are missing  (Enter each name in Search box)&lt;br /&gt;
&lt;br /&gt;
:*apache2&lt;br /&gt;
:*apache2-worker  &lt;br /&gt;
:*apache2-mod_perl &lt;br /&gt;
:*apache2-mod_php5 &lt;br /&gt;
:*apache2-mod-apparmor&lt;br /&gt;
:*php5 &lt;br /&gt;
:*mysql &lt;br /&gt;
:*mysql-devel &lt;br /&gt;
:*gcc &lt;br /&gt;
:*gcc-c++ &lt;br /&gt;
:*libmpeg2&lt;br /&gt;
:*libmpeg2-devel &lt;br /&gt;
:*ffmpeg&lt;br /&gt;
:*libffmpeg0&lt;br /&gt;
:*libffmpeg0-devel&lt;br /&gt;
:*libjpeg&lt;br /&gt;
:*libjpeg-devel&lt;br /&gt;
:*pcre-devel &lt;br /&gt;
:*xawtv  &lt;br /&gt;
:*openssl-devel&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Updating perl CPANand installing perl packages=== &lt;br /&gt;
I&amp;#039;ve done all off the perl related installation under user root because of problems with cpan packages installation.  It seems like a slow process, have patience.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window:&lt;br /&gt;
 perl -MCPAN -e shell &lt;br /&gt;
 install Bundle::CPAN &lt;br /&gt;
 reload CPAN &lt;br /&gt;
 install Archive::Tar (seems to be  optional =&amp;gt; depend on the way you install yourdistro)&lt;br /&gt;
 install Archive::Zip (seems to be optional =&amp;gt; depend on the way you install yourdistro)  &lt;br /&gt;
 install MIME::Lite &lt;br /&gt;
 install MIME::Tools &lt;br /&gt;
 install DateTime &lt;br /&gt;
 install Date::Manip updated 2006-03-04 thanx to mickecarlsson &lt;br /&gt;
 install Bundle::libnet &lt;br /&gt;
 install Device::SerialPort &lt;br /&gt;
 install Astro::SunTime Updated 2006 03 24 correct spelling error on SunTime (thanx to mickecarlsson) &lt;br /&gt;
 install X10 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Configure servers to be started at boot time===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 su - &lt;br /&gt;
 cd /etc/rc.d/rc5.d &lt;br /&gt;
 ln -s ../apache2 S98apache2 &lt;br /&gt;
 ln -s ../apache2 K01apache2 &lt;br /&gt;
 ln -s ../mysql S98mysql &lt;br /&gt;
 ln -s ../mysql K01mysql&lt;br /&gt;
&lt;br /&gt;
===Start servers manually===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
&lt;br /&gt;
===Downloading and installing latest Zoneminder release (v1.22.2) :=== &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Download and save ZoneMinder tarball from:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
http://www2.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Extract tarball&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window, inside directory that ZoneMinder download was saved to&lt;br /&gt;
 tar zxvf ZoneMinder-1.22.2.tar.gz &lt;br /&gt;
 cd ZoneMinder-1.22.2 &lt;br /&gt;
&lt;br /&gt;
===Download and apply the v1.22.2 patch for ffmpeg from Wiki===&lt;br /&gt;
http://www.zoneminder.com/wiki/index.php/1.22.2_Patches&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;To apply the patch you should do the following&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:* Download the patch and move a copy to your ZoneMinder build directory &lt;br /&gt;
:* Open a command shell (terminal window)&lt;br /&gt;
:* Change directory to your ZoneMinder build directory &lt;br /&gt;
:* Apply the patch by typing &lt;br /&gt;
:patch -p0 &amp;lt; zm-1.22.2-ffmpeg.patch&lt;br /&gt;
:* Check that the patch is applied correctly and you do not get any rejects &lt;br /&gt;
:* If necessary rebuild, then reinstall &lt;br /&gt;
&lt;br /&gt;
===Configuration Time===&lt;br /&gt;
Within Terminal window, in ZoneMinder-1.22.2 directory&lt;br /&gt;
 ./configure --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --with-webgroup=www --with-webuser=wwwrun ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=zm&lt;br /&gt;
&lt;br /&gt;
===Configure MySQL===&lt;br /&gt;
&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory and Login to MySQL  (PW is blank)&lt;br /&gt;
 mysql -h localhost -u root -p &lt;br /&gt;
&lt;br /&gt;
Under MySQL prompt type &lt;br /&gt;
(Entering Each line will echo a bunch of lines, just ignore them)&lt;br /&gt;
 source db/zm_create.sql; grant select,insert,update,delete on zm.* to &amp;#039;zm&amp;#039;@localhost identified by &amp;#039;zm&amp;#039;; flush privileges; quit &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Compile ZoneMinder===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
Now compile and install this nice piece of software ! &lt;br /&gt;
 make &lt;br /&gt;
 sudo make install &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
===Configure ZoneMinder to be started at boot time===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
 su - &lt;br /&gt;
 # from zoneminder source directory &lt;br /&gt;
 cp scripts/zm /etc/rc.d cd /etc/rc.d &lt;br /&gt;
 chmod +x zm &lt;br /&gt;
 cd rc5.d &lt;br /&gt;
 ln -s ../zm S99zm &lt;br /&gt;
 ln -s ../zm K00zm &lt;br /&gt;
&lt;br /&gt;
===Logoff and logon as root, or create a new session as root.===&lt;br /&gt;
&lt;br /&gt;
===Edit /etc/rc.d/zm with your favorite text editor (kwrite ?)=== &lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;remove&amp;#039;&amp;#039;&amp;#039; the line related to include functions &lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_success by echo success &lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_failure by echo failure &lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;save&amp;#039;&amp;#039;&amp;#039; the changes (ie :x!) &lt;br /&gt;
&lt;br /&gt;
===Minor changes in the htdocs folder===&lt;br /&gt;
Copy the /srv/www/htdocs/zm.php  file on top of the /srv/www/htdocs/index.php file. &amp;lt;br&amp;gt;  Rename or delete the /srv/www/htdocs/index.html file&lt;br /&gt;
&lt;br /&gt;
===Deal with the Shared Memory problem=== &lt;br /&gt;
Add the following lines to your /etc/sysctl.conf file: &lt;br /&gt;
(I chose 256,000,000 because my cams are 640x480)&lt;br /&gt;
 # Memory modifications for ZoneMinder&lt;br /&gt;
 kernel.shmall = 256000000 &lt;br /&gt;
 kernel.shmmax = 256000000 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Now you can reboot your computer to apply changes&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Well we are at the end of the process...&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
Start all servers if they are not already started when you boot your computer : &lt;br /&gt;
From within a Terminal window&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
 sudo zmpkg.pl start &lt;br /&gt;
&lt;br /&gt;
Now open your web browser and point to http://localhost/&lt;br /&gt;
If that doesn’t work, try http://localhost/zm.php&lt;br /&gt;
&lt;br /&gt;
===Create your monitor and start playing=== &lt;br /&gt;
&lt;br /&gt;
Here are some options I use when configuring a monitor for my Axis IP camera at 640x480, color.:&lt;br /&gt;
&lt;br /&gt;
;Under the General Tab&lt;br /&gt;
:*Source Type = Remote&lt;br /&gt;
:*Function = Modetect&lt;br /&gt;
:*Enabled = Checked&lt;br /&gt;
:*Linked Monitors = (leave it blank)&lt;br /&gt;
:*Maximum FPS = 4.0&lt;br /&gt;
:*Alarm Maximum FPS = 8.0&lt;br /&gt;
&lt;br /&gt;
;Under the Source Tab&lt;br /&gt;
:*Remote host name = IP of camera (i.e. 192.168.3.2)&lt;br /&gt;
:*Remote Host Port = 80&lt;br /&gt;
:*Remote Host Path = /axis-cgi/jpg/image.cgi?resolution=640x480&lt;br /&gt;
:*Remote Image Colours = 24 bit colour&lt;br /&gt;
:*Capture Width = 640&lt;br /&gt;
:*Capture Height = 480&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to utilize mpeg instead of jpeg, use this for the host path: &amp;lt;br&amp;gt;&lt;br /&gt;
Remote Host Path = /axis-cgi/mjpg/video.cgi?&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Information:&lt;br /&gt;
:ZoneMinder Logs are in /tmp &lt;br /&gt;
:zmaudit.log &lt;br /&gt;
:zmupdate.log &lt;br /&gt;
:zmwatch.log =&amp;gt; take attention to this one because the shared memory problem is reported here &lt;br /&gt;
:zmpkg.log &lt;br /&gt;
:zmdc.log &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Apache2 Logs are in /var/logs&lt;/div&gt;</summary>
		<author><name>BarryH</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1727</id>
		<title>SuSE 10.1 and ZoneMinder</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1727"/>
		<updated>2006-10-12T16:22:09Z</updated>

		<summary type="html">&lt;p&gt;BarryH: /* Download and apply the v1.22.2 patch for ffmpeg from Wiki */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=MsoNormal&amp;gt;&amp;lt;span class=name1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;mso-bidi-font-size:8.5pt;font-family:Verdana&amp;#039;&amp;gt;Dgsconseil was kind enough to write a&amp;lt;b&amp;gt; &amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
class=postbody1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;step-by-step&lt;br /&gt;
newbie kit to install ZoneMinder under &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
10.0 OSS.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;   &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;I copied it and modified it to for&lt;br /&gt;
SuSE 10.1 with a GUI and the KDE.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=postbody1&amp;gt;This is only a short How-To on how I installed SuSE and&lt;br /&gt;
ZoneMinder software on &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; 10.1 OSS,&lt;br /&gt;
it is not intended to be a reference because I do not specify any of the&lt;br /&gt;
security rules or optimizations needed for a production server.&amp;lt;span&lt;br /&gt;
style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;I just specify the main steps to get Zone&lt;br /&gt;
Minder Running. &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;By the&lt;br /&gt;
way, this is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; the smallest installation possible.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It’s just what I used and it worked.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It seemed that if I skipped any of the additional packages, I’d&lt;br /&gt;
run into trouble.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fresh install SuSE 10.1 OSS (CD install)===&lt;br /&gt;
Base installation with KDE Desktop and additional packages&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Software Packages chosen during install:&lt;br /&gt;
:*Graphical Base system&lt;br /&gt;
:*KDE Desktop Environment&lt;br /&gt;
:*All of KDE&lt;br /&gt;
:*Help and Supports Docs&lt;br /&gt;
:*Office applications&lt;br /&gt;
:*Multimedia&lt;br /&gt;
:*Simple Web Server with Apache2&lt;br /&gt;
:*LDAP Server and Tools&lt;br /&gt;
:*Network and Server&lt;br /&gt;
:*C/C++ Complier and Tools&lt;br /&gt;
:*Kernel Development&lt;br /&gt;
:*KDE Development&lt;br /&gt;
:*TCL/TK development system&lt;br /&gt;
:*Java&lt;br /&gt;
:*Experienced user&lt;br /&gt;
:*LaTex, SGML and XML&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;If using the firewall, add HTTP Server to the Allowed Services list, if you want to access ZoneMinder with a web browser.&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Once the Installation is finished, open the YAST control center.  (Under System)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;If you have an internet connection - In YAST, add packman as an http installation source(used to install ffmpeg)&lt;br /&gt;
:Type : HTTP &lt;br /&gt;
:Server : packman.unixheads.com &lt;br /&gt;
:Path : suse/10.1&lt;br /&gt;
&lt;br /&gt;
=== Go into YAST Software Management ===&lt;br /&gt;
&lt;br /&gt;
;Verify that these packages are installed, Install any that are missing  (Enter each name in Search box)&lt;br /&gt;
&lt;br /&gt;
:*apache2&lt;br /&gt;
:*apache2-worker  &lt;br /&gt;
:*apache2-mod_perl &lt;br /&gt;
:*apache2-mod_php5 &lt;br /&gt;
:*apache2-mod-apparmor&lt;br /&gt;
:*php5 &lt;br /&gt;
:*mysql &lt;br /&gt;
:*mysql-devel &lt;br /&gt;
:*gcc &lt;br /&gt;
:*gcc-c++ &lt;br /&gt;
:*libmpeg2&lt;br /&gt;
:*libmpeg2-devel &lt;br /&gt;
:*ffmpeg&lt;br /&gt;
:*libffmpeg0&lt;br /&gt;
:*libffmpeg0-devel&lt;br /&gt;
:*libjpeg&lt;br /&gt;
:*libjpeg-devel&lt;br /&gt;
:*pcre-devel &lt;br /&gt;
:*xawtv  &lt;br /&gt;
:*openssl-devel&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Updating perl CPANand installing perl packages=== &lt;br /&gt;
I&amp;#039;ve done all off the perl related installation under user root because of problems with cpan packages installation.  It seems like a slow process, have patience.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window:&lt;br /&gt;
 perl -MCPAN -e shell &lt;br /&gt;
 install Bundle::CPAN &lt;br /&gt;
 reload CPAN &lt;br /&gt;
 install Archive::Tar (seems to be  optional =&amp;gt; depend on the way you install yourdistro)&lt;br /&gt;
 install Archive::Zip (seems to be optional =&amp;gt; depend on the way you install yourdistro)  &lt;br /&gt;
 install MIME::Lite &lt;br /&gt;
 install MIME::Tools &lt;br /&gt;
 install DateTime &lt;br /&gt;
 install Date::Manip updated 2006-03-04 thanx to mickecarlsson &lt;br /&gt;
 install Bundle::libnet &lt;br /&gt;
 install Device::SerialPort &lt;br /&gt;
 install Astro::SunTime Updated 2006 03 24 correct spelling error on SunTime (thanx to mickecarlsson) &lt;br /&gt;
 install X10 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Configure servers to be started at boot time===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 su - &lt;br /&gt;
 cd /etc/rc.d/rc5.d &lt;br /&gt;
 ln -s ../apache2 S98apache2 &lt;br /&gt;
 ln -s ../apache2 K01apache2 &lt;br /&gt;
 ln -s ../mysql S98mysql &lt;br /&gt;
 ln -s ../mysql K01mysql&lt;br /&gt;
&lt;br /&gt;
===Start servers manually===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
&lt;br /&gt;
===Downloading and installing latest Zoneminder release (v1.22.2) :=== &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Download and save ZoneMinder tarball from:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
http://www2.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Extract tarball&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window, inside directory that ZoneMinder download was saved to&lt;br /&gt;
 tar zxvf ZoneMinder-1.22.2.tar.gz &lt;br /&gt;
 cd ZoneMinder-1.22.2 &lt;br /&gt;
&lt;br /&gt;
===Download and apply the v1.22.2 patch for ffmpeg from Wiki===&lt;br /&gt;
http://www.zoneminder.com/wiki/index.php/1.22.2_Patches&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;To apply the patch you should do the following&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:* Download the patch and move a copy to your ZoneMinder build directory &lt;br /&gt;
:* Open a command shell (terminal window)&lt;br /&gt;
:* Change directory to your ZoneMinder build directory &lt;br /&gt;
:* Apply the patch by typing &lt;br /&gt;
:patch -p0 &amp;lt; zm-1.22.2-ffmpeg.patch&lt;br /&gt;
:* Check that the patch is applied correctly and you do not get any rejects &lt;br /&gt;
:* If necessary rebuild, then reinstall &lt;br /&gt;
&lt;br /&gt;
===Configuration Time===&lt;br /&gt;
Within Terminal window, in ZoneMinder-1.22.2 directory&lt;br /&gt;
 ./configure --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --with-webgroup=www --with-webuser=wwwrun ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=zm&lt;br /&gt;
&lt;br /&gt;
===Configure MySQL===&lt;br /&gt;
&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory and Login to MySQL  (PW is blank)&lt;br /&gt;
 mysql -h localhost -u root -p &lt;br /&gt;
&lt;br /&gt;
Under MySQL prompt type &lt;br /&gt;
(Entering Each line will echo a bunch of lines, just ignore them)&lt;br /&gt;
 source db/zm_create.sql; grant select,insert,update,delete on zm.* to &amp;#039;zm&amp;#039;@localhost identified by &amp;#039;zm&amp;#039;; flush privileges; quit &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Compile ZoneMinder===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
Now compile and install this nice piece of software ! &lt;br /&gt;
 make &lt;br /&gt;
 sudo make install &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
===Configure ZoneMinder to be started at boot time===&lt;br /&gt;
Within a Terminal window, Make sure you’re in the ZoneMinder-1.22.2 directory &lt;br /&gt;
 su - &lt;br /&gt;
 # from zoneminder source directory &lt;br /&gt;
 cp scripts/zm /etc/rc.d cd /etc/rc.d &lt;br /&gt;
 chmod +x zm &lt;br /&gt;
 cd rc5.d &lt;br /&gt;
 ln -s ../zm S99zm &lt;br /&gt;
 ln -s ../zm K00zm &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Logoff and logon as root, or create a new session as root.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
===Edit /etc/rc.d/zm with your favorite text editor (kwrite ?)=== &lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;remove&amp;#039;&amp;#039;&amp;#039; the line related to include functions &lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_success by echo success &lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; all occurences of echo_failure by echo failure &lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;save&amp;#039;&amp;#039;&amp;#039; the changes (ie :x!) &lt;br /&gt;
&lt;br /&gt;
===Minor changes in the htdocs folder===&lt;br /&gt;
Copy the /srv/www/htdocs/zm.php  file on top of the /srv/www/htdocs/index.php file. &amp;lt;br&amp;gt;  Rename or delete the /srv/www/htdocs/index.html file&lt;br /&gt;
&lt;br /&gt;
===Deal with the Shared Memory problem=== &lt;br /&gt;
Add the following lines to your /etc/sysctl.conf file: &lt;br /&gt;
(I chose 256,000,000 because my cams are 640x480)&lt;br /&gt;
 # Memory modifications for ZoneMinder&lt;br /&gt;
 kernel.shmall = 256000000 &lt;br /&gt;
 kernel.shmmax = 256000000 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Now you can reboot your computer to apply changes&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Well we are at the end of the process...&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
Start all servers if they are not already started when you boot your computer : &lt;br /&gt;
From within a Terminal window&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
 sudo zmpkg.pl start &lt;br /&gt;
&lt;br /&gt;
Now open your web browser and point to http://localhost/&lt;br /&gt;
If that doesn’t work, try http://localhost/zm.php&lt;br /&gt;
&lt;br /&gt;
===Create your monitor and start playing=== &lt;br /&gt;
&lt;br /&gt;
Here are some options I use when configuring a monitor for my Axis IP camera at 640x480, color.:&lt;br /&gt;
&lt;br /&gt;
;Under the General Tab&lt;br /&gt;
:*Source Type = Remote&lt;br /&gt;
:*Function = Modetect&lt;br /&gt;
:*Enabled = Checked&lt;br /&gt;
:*Linked Monitors = (leave it blank)&lt;br /&gt;
:*Maximum FPS = 4.0&lt;br /&gt;
:*Alarm Maximum FPS = 8.0&lt;br /&gt;
&lt;br /&gt;
;Under the Source Tab&lt;br /&gt;
:*Remote host name = IP of camera (i.e. 192.168.3.2)&lt;br /&gt;
:*Remote Host Port = 80&lt;br /&gt;
:*Remote Host Path = /axis-cgi/jpg/image.cgi?resolution=640x480&lt;br /&gt;
:*Remote Image Colours = 24 bit colour&lt;br /&gt;
:*Capture Width = 640&lt;br /&gt;
:*Capture Height = 480&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to utilize mpeg instead of jpeg, use this for the host path: &amp;lt;br&amp;gt;&lt;br /&gt;
Remote Host Path = /axis-cgi/mjpg/video.cgi?&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Information:&lt;br /&gt;
:ZoneMinder Logs are in /tmp &lt;br /&gt;
:zmaudit.log &lt;br /&gt;
:zmupdate.log &lt;br /&gt;
:zmwatch.log =&amp;gt; take attention to this one because the shared memory problem is reported here &lt;br /&gt;
:zmpkg.log &lt;br /&gt;
:zmdc.log &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Apache2 Logs are in /var/logs&lt;/div&gt;</summary>
		<author><name>BarryH</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1726</id>
		<title>SuSE 10.1 and ZoneMinder</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1726"/>
		<updated>2006-10-12T16:08:15Z</updated>

		<summary type="html">&lt;p&gt;BarryH: /* Configure servers to be started at boot time */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=MsoNormal&amp;gt;&amp;lt;span class=name1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;mso-bidi-font-size:8.5pt;font-family:Verdana&amp;#039;&amp;gt;Dgsconseil was kind enough to write a&amp;lt;b&amp;gt; &amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
class=postbody1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;step-by-step&lt;br /&gt;
newbie kit to install ZoneMinder under &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
10.0 OSS.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;   &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;I copied it and modified it to for&lt;br /&gt;
SuSE 10.1 with a GUI and the KDE.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=postbody1&amp;gt;This is only a short How-To on how I installed SuSE and&lt;br /&gt;
ZoneMinder software on &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; 10.1 OSS,&lt;br /&gt;
it is not intended to be a reference because I do not specify any of the&lt;br /&gt;
security rules or optimizations needed for a production server.&amp;lt;span&lt;br /&gt;
style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;I just specify the main steps to get Zone&lt;br /&gt;
Minder Running. &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;By the&lt;br /&gt;
way, this is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; the smallest installation possible.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It’s just what I used and it worked.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It seemed that if I skipped any of the additional packages, I’d&lt;br /&gt;
run into trouble.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fresh install SuSE 10.1 OSS (CD install)===&lt;br /&gt;
Base installation with KDE Desktop and additional packages&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Software Packages chosen during install:&lt;br /&gt;
:*Graphical Base system&lt;br /&gt;
:*KDE Desktop Environment&lt;br /&gt;
:*All of KDE&lt;br /&gt;
:*Help and Supports Docs&lt;br /&gt;
:*Office applications&lt;br /&gt;
:*Multimedia&lt;br /&gt;
:*Simple Web Server with Apache2&lt;br /&gt;
:*LDAP Server and Tools&lt;br /&gt;
:*Network and Server&lt;br /&gt;
:*C/C++ Complier and Tools&lt;br /&gt;
:*Kernel Development&lt;br /&gt;
:*KDE Development&lt;br /&gt;
:*TCL/TK development system&lt;br /&gt;
:*Java&lt;br /&gt;
:*Experienced user&lt;br /&gt;
:*LaTex, SGML and XML&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;If using the firewall, add HTTP Server to the Allowed Services list, if you want to access ZoneMinder with a web browser.&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Once the Installation is finished, open the YAST control center.  (Under System)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;If you have an internet connection - In YAST, add packman as an http installation source(used to install ffmpeg)&lt;br /&gt;
:Type : HTTP &lt;br /&gt;
:Server : packman.unixheads.com &lt;br /&gt;
:Path : suse/10.1&lt;br /&gt;
&lt;br /&gt;
=== Go into YAST Software Management ===&lt;br /&gt;
&lt;br /&gt;
;Verify that these packages are installed, Install any that are missing  (Enter each name in Search box)&lt;br /&gt;
&lt;br /&gt;
:*apache2&lt;br /&gt;
:*apache2-worker  &lt;br /&gt;
:*apache2-mod_perl &lt;br /&gt;
:*apache2-mod_php5 &lt;br /&gt;
:*apache2-mod-apparmor&lt;br /&gt;
:*php5 &lt;br /&gt;
:*mysql &lt;br /&gt;
:*mysql-devel &lt;br /&gt;
:*gcc &lt;br /&gt;
:*gcc-c++ &lt;br /&gt;
:*libmpeg2&lt;br /&gt;
:*libmpeg2-devel &lt;br /&gt;
:*ffmpeg&lt;br /&gt;
:*libffmpeg0&lt;br /&gt;
:*libffmpeg0-devel&lt;br /&gt;
:*libjpeg&lt;br /&gt;
:*libjpeg-devel&lt;br /&gt;
:*pcre-devel &lt;br /&gt;
:*xawtv  &lt;br /&gt;
:*openssl-devel&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Updating perl CPANand installing perl packages=== &lt;br /&gt;
I&amp;#039;ve done all off the perl related installation under user root because of problems with cpan packages installation.  It seems like a slow process, have patience.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window:&lt;br /&gt;
 perl -MCPAN -e shell &lt;br /&gt;
 install Bundle::CPAN &lt;br /&gt;
 reload CPAN &lt;br /&gt;
 install Archive::Tar (seems to be  optional =&amp;gt; depend on the way you install yourdistro)&lt;br /&gt;
 install Archive::Zip (seems to be optional =&amp;gt; depend on the way you install yourdistro)  &lt;br /&gt;
 install MIME::Lite &lt;br /&gt;
 install MIME::Tools &lt;br /&gt;
 install DateTime &lt;br /&gt;
 install Date::Manip updated 2006-03-04 thanx to mickecarlsson &lt;br /&gt;
 install Bundle::libnet &lt;br /&gt;
 install Device::SerialPort &lt;br /&gt;
 install Astro::SunTime Updated 2006 03 24 correct spelling error on SunTime (thanx to mickecarlsson) &lt;br /&gt;
 install X10 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Configure servers to be started at boot time===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 su - &lt;br /&gt;
 cd /etc/rc.d/rc5.d &lt;br /&gt;
 ln -s ../apache2 S98apache2 &lt;br /&gt;
 ln -s ../apache2 K01apache2 &lt;br /&gt;
 ln -s ../mysql S98mysql &lt;br /&gt;
 ln -s ../mysql K01mysql&lt;br /&gt;
&lt;br /&gt;
===Start servers manually===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
&lt;br /&gt;
===Downloading and installing latest Zoneminder release (v1.22.2) :=== &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Download and save ZoneMinder tarball from:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
http://www2.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Extract tarball&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window, inside directory that ZoneMinder download was saved to&lt;br /&gt;
 tar zxvf ZoneMinder-1.22.2.tar.gz &lt;br /&gt;
 cd ZoneMinder-1.22.2 &lt;br /&gt;
&lt;br /&gt;
===Download and apply the v1.22.2 patch for ffmpeg from Wiki===&lt;br /&gt;
http://www.zoneminder.com/wiki/index.php/1.22.2_Patches&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Patch&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
	&lt;br /&gt;
;To apply the patch you should do the following&lt;br /&gt;
:* Download the patch and move a copy to your ZoneMinder build directory &lt;br /&gt;
:* Open a command shell (terminal window)&lt;br /&gt;
:* Change directory to your ZoneMinder build directory &lt;br /&gt;
:* Apply the patch by typing &lt;br /&gt;
:* patch -p0 &amp;lt; zm-1.22.2-ffmpeg.patch&lt;br /&gt;
:* Check that the patch is applied correctly and you do not get any rejects &lt;br /&gt;
:* If necessary rebuild, then reinstall &lt;br /&gt;
&lt;br /&gt;
Now Configuration Time ! &lt;br /&gt;
Code:  (be sure you are in ZoneMinder-1.22.2 directory)&lt;br /&gt;
./configure --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --with-webgroup=www --with-webuser=wwwrun ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=zm&lt;br /&gt;
&lt;br /&gt;
Make sure you’re in the ZoneMinder-1.22.2 directory and Login to MySQL  (PW is blank)&lt;br /&gt;
Code:&lt;br /&gt;
mysql -h localhost -u root -p &lt;br /&gt;
&lt;br /&gt;
Under MySQL prompt type &lt;br /&gt;
Code:  (Entering Each line will echo a bunch of lines, just ignore them)&lt;br /&gt;
source db/zm_create.sql; grant select,insert,update,delete on zm.* to &amp;#039;zm&amp;#039;@localhost identified by &amp;#039;zm&amp;#039;; flush privileges; quit &lt;br /&gt;
&lt;br /&gt;
Now compile and install this nice piece of software ! &lt;br /&gt;
Code:&lt;br /&gt;
make sudo make install &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
Configure ZoneMinder to be started at boot time &lt;br /&gt;
Code:&lt;br /&gt;
su - # from zoneminder source directory cp scripts/zm /etc/rc.d cd /etc/rc.d chmod +x zm cd rc5.d ln -s ../zm S99zm ln -s ../zm K00zm &lt;br /&gt;
&lt;br /&gt;
Logoff and logon as root, or create a new session as root.&lt;br /&gt;
&lt;br /&gt;
edit /etc/rc.d/zm with your favorite text editor (kwrite ?) &lt;br /&gt;
 remove the line related to include functions &lt;br /&gt;
 replace all occurences of echo_success by echo success &lt;br /&gt;
 replace all occurences of echo_failure by echo failure &lt;br /&gt;
 save the changes (ie :x!) &lt;br /&gt;
&lt;br /&gt;
Copy the /srv/www/htdocs/zm.php  file on top of the /srv/www/htdocs/index.php file.  Rename or delete the /srv/www/htdocs/index.html file&lt;br /&gt;
&lt;br /&gt;
Deal with the Shared Memory problem &lt;br /&gt;
Add the following lines to your /etc/sysctl.conf file: &lt;br /&gt;
Code:  (I chose 256,000,000 because my cams are 640x480)&lt;br /&gt;
# Memory modifications for ZoneMinderkernel.shmall = 256000000 kernel.shmmax = 256000000 &lt;br /&gt;
&lt;br /&gt;
Now you can reboot your computer to apply changes &lt;br /&gt;
&lt;br /&gt;
Well we are at the end of the process &lt;br /&gt;
Start all servers if they are not allready started when you boot your computer : &lt;br /&gt;
Code:&lt;br /&gt;
sudo /etc/rc.d/apache2 start sudo /etc/rc.d/mysql start sudo zmpkg.pl start &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now open your web browser and point to [url]http://localhost/[/url]&lt;br /&gt;
If that doesn’t work, try [url]http://localhost/zm.php[/url]&lt;br /&gt;
&lt;br /&gt;
Create your monitor and start playing ! &lt;br /&gt;
&lt;br /&gt;
Here are some options I use when configuring a monitor for my Axis IP camera at 640x480, color.:&lt;br /&gt;
&lt;br /&gt;
Under the General Tab&lt;br /&gt;
		Source Type = Remote&lt;br /&gt;
		Function = Modetect&lt;br /&gt;
		Enabled = Checked&lt;br /&gt;
		Linked Monitors = (leave it blank)&lt;br /&gt;
		Maximum FPS = 4.0&lt;br /&gt;
		Alarm Maximum FPS = 8.0&lt;br /&gt;
&lt;br /&gt;
	Under the Source Tab&lt;br /&gt;
		Remote host name = IP of camera (i.e. 192.168.3.2)&lt;br /&gt;
		Remote Host Port = 80&lt;br /&gt;
		Remote Host Path = /axis-cgi/jpg/image.cgi?resolution=640x480&lt;br /&gt;
		Remote Image Colours = 24 bit colour&lt;br /&gt;
		Capture Width = 640&lt;br /&gt;
		Capture Height = 480&lt;br /&gt;
&lt;br /&gt;
		If you want to utilize mpeg instead of jpeg, use this for the host path:&lt;br /&gt;
Remote Host Path = /axis-cgi/mjpg/video.cgi?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additional Information:&lt;br /&gt;
ZoneMinder Logs are in /tmp &lt;br /&gt;
zmaudit.log &lt;br /&gt;
zmupdate.log &lt;br /&gt;
zmwatch.log =&amp;gt; take attention to this one because the shared memory problem is reported here &lt;br /&gt;
zmpkg.log &lt;br /&gt;
zmdc.log &lt;br /&gt;
&lt;br /&gt;
Apache2 Logs are in /var/logs&lt;/div&gt;</summary>
		<author><name>BarryH</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1725</id>
		<title>SuSE 10.1 and ZoneMinder</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1725"/>
		<updated>2006-10-12T16:06:38Z</updated>

		<summary type="html">&lt;p&gt;BarryH: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=MsoNormal&amp;gt;&amp;lt;span class=name1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;mso-bidi-font-size:8.5pt;font-family:Verdana&amp;#039;&amp;gt;Dgsconseil was kind enough to write a&amp;lt;b&amp;gt; &amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
class=postbody1&amp;gt;&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;step-by-step&lt;br /&gt;
newbie kit to install ZoneMinder under &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
10.0 OSS.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;   &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span&lt;br /&gt;
style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;I copied it and modified it to for&lt;br /&gt;
SuSE 10.1 with a GUI and the KDE.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=postbody1&amp;gt;This is only a short How-To on how I installed SuSE and&lt;br /&gt;
ZoneMinder software on &amp;lt;b&amp;gt;&amp;lt;span style=&amp;#039;color:#FFA34F&amp;#039;&amp;gt;SUSE&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; 10.1 OSS,&lt;br /&gt;
it is not intended to be a reference because I do not specify any of the&lt;br /&gt;
security rules or optimizations needed for a production server.&amp;lt;span&lt;br /&gt;
style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;I just specify the main steps to get Zone&lt;br /&gt;
Minder Running. &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;#039;font-size:9.0pt;font-family:Verdana&amp;#039;&amp;gt;By the&lt;br /&gt;
way, this is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; the smallest installation possible.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It’s just what I used and it worked.&amp;lt;span style=&amp;quot;mso-spacerun:&lt;br /&gt;
yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;It seemed that if I skipped any of the additional packages, I’d&lt;br /&gt;
run into trouble.&amp;lt;span style=&amp;quot;mso-spacerun: yes&amp;quot;&amp;gt;  &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fresh install SuSE 10.1 OSS (CD install)===&lt;br /&gt;
Base installation with KDE Desktop and additional packages&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Additional Software Packages chosen during install:&lt;br /&gt;
:*Graphical Base system&lt;br /&gt;
:*KDE Desktop Environment&lt;br /&gt;
:*All of KDE&lt;br /&gt;
:*Help and Supports Docs&lt;br /&gt;
:*Office applications&lt;br /&gt;
:*Multimedia&lt;br /&gt;
:*Simple Web Server with Apache2&lt;br /&gt;
:*LDAP Server and Tools&lt;br /&gt;
:*Network and Server&lt;br /&gt;
:*C/C++ Complier and Tools&lt;br /&gt;
:*Kernel Development&lt;br /&gt;
:*KDE Development&lt;br /&gt;
:*TCL/TK development system&lt;br /&gt;
:*Java&lt;br /&gt;
:*Experienced user&lt;br /&gt;
:*LaTex, SGML and XML&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;If using the firewall, add HTTP Server to the Allowed Services list, if you want to access ZoneMinder with a web browser.&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Once the Installation is finished, open the YAST control center.  (Under System)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;If you have an internet connection - In YAST, add packman as an http installation source(used to install ffmpeg)&lt;br /&gt;
:Type : HTTP &lt;br /&gt;
:Server : packman.unixheads.com &lt;br /&gt;
:Path : suse/10.1&lt;br /&gt;
&lt;br /&gt;
=== Go into YAST Software Management ===&lt;br /&gt;
&lt;br /&gt;
;Verify that these packages are installed, Install any that are missing  (Enter each name in Search box)&lt;br /&gt;
&lt;br /&gt;
:*apache2&lt;br /&gt;
:*apache2-worker  &lt;br /&gt;
:*apache2-mod_perl &lt;br /&gt;
:*apache2-mod_php5 &lt;br /&gt;
:*apache2-mod-apparmor&lt;br /&gt;
:*php5 &lt;br /&gt;
:*mysql &lt;br /&gt;
:*mysql-devel &lt;br /&gt;
:*gcc &lt;br /&gt;
:*gcc-c++ &lt;br /&gt;
:*libmpeg2&lt;br /&gt;
:*libmpeg2-devel &lt;br /&gt;
:*ffmpeg&lt;br /&gt;
:*libffmpeg0&lt;br /&gt;
:*libffmpeg0-devel&lt;br /&gt;
:*libjpeg&lt;br /&gt;
:*libjpeg-devel&lt;br /&gt;
:*pcre-devel &lt;br /&gt;
:*xawtv  &lt;br /&gt;
:*openssl-devel&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Updating perl CPANand installing perl packages=== &lt;br /&gt;
I&amp;#039;ve done all off the perl related installation under user root because of problems with cpan packages installation.  It seems like a slow process, have patience.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window:&lt;br /&gt;
 perl -MCPAN -e shell &lt;br /&gt;
 install Bundle::CPAN &lt;br /&gt;
 reload CPAN &lt;br /&gt;
 install Archive::Tar (seems to be  optional =&amp;gt; depend on the way you install yourdistro)&lt;br /&gt;
 install Archive::Zip (seems to be optional =&amp;gt; depend on the way you install yourdistro)  &lt;br /&gt;
 install MIME::Lite &lt;br /&gt;
 install MIME::Tools &lt;br /&gt;
 install DateTime &lt;br /&gt;
 install Date::Manip updated 2006-03-04 thanx to mickecarlsson &lt;br /&gt;
 install Bundle::libnet &lt;br /&gt;
 install Device::SerialPort &lt;br /&gt;
 install Astro::SunTime Updated 2006 03 24 correct spelling error on SunTime (thanx to mickecarlsson) &lt;br /&gt;
 install X10 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Configure servers to be started at boot time===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 su - cd /etc/rc.d/rc5.d &lt;br /&gt;
 ln -s ../apache2 S98apache2 &lt;br /&gt;
 ln -s ../apache2 K01apache2 &lt;br /&gt;
 ln -s ../mysql S98mysql &lt;br /&gt;
 ln -s ../mysql K01mysql &lt;br /&gt;
&lt;br /&gt;
===Start servers manually===&lt;br /&gt;
From within a terminal window:&lt;br /&gt;
 sudo /etc/rc.d/apache2 start&lt;br /&gt;
 sudo /etc/rc.d/mysql start&lt;br /&gt;
&lt;br /&gt;
===Downloading and installing latest Zoneminder release (v1.22.2) :=== &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Download and save ZoneMinder tarball from:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
http://www2.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Extract tarball&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
From within a Terminal window, inside directory that ZoneMinder download was saved to&lt;br /&gt;
 tar zxvf ZoneMinder-1.22.2.tar.gz &lt;br /&gt;
 cd ZoneMinder-1.22.2 &lt;br /&gt;
&lt;br /&gt;
===Download and apply the v1.22.2 patch for ffmpeg from Wiki===&lt;br /&gt;
http://www.zoneminder.com/wiki/index.php/1.22.2_Patches&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Patch&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
	&lt;br /&gt;
;To apply the patch you should do the following&lt;br /&gt;
:* Download the patch and move a copy to your ZoneMinder build directory &lt;br /&gt;
:* Open a command shell (terminal window)&lt;br /&gt;
:* Change directory to your ZoneMinder build directory &lt;br /&gt;
:* Apply the patch by typing &lt;br /&gt;
:* patch -p0 &amp;lt; zm-1.22.2-ffmpeg.patch&lt;br /&gt;
:* Check that the patch is applied correctly and you do not get any rejects &lt;br /&gt;
:* If necessary rebuild, then reinstall &lt;br /&gt;
&lt;br /&gt;
Now Configuration Time ! &lt;br /&gt;
Code:  (be sure you are in ZoneMinder-1.22.2 directory)&lt;br /&gt;
./configure --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --with-webgroup=www --with-webuser=wwwrun ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=zm&lt;br /&gt;
&lt;br /&gt;
Make sure you’re in the ZoneMinder-1.22.2 directory and Login to MySQL  (PW is blank)&lt;br /&gt;
Code:&lt;br /&gt;
mysql -h localhost -u root -p &lt;br /&gt;
&lt;br /&gt;
Under MySQL prompt type &lt;br /&gt;
Code:  (Entering Each line will echo a bunch of lines, just ignore them)&lt;br /&gt;
source db/zm_create.sql; grant select,insert,update,delete on zm.* to &amp;#039;zm&amp;#039;@localhost identified by &amp;#039;zm&amp;#039;; flush privileges; quit &lt;br /&gt;
&lt;br /&gt;
Now compile and install this nice piece of software ! &lt;br /&gt;
Code:&lt;br /&gt;
make sudo make install &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
Configure ZoneMinder to be started at boot time &lt;br /&gt;
Code:&lt;br /&gt;
su - # from zoneminder source directory cp scripts/zm /etc/rc.d cd /etc/rc.d chmod +x zm cd rc5.d ln -s ../zm S99zm ln -s ../zm K00zm &lt;br /&gt;
&lt;br /&gt;
Logoff and logon as root, or create a new session as root.&lt;br /&gt;
&lt;br /&gt;
edit /etc/rc.d/zm with your favorite text editor (kwrite ?) &lt;br /&gt;
 remove the line related to include functions &lt;br /&gt;
 replace all occurences of echo_success by echo success &lt;br /&gt;
 replace all occurences of echo_failure by echo failure &lt;br /&gt;
 save the changes (ie :x!) &lt;br /&gt;
&lt;br /&gt;
Copy the /srv/www/htdocs/zm.php  file on top of the /srv/www/htdocs/index.php file.  Rename or delete the /srv/www/htdocs/index.html file&lt;br /&gt;
&lt;br /&gt;
Deal with the Shared Memory problem &lt;br /&gt;
Add the following lines to your /etc/sysctl.conf file: &lt;br /&gt;
Code:  (I chose 256,000,000 because my cams are 640x480)&lt;br /&gt;
# Memory modifications for ZoneMinderkernel.shmall = 256000000 kernel.shmmax = 256000000 &lt;br /&gt;
&lt;br /&gt;
Now you can reboot your computer to apply changes &lt;br /&gt;
&lt;br /&gt;
Well we are at the end of the process &lt;br /&gt;
Start all servers if they are not allready started when you boot your computer : &lt;br /&gt;
Code:&lt;br /&gt;
sudo /etc/rc.d/apache2 start sudo /etc/rc.d/mysql start sudo zmpkg.pl start &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now open your web browser and point to [url]http://localhost/[/url]&lt;br /&gt;
If that doesn’t work, try [url]http://localhost/zm.php[/url]&lt;br /&gt;
&lt;br /&gt;
Create your monitor and start playing ! &lt;br /&gt;
&lt;br /&gt;
Here are some options I use when configuring a monitor for my Axis IP camera at 640x480, color.:&lt;br /&gt;
&lt;br /&gt;
Under the General Tab&lt;br /&gt;
		Source Type = Remote&lt;br /&gt;
		Function = Modetect&lt;br /&gt;
		Enabled = Checked&lt;br /&gt;
		Linked Monitors = (leave it blank)&lt;br /&gt;
		Maximum FPS = 4.0&lt;br /&gt;
		Alarm Maximum FPS = 8.0&lt;br /&gt;
&lt;br /&gt;
	Under the Source Tab&lt;br /&gt;
		Remote host name = IP of camera (i.e. 192.168.3.2)&lt;br /&gt;
		Remote Host Port = 80&lt;br /&gt;
		Remote Host Path = /axis-cgi/jpg/image.cgi?resolution=640x480&lt;br /&gt;
		Remote Image Colours = 24 bit colour&lt;br /&gt;
		Capture Width = 640&lt;br /&gt;
		Capture Height = 480&lt;br /&gt;
&lt;br /&gt;
		If you want to utilize mpeg instead of jpeg, use this for the host path:&lt;br /&gt;
Remote Host Path = /axis-cgi/mjpg/video.cgi?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additional Information:&lt;br /&gt;
ZoneMinder Logs are in /tmp &lt;br /&gt;
zmaudit.log &lt;br /&gt;
zmupdate.log &lt;br /&gt;
zmwatch.log =&amp;gt; take attention to this one because the shared memory problem is reported here &lt;br /&gt;
zmpkg.log &lt;br /&gt;
zmdc.log &lt;br /&gt;
&lt;br /&gt;
Apache2 Logs are in /var/logs&lt;/div&gt;</summary>
		<author><name>BarryH</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1724</id>
		<title>SuSE 10.1 and ZoneMinder</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1724"/>
		<updated>2006-10-12T14:23:34Z</updated>

		<summary type="html">&lt;p&gt;BarryH: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Dgsconseil was kind enough to write a step-by-step newbie kit to install ZoneMinder under SUSE 10.0 OSS.   I copied it and modified it to for SuSE 10.1 with a GUI and the KDE.&lt;br /&gt;
&lt;br /&gt;
This is only a short How-To on how I installed SuSE and ZoneMinder software on SUSE 10.1 OSS, it is not intended to be a reference because I do not specify any of the security rules or optimizations needed for a production server.  I just specify the main steps to get Zone Minder Running. &lt;br /&gt;
&lt;br /&gt;
By the way, this is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; the smallest installation possible.  It’s just what I used and it worked.  It seemed that if I skipped any of the additional packages, I’d run into trouble.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;Fresh install Suse 10.1 OSS  (CD install) &amp;quot;&amp;quot;&lt;br /&gt;
&amp;quot;&amp;#039;Base installation with KDE Desktop and additional packages&amp;#039;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
	&amp;#039;&amp;#039;&amp;#039;Additional Software Packages chosen during install:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
	Graphical Base system&lt;br /&gt;
	KDE Desktop Environment&lt;br /&gt;
	All of KDE&lt;br /&gt;
	Help and Supports Docs&lt;br /&gt;
	Office applications&lt;br /&gt;
	Multimedia&lt;br /&gt;
	Simple Web Server with Apache2&lt;br /&gt;
	LDAP Server and Tools&lt;br /&gt;
	Network and Server&lt;br /&gt;
	C/C++ Complier and Tools&lt;br /&gt;
	Kernel Development&lt;br /&gt;
	KDE Development&lt;br /&gt;
	TCL/TK development system&lt;br /&gt;
	Java&lt;br /&gt;
	Experienced user&lt;br /&gt;
	LaTex, SGML and XML&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If using the firewall, add HTTP Server to the Allowed Services list, if you want to access ZoneMinder with a web browser.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the Installation is finished, open the YAST control center.  (Under System)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you have an internet connection: In YAST, add packman as an http installation source&lt;br /&gt;
(used to install ffmpeg)&lt;br /&gt;
Type : HTTP &lt;br /&gt;
Server : packman.unixheads.com &lt;br /&gt;
Path : suse/10.1&lt;br /&gt;
&lt;br /&gt;
Go into YAST Software Management&lt;br /&gt;
&lt;br /&gt;
Verify that these packages are installed&lt;br /&gt;
Install any that are missing  (Enter each name in Search box)&lt;br /&gt;
apache2&lt;br /&gt;
apache2-worker  &lt;br /&gt;
apache2-mod_perl &lt;br /&gt;
apache2-mod_php5 &lt;br /&gt;
apache2-mod-apparmor&lt;br /&gt;
php5 &lt;br /&gt;
mysql &lt;br /&gt;
mysql-devel &lt;br /&gt;
gcc &lt;br /&gt;
gcc-c++ &lt;br /&gt;
libmpeg2&lt;br /&gt;
libmpeg2-devel &lt;br /&gt;
ffmpeg&lt;br /&gt;
libffmpeg0&lt;br /&gt;
libffmpeg0-devel&lt;br /&gt;
libjpeg&lt;br /&gt;
libjpeg-devel &lt;br /&gt;
pcre-devel &lt;br /&gt;
xawtv  &lt;br /&gt;
openssl-devel &lt;br /&gt;
&lt;br /&gt;
Updating perl CPANand installing perl packages &lt;br /&gt;
I&amp;#039;ve done all off the perl related installation under user root because of problems with cpan packages installation.  It seems like a slow process, have patience.&lt;br /&gt;
Code:&lt;br /&gt;
perl -MCPAN -e shell install Bundle::CPAN reload CPAN install Archive::Tar (seems to be optional =&amp;gt; depend on the way you install yourdistro) install Archive::Zip (seems to be optional =&amp;gt; depend on the way you install yourdistro) install MIME::Lite install MIME::Tools install DateTime install Date::Manip updated 2006-03-04 thanx to mickecarlsson install Bundle::libnet install Device::SerialPort install Astro::SunTime Updated 2006 03 24 correct spelling error on SunTime (thanx to mickecarlsson) install X10 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Configure servers to be started at boot time &lt;br /&gt;
Code:  In a terminal window (command shell)&lt;br /&gt;
su - cd /etc/rc.d/rc5.d ln -s ../apache2 S98apache2 ln -s ../apache2 K01apache2 ln -s ../mysql S98mysql ln -s ../mysql K01mysql &lt;br /&gt;
&lt;br /&gt;
Start servers manually&lt;br /&gt;
Code:&lt;br /&gt;
   sudo /etc/rc.d/apache2 start    sudo /etc/rc.d/mysql start&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Downloading and installing latest Zoneminder release (v1.22.2) : &lt;br /&gt;
&lt;br /&gt;
Download and save ZoneMinder tarball from:&lt;br /&gt;
[url]http://www2.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz[/url]&lt;br /&gt;
&lt;br /&gt;
Extract tarball &lt;br /&gt;
Code: In a Terminal window, inside directory that ZoneMinder download was saved to&lt;br /&gt;
tar zxvf ZoneMinder-1.22.2.tar.gz cd ZoneMinder-1.22.2 &lt;br /&gt;
&lt;br /&gt;
Download and apply the v1.22.2 patch for ffmpeg from Wiki:&lt;br /&gt;
&lt;br /&gt;
[url]http://www.zoneminder.com/wiki/index.php/1.22.2_Patches[/url]&lt;br /&gt;
	&lt;br /&gt;
To apply the patch you should do the following :- &lt;br /&gt;
·	Download the patch and move a copy to your ZoneMinder build directory &lt;br /&gt;
·	Open a command shell (terminal window)&lt;br /&gt;
·	Change directory to your ZoneMinder build directory &lt;br /&gt;
·	Apply the patch by typing &lt;br /&gt;
patch -p0 &amp;lt; zm-1.22.2-ffmpeg.patch &lt;br /&gt;
·	Check that the patch is applied correctly and you do not get any rejects &lt;br /&gt;
·	If necessary rebuild, then reinstall &lt;br /&gt;
&lt;br /&gt;
Now Configuration Time ! &lt;br /&gt;
Code:  (be sure you are in ZoneMinder-1.22.2 directory)&lt;br /&gt;
./configure --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --with-webgroup=www --with-webuser=wwwrun ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=zm&lt;br /&gt;
&lt;br /&gt;
Make sure you’re in the ZoneMinder-1.22.2 directory and Login to MySQL  (PW is blank)&lt;br /&gt;
Code:&lt;br /&gt;
mysql -h localhost -u root -p &lt;br /&gt;
&lt;br /&gt;
Under MySQL prompt type &lt;br /&gt;
Code:  (Entering Each line will echo a bunch of lines, just ignore them)&lt;br /&gt;
source db/zm_create.sql; grant select,insert,update,delete on zm.* to &amp;#039;zm&amp;#039;@localhost identified by &amp;#039;zm&amp;#039;; flush privileges; quit &lt;br /&gt;
&lt;br /&gt;
Now compile and install this nice piece of software ! &lt;br /&gt;
Code:&lt;br /&gt;
make sudo make install &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
Configure ZoneMinder to be started at boot time &lt;br /&gt;
Code:&lt;br /&gt;
su - # from zoneminder source directory cp scripts/zm /etc/rc.d cd /etc/rc.d chmod +x zm cd rc5.d ln -s ../zm S99zm ln -s ../zm K00zm &lt;br /&gt;
&lt;br /&gt;
Logoff and logon as root, or create a new session as root.&lt;br /&gt;
&lt;br /&gt;
edit /etc/rc.d/zm with your favorite text editor (kwrite ?) &lt;br /&gt;
 remove the line related to include functions &lt;br /&gt;
 replace all occurences of echo_success by echo success &lt;br /&gt;
 replace all occurences of echo_failure by echo failure &lt;br /&gt;
 save the changes (ie :x!) &lt;br /&gt;
&lt;br /&gt;
Copy the /srv/www/htdocs/zm.php  file on top of the /srv/www/htdocs/index.php file.  Rename or delete the /srv/www/htdocs/index.html file&lt;br /&gt;
&lt;br /&gt;
Deal with the Shared Memory problem &lt;br /&gt;
Add the following lines to your /etc/sysctl.conf file: &lt;br /&gt;
Code:  (I chose 256,000,000 because my cams are 640x480)&lt;br /&gt;
# Memory modifications for ZoneMinderkernel.shmall = 256000000 kernel.shmmax = 256000000 &lt;br /&gt;
&lt;br /&gt;
Now you can reboot your computer to apply changes &lt;br /&gt;
&lt;br /&gt;
Well we are at the end of the process &lt;br /&gt;
Start all servers if they are not allready started when you boot your computer : &lt;br /&gt;
Code:&lt;br /&gt;
sudo /etc/rc.d/apache2 start sudo /etc/rc.d/mysql start sudo zmpkg.pl start &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now open your web browser and point to [url]http://localhost/[/url]&lt;br /&gt;
If that doesn’t work, try [url]http://localhost/zm.php[/url]&lt;br /&gt;
&lt;br /&gt;
Create your monitor and start playing ! &lt;br /&gt;
&lt;br /&gt;
Here are some options I use when configuring a monitor for my Axis IP camera at 640x480, color.:&lt;br /&gt;
&lt;br /&gt;
Under the General Tab&lt;br /&gt;
		Source Type = Remote&lt;br /&gt;
		Function = Modetect&lt;br /&gt;
		Enabled = Checked&lt;br /&gt;
		Linked Monitors = (leave it blank)&lt;br /&gt;
		Maximum FPS = 4.0&lt;br /&gt;
		Alarm Maximum FPS = 8.0&lt;br /&gt;
&lt;br /&gt;
	Under the Source Tab&lt;br /&gt;
		Remote host name = IP of camera (i.e. 192.168.3.2)&lt;br /&gt;
		Remote Host Port = 80&lt;br /&gt;
		Remote Host Path = /axis-cgi/jpg/image.cgi?resolution=640x480&lt;br /&gt;
		Remote Image Colours = 24 bit colour&lt;br /&gt;
		Capture Width = 640&lt;br /&gt;
		Capture Height = 480&lt;br /&gt;
&lt;br /&gt;
		If you want to utilize mpeg instead of jpeg, use this for the host path:&lt;br /&gt;
Remote Host Path = /axis-cgi/mjpg/video.cgi?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additional Information:&lt;br /&gt;
ZoneMinder Logs are in /tmp &lt;br /&gt;
zmaudit.log &lt;br /&gt;
zmupdate.log &lt;br /&gt;
zmwatch.log =&amp;gt; take attention to this one because the shared memory problem is reported here &lt;br /&gt;
zmpkg.log &lt;br /&gt;
zmdc.log &lt;br /&gt;
&lt;br /&gt;
Apache2 Logs are in /var/logs&lt;/div&gt;</summary>
		<author><name>BarryH</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1723</id>
		<title>SuSE 10.1 and ZoneMinder</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=SuSE_10.1_and_ZoneMinder&amp;diff=1723"/>
		<updated>2006-10-12T14:22:14Z</updated>

		<summary type="html">&lt;p&gt;BarryH: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Dgsconseil was kind enough to write a step-by-step newbie kit to install ZoneMinder under SUSE 10.0 OSS.   I copied it and modified it to for SuSE 10.1 with a GUI and the KDE.&lt;br /&gt;
&lt;br /&gt;
This is only a short How-To on how I installed SuSE and ZoneMinder software on SUSE 10.1 OSS, it is not intended to be a reference because I do not specify any of the security rules or optimizations needed for a production server.  I just specify the main steps to get Zone Minder Running. &lt;br /&gt;
&lt;br /&gt;
By the way, this is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; the smallest installation possible.  It’s just what I used and it worked.  It seemed that if I skipped any of the additional packages, I’d run into trouble.  &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Fresh install Suse 10.1 OSS  (CD install) &amp;quot;&amp;quot;&lt;br /&gt;
&amp;quot;&amp;#039;Base installation with KDE Desktop and additional packages&amp;#039;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
	&amp;#039;&amp;#039;&amp;#039;Additional Software Packages chosen during install:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
	Graphical Base system&lt;br /&gt;
	KDE Desktop Environment&lt;br /&gt;
	All of KDE&lt;br /&gt;
	Help and Supports Docs&lt;br /&gt;
	Office applications&lt;br /&gt;
	Multimedia&lt;br /&gt;
	Simple Web Server with Apache2&lt;br /&gt;
	LDAP Server and Tools&lt;br /&gt;
	Network and Server&lt;br /&gt;
	C/C++ Complier and Tools&lt;br /&gt;
	Kernel Development&lt;br /&gt;
	KDE Development&lt;br /&gt;
	TCL/TK development system&lt;br /&gt;
	Java&lt;br /&gt;
	Experienced user&lt;br /&gt;
	LaTex, SGML and XML&lt;br /&gt;
&lt;br /&gt;
If using the firewall, add HTTP Server to the Allowed Services list, if you want to access ZoneMinder with a web browser.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Once the Installation is finished, open the YAST control center.  (Under System) ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you have an internet connection: In YAST, add packman as an http installation source&lt;br /&gt;
(used to install ffmpeg)&lt;br /&gt;
Type : HTTP &lt;br /&gt;
Server : packman.unixheads.com &lt;br /&gt;
Path : suse/10.1&lt;br /&gt;
&lt;br /&gt;
Go into YAST Software Management&lt;br /&gt;
&lt;br /&gt;
Verify that these packages are installed&lt;br /&gt;
Install any that are missing  (Enter each name in Search box)&lt;br /&gt;
apache2&lt;br /&gt;
apache2-worker  &lt;br /&gt;
apache2-mod_perl &lt;br /&gt;
apache2-mod_php5 &lt;br /&gt;
apache2-mod-apparmor&lt;br /&gt;
php5 &lt;br /&gt;
mysql &lt;br /&gt;
mysql-devel &lt;br /&gt;
gcc &lt;br /&gt;
gcc-c++ &lt;br /&gt;
libmpeg2&lt;br /&gt;
libmpeg2-devel &lt;br /&gt;
ffmpeg&lt;br /&gt;
libffmpeg0&lt;br /&gt;
libffmpeg0-devel&lt;br /&gt;
libjpeg&lt;br /&gt;
libjpeg-devel &lt;br /&gt;
pcre-devel &lt;br /&gt;
xawtv  &lt;br /&gt;
openssl-devel &lt;br /&gt;
&lt;br /&gt;
Updating perl CPANand installing perl packages &lt;br /&gt;
I&amp;#039;ve done all off the perl related installation under user root because of problems with cpan packages installation.  It seems like a slow process, have patience.&lt;br /&gt;
Code:&lt;br /&gt;
perl -MCPAN -e shell install Bundle::CPAN reload CPAN install Archive::Tar (seems to be optional =&amp;gt; depend on the way you install yourdistro) install Archive::Zip (seems to be optional =&amp;gt; depend on the way you install yourdistro) install MIME::Lite install MIME::Tools install DateTime install Date::Manip updated 2006-03-04 thanx to mickecarlsson install Bundle::libnet install Device::SerialPort install Astro::SunTime Updated 2006 03 24 correct spelling error on SunTime (thanx to mickecarlsson) install X10 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Configure servers to be started at boot time &lt;br /&gt;
Code:  In a terminal window (command shell)&lt;br /&gt;
su - cd /etc/rc.d/rc5.d ln -s ../apache2 S98apache2 ln -s ../apache2 K01apache2 ln -s ../mysql S98mysql ln -s ../mysql K01mysql &lt;br /&gt;
&lt;br /&gt;
Start servers manually&lt;br /&gt;
Code:&lt;br /&gt;
   sudo /etc/rc.d/apache2 start    sudo /etc/rc.d/mysql start&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Downloading and installing latest Zoneminder release (v1.22.2) : &lt;br /&gt;
&lt;br /&gt;
Download and save ZoneMinder tarball from:&lt;br /&gt;
[url]http://www2.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz[/url]&lt;br /&gt;
&lt;br /&gt;
Extract tarball &lt;br /&gt;
Code: In a Terminal window, inside directory that ZoneMinder download was saved to&lt;br /&gt;
tar zxvf ZoneMinder-1.22.2.tar.gz cd ZoneMinder-1.22.2 &lt;br /&gt;
&lt;br /&gt;
Download and apply the v1.22.2 patch for ffmpeg from Wiki:&lt;br /&gt;
&lt;br /&gt;
[url]http://www.zoneminder.com/wiki/index.php/1.22.2_Patches[/url]&lt;br /&gt;
	&lt;br /&gt;
To apply the patch you should do the following :- &lt;br /&gt;
·	Download the patch and move a copy to your ZoneMinder build directory &lt;br /&gt;
·	Open a command shell (terminal window)&lt;br /&gt;
·	Change directory to your ZoneMinder build directory &lt;br /&gt;
·	Apply the patch by typing &lt;br /&gt;
patch -p0 &amp;lt; zm-1.22.2-ffmpeg.patch &lt;br /&gt;
·	Check that the patch is applied correctly and you do not get any rejects &lt;br /&gt;
·	If necessary rebuild, then reinstall &lt;br /&gt;
&lt;br /&gt;
Now Configuration Time ! &lt;br /&gt;
Code:  (be sure you are in ZoneMinder-1.22.2 directory)&lt;br /&gt;
./configure --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --with-webgroup=www --with-webuser=wwwrun ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=zm&lt;br /&gt;
&lt;br /&gt;
Make sure you’re in the ZoneMinder-1.22.2 directory and Login to MySQL  (PW is blank)&lt;br /&gt;
Code:&lt;br /&gt;
mysql -h localhost -u root -p &lt;br /&gt;
&lt;br /&gt;
Under MySQL prompt type &lt;br /&gt;
Code:  (Entering Each line will echo a bunch of lines, just ignore them)&lt;br /&gt;
source db/zm_create.sql; grant select,insert,update,delete on zm.* to &amp;#039;zm&amp;#039;@localhost identified by &amp;#039;zm&amp;#039;; flush privileges; quit &lt;br /&gt;
&lt;br /&gt;
Now compile and install this nice piece of software ! &lt;br /&gt;
Code:&lt;br /&gt;
make sudo make install &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
Configure ZoneMinder to be started at boot time &lt;br /&gt;
Code:&lt;br /&gt;
su - # from zoneminder source directory cp scripts/zm /etc/rc.d cd /etc/rc.d chmod +x zm cd rc5.d ln -s ../zm S99zm ln -s ../zm K00zm &lt;br /&gt;
&lt;br /&gt;
Logoff and logon as root, or create a new session as root.&lt;br /&gt;
&lt;br /&gt;
edit /etc/rc.d/zm with your favorite text editor (kwrite ?) &lt;br /&gt;
 remove the line related to include functions &lt;br /&gt;
 replace all occurences of echo_success by echo success &lt;br /&gt;
 replace all occurences of echo_failure by echo failure &lt;br /&gt;
 save the changes (ie :x!) &lt;br /&gt;
&lt;br /&gt;
Copy the /srv/www/htdocs/zm.php  file on top of the /srv/www/htdocs/index.php file.  Rename or delete the /srv/www/htdocs/index.html file&lt;br /&gt;
&lt;br /&gt;
Deal with the Shared Memory problem &lt;br /&gt;
Add the following lines to your /etc/sysctl.conf file: &lt;br /&gt;
Code:  (I chose 256,000,000 because my cams are 640x480)&lt;br /&gt;
# Memory modifications for ZoneMinderkernel.shmall = 256000000 kernel.shmmax = 256000000 &lt;br /&gt;
&lt;br /&gt;
Now you can reboot your computer to apply changes &lt;br /&gt;
&lt;br /&gt;
Well we are at the end of the process &lt;br /&gt;
Start all servers if they are not allready started when you boot your computer : &lt;br /&gt;
Code:&lt;br /&gt;
sudo /etc/rc.d/apache2 start sudo /etc/rc.d/mysql start sudo zmpkg.pl start &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now open your web browser and point to [url]http://localhost/[/url]&lt;br /&gt;
If that doesn’t work, try [url]http://localhost/zm.php[/url]&lt;br /&gt;
&lt;br /&gt;
Create your monitor and start playing ! &lt;br /&gt;
&lt;br /&gt;
Here are some options I use when configuring a monitor for my Axis IP camera at 640x480, color.:&lt;br /&gt;
&lt;br /&gt;
Under the General Tab&lt;br /&gt;
		Source Type = Remote&lt;br /&gt;
		Function = Modetect&lt;br /&gt;
		Enabled = Checked&lt;br /&gt;
		Linked Monitors = (leave it blank)&lt;br /&gt;
		Maximum FPS = 4.0&lt;br /&gt;
		Alarm Maximum FPS = 8.0&lt;br /&gt;
&lt;br /&gt;
	Under the Source Tab&lt;br /&gt;
		Remote host name = IP of camera (i.e. 192.168.3.2)&lt;br /&gt;
		Remote Host Port = 80&lt;br /&gt;
		Remote Host Path = /axis-cgi/jpg/image.cgi?resolution=640x480&lt;br /&gt;
		Remote Image Colours = 24 bit colour&lt;br /&gt;
		Capture Width = 640&lt;br /&gt;
		Capture Height = 480&lt;br /&gt;
&lt;br /&gt;
		If you want to utilize mpeg instead of jpeg, use this for the host path:&lt;br /&gt;
Remote Host Path = /axis-cgi/mjpg/video.cgi?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additional Information:&lt;br /&gt;
ZoneMinder Logs are in /tmp &lt;br /&gt;
zmaudit.log &lt;br /&gt;
zmupdate.log &lt;br /&gt;
zmwatch.log =&amp;gt; take attention to this one because the shared memory problem is reported here &lt;br /&gt;
zmpkg.log &lt;br /&gt;
zmdc.log &lt;br /&gt;
&lt;br /&gt;
Apache2 Logs are in /var/logs&lt;/div&gt;</summary>
		<author><name>BarryH</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Helpful_user_contributed_resources&amp;diff=1722</id>
		<title>Helpful user contributed resources</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Helpful_user_contributed_resources&amp;diff=1722"/>
		<updated>2006-10-12T14:13:13Z</updated>

		<summary type="html">&lt;p&gt;BarryH: /* Help */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==General==&lt;br /&gt;
[[FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[General Notes]]&lt;br /&gt;
&lt;br /&gt;
[[Supported distributions]]&lt;br /&gt;
&lt;br /&gt;
[[Supported hardware]]&lt;br /&gt;
&lt;br /&gt;
[[Patches]]&lt;br /&gt;
&lt;br /&gt;
[[Infrared Leds, Cameras, DC-DC converters etc]]&lt;br /&gt;
&lt;br /&gt;
==Help==&lt;br /&gt;
[[HOWTO]]&amp;#039;s&lt;br /&gt;
&lt;br /&gt;
[[Error messages]]&lt;br /&gt;
&lt;br /&gt;
[[Debian]]-Specific&lt;br /&gt;
&lt;br /&gt;
[[Ubuntu 5.10]]-Guide&lt;br /&gt;
&lt;br /&gt;
[[Ubuntu 6.06 - Dapper]]-Guide&lt;br /&gt;
&lt;br /&gt;
[[Ubuntu 6.06 - Alternate]]-Guide (cut-n-paste)&lt;br /&gt;
&lt;br /&gt;
[[Slackware 10.1]]-Guide&lt;br /&gt;
&lt;br /&gt;
[[SuSE 10.1 and ZoneMinder]]-HowTo&lt;br /&gt;
&lt;br /&gt;
==Third party==&lt;br /&gt;
[[Third Party Utils]]&lt;/div&gt;</summary>
		<author><name>BarryH</name></author>
	</entry>
</feed>