<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Sid? What is he on about now? &#187; lamp</title>
	<atom:link href="http://sidrit.wordpress.com/tag/lamp/feed/" rel="self" type="application/rss+xml" />
	<link>http://sidrit.wordpress.com</link>
	<description>The Almost-Daily Issue</description>
	<lastBuildDate>Fri, 23 Jan 2009 14:28:26 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='sidrit.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/f5c4786753302ab3b2733320c76230af?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Sid? What is he on about now? &#187; lamp</title>
		<link>http://sidrit.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sidrit.wordpress.com/osd.xml" title="Sid? What is he on about now?" />
		<item>
		<title>Video Surveillance system on Ubuntu 8.04 with Zoneminder</title>
		<link>http://sidrit.wordpress.com/2008/08/04/video-surveillance-system-on-ubuntu-804-with-zoneminder/</link>
		<comments>http://sidrit.wordpress.com/2008/08/04/video-surveillance-system-on-ubuntu-804-with-zoneminder/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 15:33:48 +0000</pubDate>
		<dc:creator>Sidrit Trandafili</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Splurge]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Hardy]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[panasonic]]></category>
		<category><![CDATA[video surveillance]]></category>
		<category><![CDATA[zoneminder]]></category>

		<guid isPermaLink="false">http://sidrit.wordpress.com/?p=104</guid>
		<description><![CDATA[In this scenario we will be using:
Hardy Heron ( Ubuntu 8.04 )
Packard Bell Easynote R0933
ZoneMinder 1.22.3 website
Panasonic BL-C1 network cameras
It is assumed that the machine is a fully working Lamp server.
If you don&#8217;t have that yet, here&#8217;s a quick setup.
First we need to install a few libraries to support Zoneminder :
sudo apt-get install  libarchive-tar-perl [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sidrit.wordpress.com&blog=975087&post=104&subd=sidrit&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In this scenario we will be using:</p>
<p>Hardy Heron ( Ubuntu 8.04 )<br />
Packard Bell Easynote R0933<br />
ZoneMinder 1.22.3 <a href="http://www.zoneminder.com">website</a><br />
Panasonic BL-C1 network cameras</p>
<p>It is assumed that the machine is a fully working Lamp server.<br />
If you don&#8217;t have that yet, <a href="http://sidrit.wordpress.com/2008/08/03/lamp-linux-apache-mysql-php-server-on-ubuntu-804/">here&#8217;s a quick setup</a>.</p>
<p>First we need to install a few libraries to support Zoneminder :</p>
<p><code>sudo apt-get install  libarchive-tar-perl  libmime-perl libstdc++6 libjpeg62 ffmpeg<br />
libarchive-zip-perl  zlib1g libdate-manip-perl libwww-perl  libdevice-serialport-perl</code></p>
<p>Afterwards, we grab the latest .deb from the repositories<br />
<a href="http://packages.ubuntu.com/hardy/net/zoneminder">http://packages.ubuntu.com/hardy/net/zoneminder</a><br />
<iframe src='http://digg.com/api/diggthis.php?u=http%3A%2F%2Fdigg.com%2Flinux_unix%2FVideo_Surveillance_system_on_Ubuntu_8_04_with_Zoneminder' height='82' width='55' frameborder='0' scrolling='no' style='float: right; margin-left: 10px; margin-bottom: 5px; padding: 4px 0 2px 4px; background: #fff;'></iframe><br />
<span id="more-104"></span></p>
<p>Installation should go on with no complications. If needed, fix broken dependencies with<br />
<code>sudo apt-get -f install</code></p>
<p>Instruct apache what to do with Zoneminder a force a reload:</p>
<p><code>sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf</code><br />
<code>sudo /etc/init.d/apache2 force-reload </code></p>
<p>Finally point the browser at :<a href="http://your_server/zm">http://your_server/zm</a></p>
<p>Technically this should be it.<br />
I had a few problems though. After configuring a camera, i would get not video output whatsoever.<br />
No images or events were being saved nowhere, and i kept getting the same errors on logs:</p>
<p><code><strong>tail /tmp/zmwatch.log</strong><br />
08/04/2008 16:56:06.730254 zmwatch[10568].INF [Restarting capture daemon for New, shared memory not valid]<br />
08/04/2008 16:56:07.058591 zmwatch[10568].INF ['zmc -m 3' starting at 08/08/04 16:56:07, pid = 10597]<br />
08/04/2008 16:56:17.060594 zmwatch[10568].ERR [Can't get shared memory id '4b450003', 3: No such file or directory]<br />
08/04/2008 16:56:17.061045 zmwatch[10568].INF [Restarting capture daemon for New, shared memory not valid]<br />
08/04/2008 16:56:17.396844 zmwatch[10568].INF ['zmc -m 3' starting at 08/08/04 16:56:17, pid = 10610]<br />
08/04/2008 16:56:27.398852 zmwatch[10568].ERR [Can't get shared memory id '4b450003', 3: No such file or directory]<br />
08/04/2008 16:56:27.399334 zmwatch[10568].INF [Restarting capture daemon for New, shared memory not valid]<br />
08/04/2008 16:56:27.731874 zmwatch[10568].INF ['zmc -m 3' starting at 08/08/04 16:56:27, pid = 10612]<br />
08/04/2008 16:56:47.123690 zmwatch[10689].INF [Watchdog starting]<br />
08/04/2008 16:56:47.124464 zmwatch[10689].INF [Watchdog pausing for 30 seconds]</code></p>
<p>Looking at the current allocated value of shared memory on my laptop:</p>
<p><code>cat /proc/sys/kernel/shmall<br />
2097152 </code></p>
<p>And the maximum i could get:</p>
<p><code>cat /proc/sys/kernel/shmmax<br />
134217728</code></p>
<p>(Log in as root. sudo -i, otherwise you won&#8217;t be able to)<br />
<code><br />
echo 134217728 &gt;/proc/sys/kernel/shmall<br />
echo 134217728 &gt;/proc/sys/kernel/shmmax </code></p>
<p>This solved my shared memory problem. To make these value permanent, edit /etc/sysctl.conf :</p>
<p><code>kernel.shmall = 134217728<br />
kernel.shmmax = 134217728</code></p>
<p>Done, done, and done.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sidrit.wordpress.com/104/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sidrit.wordpress.com/104/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sidrit.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sidrit.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sidrit.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sidrit.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sidrit.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sidrit.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sidrit.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sidrit.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sidrit.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sidrit.wordpress.com/104/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sidrit.wordpress.com&blog=975087&post=104&subd=sidrit&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sidrit.wordpress.com/2008/08/04/video-surveillance-system-on-ubuntu-804-with-zoneminder/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Sidrit Trandafili</media:title>
		</media:content>
	</item>
		<item>
		<title>LAMP ( Linux, Apache, MySql, Php ) Server on Ubuntu 8.04</title>
		<link>http://sidrit.wordpress.com/2008/08/03/lamp-linux-apache-mysql-php-server-on-ubuntu-804/</link>
		<comments>http://sidrit.wordpress.com/2008/08/03/lamp-linux-apache-mysql-php-server-on-ubuntu-804/#comments</comments>
		<pubDate>Sun, 03 Aug 2008 21:29:14 +0000</pubDate>
		<dc:creator>Sidrit Trandafili</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Splurge]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Hardy]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[PHP5]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://sidrit.wordpress.com/?p=94</guid>
		<description><![CDATA[
In a post, a few days ago, i described how i had to restore and reinstall my system.
Meaning daily, i&#8217;ve been finding some of the software i need and reinstalling it.
So here i found myself needing to make use of a Lamp server on my laptop.
There&#8217;s literally thousands of guides about how to achieve this. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sidrit.wordpress.com&blog=975087&post=94&subd=sidrit&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><iframe src='http://digg.com/api/diggthis.php?u=http%3A%2F%2Fdigg.com%2Flinux_unix%2FLAMP_Linux_Apache_MySql_Php_Server_on_Ubuntu_8_04' height='82' width='55' frameborder='0' scrolling='no' style='float: right; margin-left: 10px; margin-bottom: 5px; padding: 4px 0 2px 4px; background: #fff;'></iframe><br />
In a post, a few days ago, i described how i had to restore and reinstall my system.<br />
Meaning daily, i&#8217;ve been finding some of the software i need and reinstalling it.</p>
<p>So here i found myself needing to make use of a Lamp server on my laptop.<br />
There&#8217;s literally thousands of guides about how to achieve this. Fact is that, on Ubuntu 8.04 (Hardy Heron ), it can be reduced to a few easy steps, and all the trick is done.</p>
<p>Once more, for the sake of clarity, and to spare some time:</p>
<p>Install mysql<br />
<code>sudo apt-get install mysql-server-5.0</code></p>
<p>Install Apache2<br />
<code>sudo apt-get install apache2</code></p>
<p>Install php and the apache module for it<br />
<code>sudo apt-get install php5 libapache2-mod-php5</code></p>
<p>Reboot apache (very important)<br />
<code>sudo /etc/init.d/apache2 restart</code></p>
<p>PhpMyAdmin, if you need it<br />
<code>sudo apt-get install phpmyadmin</code></p>
<p>That&#8217;s all folks!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sidrit.wordpress.com/94/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sidrit.wordpress.com/94/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sidrit.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sidrit.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sidrit.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sidrit.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sidrit.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sidrit.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sidrit.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sidrit.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sidrit.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sidrit.wordpress.com/94/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sidrit.wordpress.com&blog=975087&post=94&subd=sidrit&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sidrit.wordpress.com/2008/08/03/lamp-linux-apache-mysql-php-server-on-ubuntu-804/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Sidrit Trandafili</media:title>
		</media:content>
	</item>
	</channel>
</rss>