<?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/"
	>

<channel>
	<title>The Open Sourcerer &#187; Alan Lord</title>
	<atom:link href="http://www.theopensourcerer.com/author/lord_alan/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theopensourcerer.com</link>
	<description>The Magic of Open Source</description>
	<lastBuildDate>Tue, 24 Jan 2012 09:10:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>OT: Chillies 2012</title>
		<link>http://www.theopensourcerer.com/2012/01/21/ot-chillies-2012/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ot-chillies-2012</link>
		<comments>http://www.theopensourcerer.com/2012/01/21/ot-chillies-2012/#comments</comments>
		<pubDate>Sat, 21 Jan 2012 20:11:58 +0000</pubDate>
		<dc:creator>Alan Lord</dc:creator>
				<category><![CDATA[Personal Stuff]]></category>

		<guid isPermaLink="false">http://www.theopensourcerer.com/?p=3064</guid>
		<description><![CDATA[It&#8217;s that time again. This evening (Saturday 21/01/2012) I have sowed 13 varieties of chillies, just over 50 seeds! I&#8217;m very excited about the prospects for the year ahead but have absolutely no idea what I will do if I have 50 plants to tend &#8211; they won&#8217;t all fit in our small greenhouse and [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s that time again.</p>
<p>This evening (Saturday 21/01/2012) I have sowed 13 varieties of chillies, just over 50 seeds! I&#8217;m very excited about the prospects for the year ahead but have absolutely no idea what I will do if I have 50 plants to tend &#8211; they won&#8217;t all fit in our small greenhouse and we don&#8217;t have a conservatory&#8230; Suggestions welcome.</p>
<p><a href="http://www.theopensourcerer.com/wp-content/uploads/2012/01/IMG_0177.jpg"><img src="http://www.theopensourcerer.com/wp-content/uploads/2012/01/IMG_0177-300x225.jpg" alt="" title="Three chilli varieties" width="300" height="225" class="alignleft size-medium wp-image-3065" /></a> From the left there is &#8220;Black Naga&#8221; which I managed to grow last year and by the end of October the pods had ripened to a dark chocolate brown colour. They were hot too <img src='http://www.theopensourcerer.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  . Next is a Red Habanero &#8211; These seeds were a gift from my sister-in-law and I have no idea what they will be like but Habaneros are generally quite hot and a have lovely fruity flavour. Finally in this tray is Goat Horn which I also grew last year and they were an absolute delight! A lovely traditional torpedo shaped chilli with a great flavour. They aren&#8217;t blisteringly hot but a very, very nice chilli.</p>
<p class="clear">
<p><a href="http://www.theopensourcerer.com/wp-content/uploads/2012/01/IMG_0176.jpg"><img src="http://www.theopensourcerer.com/wp-content/uploads/2012/01/IMG_0176-300x225.jpg" alt="" title="Three Chilli Varieties" width="300" height="225" class="alignleft size-medium wp-image-3066" /></a> In this tray I have the famous &#8220;Dorset Naga&#8221; which has been a reliable variety over the last two seasons. Hope these seeds still germinate OK. Next is a Bhut Jolokia and to be honest I can&#8217;t remember where these seeds came from or if I have grown from this packet before, but there were only 5 seeds in the bag so they have all gone in the tray. Finally is another Habanero style called Congo Trinidad.</p>
<p class="clear">
<p><a href="http://www.theopensourcerer.com/wp-content/uploads/2012/01/IMG_0175.jpg"><img src="http://www.theopensourcerer.com/wp-content/uploads/2012/01/IMG_0175-300x225.jpg" alt="" title="Three Chilli Varieties" width="300" height="225" class="alignleft size-medium wp-image-3067" /></a> I have two varieties in this tray I also grew last year from the first time and liked them so much am growing again: Aji Crystal was quite prolific and produces big meaty chillies with a nice (but not insanely hot) kick. The Lemon Drop on the other side was also quite a good cropper and I loved the bright yellow chillies. These look great on the plate and taste yummy too &#8211; a slight citrus note. In the centre is a new variety for me this season &#8211; The Habanero 7 Pot. Called the 7 pot apparently as this is how many pots of stew one chilli will flavour! I&#8217;m really looking forward to getting these on my tongue!</p>
<p class="clear">
<p><a href="http://www.theopensourcerer.com/wp-content/uploads/2012/01/IMG_0174.jpg"><img src="http://www.theopensourcerer.com/wp-content/uploads/2012/01/IMG_0174-300x225.jpg" alt="" title="Three Chilli Varieties" width="300" height="225" class="alignleft size-medium wp-image-3068" /></a> Here are the &#8220;HOT Ones&#8221;&#8230; The <a href="http://en.wikipedia.org/wiki/Naga_Viper_pepper">Naga Viper</a> held the hottest chilli world record in 2011 for a while at around 1.4million Scovilles! However within just a few days this Viper was beaten by the <a href="http://en.wikipedia.org/wiki/Trinidad_Scorpion_Butch_T_pepper">Trinidad Scorpion &#8220;Butch T&#8221;</a> which was measured at just under 1.5million Scovilles. Also in this tray is a chilli called Portugal, which is a Jumbo Cayenne type. Not in the same league heat-wise as it&#8217;s 2 neighbours but I like a bit of variety.</p>
<p class="clear">
<p><a href="http://www.theopensourcerer.com/wp-content/uploads/2012/01/IMG_0173.jpg"><img src="http://www.theopensourcerer.com/wp-content/uploads/2012/01/IMG_0173-300x225.jpg" alt="" title="One Chilli Variety" width="300" height="225" class="alignleft size-medium wp-image-3069" /></a>And finally, I remember growing this one a few years ago and being pleasantly surprised so I thought I&#8217;d give it another go. It&#8217;s Italian seed with a description of <em>Peperoncino piccante tondo calabrese</em>. It&#8217;s a round chilli that is commonly used for stuffing or in salads. I recall it having a nice punch and the plants being excellent croppers.</p>
<p class="clear">
<p>I&#8217;ll provide updates through the year as, hopefully, the seeds germinate, plants grow and bear fruit.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theopensourcerer.com/2012/01/21/ot-chillies-2012/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>UK OpenERP Partner Community</title>
		<link>http://www.theopensourcerer.com/2011/05/12/uk-openerp-partner-community/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=uk-openerp-partner-community</link>
		<comments>http://www.theopensourcerer.com/2011/05/12/uk-openerp-partner-community/#comments</comments>
		<pubDate>Thu, 12 May 2011 10:01:56 +0000</pubDate>
		<dc:creator>Alan Lord</dc:creator>
				<category><![CDATA[FLOSS in the news]]></category>
		<category><![CDATA[OpenERP]]></category>
		<category><![CDATA[The Open Learning Centre]]></category>
		<category><![CDATA[Community]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Partner]]></category>

		<guid isPermaLink="false">http://www.theopensourcerer.com/?p=2928</guid>
		<description><![CDATA[Yesterday I had the great pleasure of meeting and chatting with most* of the businesses that are official OpenERP partners here in the UK. We met at a pub in central London, and talked for around 3hrs. Everyone seemed to get on really well and most of us took the opportunity to share our experiences [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I had the great pleasure of meeting and chatting with most* of the businesses that are official <a href="http://www.openerp.com/">OpenERP</a> partners here in the UK.</p>
<p>We met at a pub in central London, and talked for around 3hrs. Everyone seemed to get on really well and most of us took the opportunity to share our experiences and promote our individual areas of expertise. </p>
<p>Four of us ended up going for the obligatory curry after the event which was also fun and very enjoyable &#8211; especially when the waiter brought me a fresh <a href="http://en.wikipedia.org/wiki/Naga_Jolokia_pepper">Naga Chilli</a> to tantalise my taste-buds &#8211; hats off to Alan Bell and Chris from Credativ for having a taste of raw Naga. They are definitely <strong>NOT</strong> for the feint hearted&#8230;</p>
<p>The UK partners present at our inaugural meeting yesterday were (in no particular order)</p>
<p><a href="http://www.valuedecision.com/">Value Decision</a><br />
<a href="http://www.credativ.co.uk/">Credativ</a><br />
<a href="http://www.publicus-solutions.com/">Publicus Solutions</a><br />
<a href="http://www.seathsolutions.com/">Seath Solutions</a><br />
<a href="http://www.theopenlearningcentre.com">The Open Learning Centre</a></p>
<p>A business-minded community of partners represents a much more compelling proposition to our existing and prospective customer-base than do standalone partners.</p>
<p>And here&#8217;s a very dodgy picture taken by yours truly:<br />
<div id="attachment_2929" class="wp-caption alignnone" style="width: 650px"><a href="http://www.theopensourcerer.com/wp-content/uploads/2011/05/IMG_20110511_175545.jpg"><img src="http://www.theopensourcerer.com/wp-content/uploads/2011/05/IMG_20110511_175545.jpg" alt="UK OpenERP Partner Meeting" title="UK OpenERP Partner Meeting" width="640" height="480" class="size-full wp-image-2929" /></a><p class="wp-caption-text">UK OpenERP Partner Meeting</p></div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.theopensourcerer.com/2011/05/12/uk-openerp-partner-community/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to install OpenERP 6 on Ubuntu 10.04 LTS Server (Part 2 &#8211; SSL)</title>
		<link>http://www.theopensourcerer.com/2011/04/21/how-to-install-openerp-6-on-ubuntu-10-04-lts-server-part-2-ssl/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-install-openerp-6-on-ubuntu-10-04-lts-server-part-2-ssl</link>
		<comments>http://www.theopensourcerer.com/2011/04/21/how-to-install-openerp-6-on-ubuntu-10-04-lts-server-part-2-ssl/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 16:26:15 +0000</pubDate>
		<dc:creator>Alan Lord</dc:creator>
				<category><![CDATA[FLOSS in the news]]></category>
		<category><![CDATA[OpenERP]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[CalDAV]]></category>
		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://www.theopensourcerer.com/?p=2869</guid>
		<description><![CDATA[This article follows on (hopefully not unsurprisingly) from part 1. In this post I&#8217;ll describe our current way of providing SSL encrypted access to a shiny new OpenERP server running on Ubuntu 10.04 LTS Server. We&#8217;re using the Apache webserver to act as a proxy and do SSL termination for web client access and for [...]]]></description>
			<content:encoded><![CDATA[<p>This article follows on (hopefully not unsurprisingly) from <a href="http://www.theopensourcerer.com/2011/04/19/how-to-install-openerp-6-on-ubuntu-10-04-lts-server-part-1">part 1</a>.</p>
<p>In this post I&#8217;ll describe <em>our current way</em> of providing SSL encrypted access to a shiny new OpenERP server running on Ubuntu 10.04 LTS Server. </p>
<p>We&#8217;re using the Apache webserver to act as a proxy and do SSL termination for web client access and for WebDAV/CalDAV access. The GTK client will also be running over an encrypted XMLRPC link directly to the OpenERP Server. Apache is the most widely used webserver in the world and there is oodles of documentation about it so I do not plan to go into any great detail about the configuration choices. One document that is worth pointing out however is the information about how to configure and administer Apache <strong>specifically</strong> under Debian/Ubuntu. The way Apache is packaged and set up is quite different from most other Linux distributions. A very useful document can be found here <code>/usr/share/doc/apache2.2-common/README.Debian.gz</code> on your server.</p>
<p><em>NB: For the purposes of this how to, we&#8217;ll be using self-signed certificates. A discussion of the pros and cons of this choice is beyond the scope of this article.</em></p>
<h3>Step 1. Install Apache and required modules</h3>
<p>On your server install apache2 by typing</p>
<p><code>sudo apt-get install apache2</code></p>
<p>Now we&#8217;ll tell apache that we want to use a few modules (<a href="http://httpd.apache.org/docs/2.2/mod/mod_ssl.html">mod_ssl</a>, <a href="http://httpd.apache.org/docs/2.2/mod/mod_proxy.html">mod_proxy</a>, <a href="http://httpd.apache.org/docs/2.2/mod/mod_proxy_http.html">mod_proxy_http</a>, <a href="http://httpd.apache.org/docs/2.2/mod/mod_headers.html">mod_headers</a> and <a href="http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html">mod_rewrite</a> [optional]) that are not enabled by default:</p>
<p><code>sudo a2enmod ssl proxy_http headers rewrite</code></p>
<p>Next, we need to generate a SSL certificate and key.</p>
<h3>Step 2. Create your cert and key</h3>
<p>I create the files in a temporary directory then move them to their final resting place once they have been built (the first <code>cd</code> is just to make sure we are in our home directory to start with):</p>
<p><code>cd<br />
mkdir temp<br />
cd temp</code></p>
<p>Then we generate a new key, you will be asked to enter a passphrase and confirm:</p>
<p><code>openssl genrsa -des3 -out server.pkey 1024</code></p>
<p>We don&#8217;t really want to have to enter a passphrase every time the server starts up so we remove the passphrase by doing this:</p>
<p><code>openssl rsa -in server.pkey -out server.key</code></p>
<p>Next we need to create a signing request which will hold the data that will be visible in your final certificate:</p>
<p><code>openssl req -new -key server.key -out server.csr</code></p>
<p>This will generate a series of prompts like this: Enter the information as requested:</p>
<blockquote><p>
You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter &#8216;.&#8217;, the field will be left blank.<br />
&#8212;&#8211;<br />
Country Name (2 letter code) [AU]:<br />
State or Province Name (full name) [Some-State]:<br />
Locality Name (eg, city) []:<br />
Organization Name (eg, company) [Internet Widgits Pty Ltd]:<br />
Organizational Unit Name (eg, section) []:<br />
Common Name (eg, YOUR name) []:<br />
Email Address []:</p>
<p>Please enter the following &#8216;extra&#8217; attributes<br />
to be sent with your certificate request<br />
A challenge password []:<br />
An optional company name []:The Client&#8217;s Company
</p></blockquote>
<p>And finally we self-sign our certificate.</p>
<p><code>openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt</code></p>
<p>We only need two of the files in the working directory, the key and the certificate. But before we can use them they need to have their ownership and access rights altered:</p>
<p><code>sudo chown openerp:root server.crt server.key<br />
sudo chmod 640 server.crt server.key</code></p>
<p>And then we put them in a sensible place:</p>
<p><code>sudo mkdir /etc/ssl/openerp<br />
sudo chown openerp:root /etc/ssl/openerp<br />
sudo chmod 710 /etc/ssl/openerp<br />
sudo mv server.crt server.key /etc/ssl/openerp/</code></p>
<p>Now the key and certificate are safely stored away, we can tell Apache where they are:</p>
<h3>Step 3. Create the Apache site configuration file</h3>
<p>We create a new Virtual Host configuration file </p>
<p><code>sudo nano /etc/apache2/sites-available/openerp-ssl</code></p>
<p>with the following content:</p>
<blockquote><p>
<code>&lt;VirtualHost *:443&gt;</p>
<p>    SSLEngine on<br />
    SSLCertificateFile    /etc/ssl/openerp/server.crt<br />
    SSLCertificateKeyFile /etc/ssl/openerp/server.key</p>
<p>    ProxyRequests Off</p>
<p>    &lt;Proxy *&gt;<br />
        Order deny,allow<br />
        Allow from all<br />
    &lt;/Proxy&gt;</p>
<p>    ProxyVia On</p>
<p>    ProxyPass    /webdav/    http://127.0.0.1:8069/webdav/<br />
    &lt;Location /webdav/ &gt;<br />
        ProxyPassReverse /webdav/<br />
        &lt;Limit OPTIONS PROPFIND GET REPORT MKACTIVITY PROPPATCH PUT MOVE COPY DELETE LOCK UNLOCK&gt;<br />
          Order Deny,Allow<br />
          Allow from all<br />
          Satisfy Any<br />
        &lt;/Limit&gt;<br />
    &lt;/Location&gt;</p>
<p>    ProxyPass    /   http://127.0.0.1:8080/<br />
    &lt;location / &gt;<br />
        ProxyPassReverse /<br />
    &lt;/location&gt;</p>
<p>    RequestHeader set "X-Forwarded-Proto" "https"</p>
<p>    # Fix IE problem (httpapache proxy dav error 408/409)<br />
    SetEnv proxy-nokeepalive 1</p>
<p>&lt;/VirtualHost&gt;</code>
</p></blockquote>
<p>Note there are two Proxy configurations. One for <code>/webdav/</code> and one for <code>/</code>. If you do not intend to use WebDAV or CalDAV then you can remove that section. But essentially, we are telling apache that WebDAV traffic needs to go to the XMLRPC port on the OpenERP server, and normal web traffic needs to go to the web client that is listening on port 8080. The order is also important. If <code>/</code> came before <code>/webdav/</code> then it wouldn&#8217;t work.</p>
<p>And then we can enable the new site configuration.</p>
<p><code>sudo a2ensite openerp-ssl</code></p>
<p>Optionally, you can use mod_rewrite to redirect any normal (non-encrypted) web browser traffic to the SSL port (443).</p>
<p>To do this, add the following lines (outside of the <code>&lt;directory&gt;</code> config blocks) into the file <code>/etc/apache2/sites-available/default</code></p>
<blockquote><p>
RewriteEngine   on<br />
RewriteCond     %{SERVER_PORT} ^80$<br />
RewriteRule     ^(.*)$ https://%{SERVER_NAME}$1 [L,R]
</p></blockquote>
<h3>Step 4. Change the OpenERP server and web-client configuration files</h3>
<p>The next step is to re-configure the OpenERP server and Web client so that the non-encrypted services are not accessible from the outside world.</p>
<p>In <code>/etc/openerp-server.conf</code> the two non-encrypted services will only listen on localhost, i.e. not from external connections so in effect only traffic from Apache will be accepted. We also tell the XMLRPC-SSL service where to find the necessary key and certificate. </p>
<p>Make the following changes:</p>
<p><code>sudo nano /etc/openerp-server.conf</code></p>
<blockquote><p>
xmlrpc = True<br />
xmlrpc_interface = 127.0.0.1<br />
xmlrpc_port = 8069</p>
<p>netrpc = True<br />
netrpc_interface = 127.0.0.1<br />
netrpc_port = 8070</p>
<p>xmlrpcs = True<br />
xmlrpcs_interface =<br />
xmlrpcs_port = 8071<br />
secure_pkey_file = /etc/ssl/openerp/server.key<br />
secure_cert_file = /etc/ssl/openerp/server.crt
</p></blockquote>
<p>If you want to have WebDAV/CalDAV access add the following at the bottom of the config file.</p>
<blockquote><p>
[webdav]<br />
enable = True<br />
vdir = webdav
</p></blockquote>
<p>Then in the web client config file /etc/openerp-web.conf make the following changes so that it also only accepts traffic from localhost:</p>
<p><code>sudo nano /etc/openerp-web.conf</code></p>
<blockquote><p>
# Some server parameters that you may want to tweak<br />
server.socket_host = &#8220;127.0.0.1&#8243;</p>
<p># Set to True if you are deploying your App behind a proxy<br />
# e.g. Apache using mod_proxy<br />
tools.proxy.on = True</p>
<p># If your proxy does not add the X-Forwarded-Host header, set<br />
# the following to the *public* host url.<br />
tools.proxy.base = &#8216;https://your-ip-or-domain&#8217;</p>
<p># Set to false to disable CSRF checks<br />
tools.csrf.on = False
</p></blockquote>
<p>That&#8217;s it.</p>
<h3>Step 5. Try it out</h3>
<p>Restart the services to load the new configurations</p>
<p><code>sudo service openerp-server restart<br />
sudo service openerp-web restart<br />
sudo service apache2 restart</code></p>
<p>You should not be able to connect to the web client on port 8080 and the GTK client should not connect on either the NetRPC (8070) or XMLRPC (8069) services. For the web access you just need to visit https://your-ip-or-domain and in the GTK client you will need to use port 8071 and choose the XMLRPC (Secure) protocol.</p>
<p>For CalDAV access the URL to a calendar will be something like this:</p>
<p><code>https://your-ip-or-domain/webdav/DB_NAME/calendars/users/USERNAME/c/CALENDAR_NAME</code></p>
<p>I hope that is helpful and obviously we&#8217;d love to hear comments and suggestions for improvements.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theopensourcerer.com/2011/04/21/how-to-install-openerp-6-on-ubuntu-10-04-lts-server-part-2-ssl/feed/</wfw:commentRss>
		<slash:comments>74</slash:comments>
		</item>
		<item>
		<title>How to install OpenERP 6 on Ubuntu 10.04 LTS Server (Part 1)</title>
		<link>http://www.theopensourcerer.com/2011/04/19/how-to-install-openerp-6-on-ubuntu-10-04-lts-server-part-1/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-install-openerp-6-on-ubuntu-10-04-lts-server-part-1</link>
		<comments>http://www.theopensourcerer.com/2011/04/19/how-to-install-openerp-6-on-ubuntu-10-04-lts-server-part-1/#comments</comments>
		<pubDate>Tue, 19 Apr 2011 13:56:25 +0000</pubDate>
		<dc:creator>Alan Lord</dc:creator>
				<category><![CDATA[OpenERP]]></category>
		<category><![CDATA[The Open Learning Centre]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[CalDAV]]></category>
		<category><![CDATA[denyhosts]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Virtualisation]]></category>

		<guid isPermaLink="false">http://www.theopensourcerer.com/?p=2772</guid>
		<description><![CDATA[Recently at work, we&#8217;ve been setting up several new instances of OpenERP for customers. Our server operating system of choice is Ubuntu 10.04 LTS. Installing OpenERP isn&#8217;t really that hard, but having seen several other &#8220;How Tos&#8221; on-line describing various methods where none seemed to do the whole thing in what I consider to be [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.openerp.com"><img src="http://www.theopensourcerer.com/wp-content/uploads/2011/04/logo1.png" alt="OpenERP Logo" title="OpenERP Logo" width="190" height="46" class="size-full wp-image-2815 alignleft" /></a>Recently at <a href="http://www.theopenlearningcentre.com/">work</a>, we&#8217;ve been setting up several new instances of <a href="http://www.openerp.com">OpenERP</a> for customers. Our server operating system of choice is <a href="http://www.ubuntu.com/business/server/overview">Ubuntu</a> 10.04 LTS.</p>
<p>Installing OpenERP isn&#8217;t really that hard, but having seen several other &#8220;How Tos&#8221; on-line describing various methods where none seemed to do the whole thing in what I consider to be &#8220;the right way&#8221;, I thought I&#8217;d explain how we do it. <em>There are a few forum posts that I&#8217;ve come across where the advice is just plain wrong too, so do be careful.</em></p>
<p>As we tend to host OpenERP on servers that are connected to the big wide Internet, our objective is to end up with a system that is:</p>
<ul>
<ol><strong>A:</strong> Accessible only via encrypted (SSL) services from the GTK client, Web browser, WebDAV and CalDAV</ol>
<ol><strong>B:</strong> Readily upgradeable and customisable</ol>
</ul>
<p>One of my friends said to me recently, &#8220;surely it&#8217;s just <code>sudo apt-get install openerp-server</code> isn&#8217;t it?&#8221; Fair enough; this would actually work. But there are several problems I have with using a packaged implementation in this instance:</p>
<ul>
<li>Out-of-date. The latest packaged version I could see, in either the Ubuntu or Debian repositories, was 5.0.15. OpenERP is now at 6.0.3 and is a major upgrade from the 5.x series.</li>
<li>Lack of control. Being a business application, with many configuration choices, it can be harder to tweak <em>your way</em> when the packager determined that one particular way was the &#8220;true path&#8221;.</li>
<li>Upgrades and patches. Knowing how, where and why your OpenERP instance is installed the way it is, means you can decide when and how to update it and patch it, or add custom modifications.</li>
</ul>
<p>So although the way I&#8217;m installing OpenERP below is manual, it gives us a much more fine-grained level of control. Without further ado then here is <em>my way</em> as it stands currently (&#8220;currently&#8221; because you can almost always improve things. <em>HINT: suggestions for improvement gratefully accepted</em>).</p>
<p><em>[Update 18/08/2011: I've updated this post for the new 6.0.3 release of OpenERP]</em></p>
<h3>Step 1. Build your server</h3>
<p>I install just the bare minimum from the install routine (you can install the openssh-server during the install procedure or install subsequently depending on your preference).</p>
<p>After the server has restarted for the first time I install the openssh-server package (so we can connect to it remotely) and <a href="http://denyhosts.sourceforge.net/">denyhosts</a> to add a degree of brute-force attack protection. There are other protection applications available: I&#8217;m not saying this one is the best, but it&#8217;s one that works and is easy to configure and manage. <em>If you don&#8217;t already, it&#8217;s also worth looking at setting up key-based ssh access, rather than relying on passwords. This can also help to limit the potential of brute-force attacks.</em> [NB: This isn't a How To on securing your server...]</p>
<p><code>sudo apt-get install openssh-server denyhosts</code></p>
<p>Now make sure you are running all the latest patches by doing an update:</p>
<p><code>sudo apt-get update</code><br />
<code>sudo apt-get dist-upgrade</code></p>
<p>Although not always essential it&#8217;s probably a good idea to reboot your server now and make sure it all comes back up and you can still login via ssh.</p>
<p>Now we&#8217;re ready to start the OpenERP install.</p>
<h3>Step 2. Create the OpenERP user that will own and run the application</h3>
<p><code>sudo adduser --system --home=/opt/openerp --group openerp</code></p>
<p>This is a &#8220;system&#8221; user. It is there to own and run the application, it isn&#8217;t supposed to be a <em>person type</em> user with a login etc. In Ubuntu, a system user gets a UID below 1000, has no shell (well it&#8217;s actually <code>/bin/false</code>) and has logins disabled. Note that I&#8217;ve specified a &#8220;home&#8221; of <code>/opt/openerp</code>, this is where the OpenERP server, and optional web client, code will reside and is created automatically by the command above. The location of the server code is your choice of course, but be aware that some of the instructions and configuration files below may need to be altered if you decide to install to a different location. </p>
<h3>Step 3. Install and configure the database server, PostgreSQL</h3>
<p><code>sudo apt-get install postgresql</code></p>
<p>Then configure the OpenERP user on postgres:</p>
<p>First change to the postgres user so we have the necessary privileges to configure the database.</p>
<p><code>sudo su - postgres</code></p>
<p>Now create a new database user. This is so OpenERP has access rights to connect to PostgreSQL and to create and drop databases. Remember what your choice of password is here; you will need it later on:</p>
<p><code>createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt openerp<br />
    Enter password for new role: ********<br />
    Enter it again: ********</code></p>
<p><em>[Update 18/08/2011: I have added the <code>--no-superuser</code> switch. There is no need for the openerp database user to have superuser privileges.]</em></p>
<p>Finally exit from the postgres user account:</p>
<p><code>exit</code></p>
<h3>Step 4. Install the necessary Python libraries for the server</h3>
<p><code>sudo apt-get install python python-psycopg2 python-reportlab \<br />
     python-egenix-mxdatetime python-tz python-pychart python-mako \<br />
     python-pydot python-lxml python-vobject python-yaml python-dateutil \<br />
     python-pychart python-webdav</code></p>
<p>And if you plan to use the Web client install the following:</p>
<p><code>sudo apt-get install python-cherrypy3 python-formencode python-pybabel \<br />
     python-simplejson python-pyparsing</code></p>
<h3>Step 5. Install the OpenERP server, and optional web client, code</h3>
<p>I tend to use wget for this sort of thing and I download the files to my home directory. </p>
<p>Make sure you get the latest version of the application files. At the time of writing this it&#8217;s <del datetime="2011-08-18T17:32:16+00:00">6.0.2</del> 6.0.3; I got the download links from their <a href="http://www.openerp.com/downloads">download page</a>.</p>
<p><code>wget http://www.openerp.com/download/stable/source/openerp-server-6.0.3.tar.gz</code></p>
<p>And if you want the web client:</p>
<p><code>wget http://www.openerp.com/download/stable/source/openerp-web-6.0.3.tar.gz</code></p>
<p>Now install the code where we need it: cd to the <code>/opt/openerp/</code> directory and extract the tarball(s) there.</p>
<p><code>cd /opt/openerp<br />
sudo tar xvf ~/openerp-server-6.0.3.tar.gz<br />
sudo tar xvf ~/openerp-web-6.0.3.tar.gz</code></p>
<p>Next we need to change the ownership of all the the files to the openerp user and group.</p>
<p><code>sudo chown -R openerp: *</code></p>
<p>And finally, the way I have done this is to copy the server and web client directories to something with a simpler name so that the configuration files and boot scripts don&#8217;t need constant editing (I call them, rather unimaginatively, <code>server</code> and <code>web</code>). I started out using a <a href="http://en.wikipedia.org/wiki/Symbolic_link">symlink</a> solution, but I found that when it comes to upgrading, it seems to make more sense to me to just keep a copy of the files in place and then overwrite them with the new code. This way you keep any custom or user-installed modules and reports etc. all in the right place.</p>
<p><code>sudo cp -a openerp-server-6.0.3 server<br />
sudo cp -a openerp-web-6.0.3 web</code></p>
<p>As an example, should OpenERP 6.0.4 come out next, I can extract the tarballs into <code>/opt/openerp/</code> as above. I can do any testing I need, then repeat the copy command (replacing 6.0.3 obviously) so that the modified files will overwrite as needed and any custom modules, report templates and such will be retained. Once satisfied the upgrade is stable, the older 6.0.3 directories can be removed if wanted.</p>
<p>That&#8217;s the OpenERP server and web client software installed. The last steps to a working system are to set up the two (server and web client) configuration files and associated <code>init</code> scripts so it all starts and stops automatically when the server boots and shuts down.</p>
<h3>Step 6. Configuring the OpenERP application</h3>
<p>The default configuration file for the server (in <code>/opt/openerp/server/doc/</code>) could really do with laying out a little better and a few more comments in my opinion. I&#8217;ve started to tidy up this config file a bit and <a href='http://www.theopensourcerer.com/wp-content/uploads/2011/04/openerp-server.conf'>here is a link</a> to the one I&#8217;m using at the moment (with the obvious bits changed). You need to copy or paste the contents of this file into <code>/etc/</code> and call the file <code>openerp-server.conf</code>. Then you should secure it by changing ownership and access as follows:</p>
<p><code>sudo chown openerp:root /etc/openerp-server.conf<br />
sudo chmod 640 /etc/openerp-server.conf</code></p>
<p>The above commands make the file owned and writeable only by the openerp user and only readable by openerp and root.</p>
<p>To allow the OpenERP server to run initially, you should only need to change one line in this file. Toward to the top of the file change the line <code>db_password = ********</code> to have the same password you used way back in step 3.  Use your favourite text editor here. I tend to use nano, e.g. <code>sudo nano /etc/openerp-server.conf</code></p>
<p>Once the config file is edited, you can start the server if you like just to check if it actually runs.</p>
<p><code>/opt/openerp/server/bin/openerp-server.py --config=/etc/openerp-server.conf</code></p>
<p>It won&#8217;t really work just yet as it isn&#8217;t running as the openerp user. It&#8217;s running as your normal user so it won&#8217;t be able to talk to the PostgreSQL database. Just type <code>CTL+C</code> to stop the server.</p>
<h3>Step 7. Installing the boot script</h3>
<p>For the final step we need to install a script which will be used to start-up and shut down the server automatically and also run the application as the correct user. <a href='http://www.theopensourcerer.com/wp-content/uploads/2011/04/openerp-server'>Here&#8217;s a link to the one</a> I&#8217;m using currently.</p>
<p>Similar to the config file, you need to either copy it or paste the contents of this script to a file in <code>/etc/init.d/</code> and call it <code>openerp-server</code>. Once it is in the right place you will need to make it executable and owned by root:</p>
<p><code>sudo chmod 755 /etc/init.d/openerp-server<br />
sudo chown root: /etc/init.d/openerp-server</code></p>
<p>In the config file there&#8217;s an entry for the server&#8217;s log file. We need to create that directory first so that the server has somewhere to log to and also we must make it writeable by the openerp user:</p>
<p><code>sudo mkdir /var/log/openerp<br />
sudo chown openerp:root /var/log/openerp</code></p>
<h3>Step 8. Testing the server</h3>
<p>To start the OpenERP server type:</p>
<p><code>sudo /etc/init.d/openerp-server start</code></p>
<p>You should now be able to view the logfile and see that the server has started.</p>
<p><code>less /var/log/openerp/openerp-server.log</code></p>
<p><em>If there are any problems starting the server now you need to go back and check. There&#8217;s really no point ploughing on if the server doesn&#8217;t start&#8230;</em></p>
<div id="attachment_2794" class="wp-caption alignright" style="width: 528px"><img src="http://www.theopensourcerer.com/wp-content/uploads/2011/04/Screenshot-OpenERP-Login.png" alt="OpenERP - First Login" title="OpenERP - First Login" width="518" height="268" class="size-full wp-image-2794" /><p class="wp-caption-text">OpenERP - First Login</p></div>
<p>If you now start up the GTK client and point it at your new server you should see a message like this:</p>
<p>Which is a good thing. It means the server is accepting connections and you do not have a database configured yet. I will leave configuring and setting up OpenERP as an exercise for the reader. This is a how to for installing the server. Not a how to on using and configuring OpenERP itself&#8230;</p>
<p>What I do recommend you do at this point is to change the super admin password to something nice and strong. By default it is &#8220;admin&#8221; and with that a user can create, backup, restore <strong>and</strong> drop databases (in the GTK client, go to the file menu and choose the Databases -> Administrator Password option to change it). This password is written as plain text into the /etc/openerp-server.conf file. Hence why we restricted access to just openerp and root. </p>
<p><em>One rather strange thing I&#8217;ve just realised is that when you change the super admin password and save it, OpenERP completely re-writes the config file. It removes all comments and scatters the configuration entries randomly throughout the file. I&#8217;m not sure as of now if this is by design or not.</em></p>
<p>Now it&#8217;s time to make sure the server stops properly too: </p>
<p><code>sudo /etc/init.d/openerp-server stop</code></p>
<p>Check the logfile again to make sure it has stopped and/or look at your server&#8217;s process list.</p>
<h3>Step 9. Automating OpenERP startup and shutdown</h3>
<p>If everything above seems to be working OK, the final step is make the script start and stop automatically with the Ubuntu Server. To do this type:</p>
<p><code>sudo update-rc.d openerp-server defaults</code></p>
<p>You can now try rebooting you server if you like. OpenERP should be running by the time you log back in.</p>
<p>If you type <code>ps aux | grep openerp</code> you should see a line similar to this:</p>
<p><code>openerp    708  3.8  5.8 181716 29668 ?  Sl   21:05   0:00 python /opt/openerp/server/bin/openerp-server.py -c /etc/openerp-server.conf</code></p>
<p>Which shows that the server is running. And of course you can check the logfile or use the GTK client too.</p>
<h3>Step 10. Configure and automate the Web Client</h3>
<p>Although it&#8217;s called the web <em>client</em>, it&#8217;s really another server-type application which [ahem] <em>serves</em> OpenERP to users via a web browser instead of the GTK desktop client. </p>
<p>If you want to use the web client too, it&#8217;s basically just a repeat of steps 6, 7, 8 and 9. </p>
<p>The <a href='http://www.theopensourcerer.com/wp-content/uploads/2011/04/openerp-web.conf'>default configuration file for the web client</a> (can also be found in /opt/openerp/web/doc/openerp-web.cfg) is laid out more nicely than the server one and should work as is when both the server and web client are installed on the same machine as we are doing here. I have changed one line to turn on error logging and point the file at our <code>/var/log/openerp/</code> directory. For our installation, the file should reside in <code>/etc/</code>, be called <code>openerp-web.conf</code> and have it&#8217;s owner and access rights set as with the server configuration file:</p>
<p><code>sudo chown openerp:root /etc/openerp-web.conf<br />
sudo chmod 640 /etc/openerp-web.conf</code></p>
<p>Here is a <a href='http://www.theopensourcerer.com/wp-content/uploads/2011/04/openerp-web'>web client boot script</a>. This needs to go into <code>/etc/init.d/</code>, be called <code>openerp-web</code> and be owned by root and executable.</p>
<p><code>sudo chmod 755 /etc/init.d/openerp-web<br />
sudo chown root: /etc/init.d/openerp-web</code></p>
<p>You should now be able to start the web server by entering the following command:</p>
<p><code>sudo /etc/init.d/openerp-web start</code></p>
<p>Check the web client is running by looking in the log file, looking at the process log and, of course, connecting to your OpenERP server with a web browser. The web client by default runs on port 8080 so the URL to use is something like this: <code>http://my-ip-or-domain:8080</code></p>
<p>Make sure the web client stops properly:</p>
<p><code>sudo /etc/init.d/openerp-web stop</code></p>
<p>And then configure it to start and stop automatically.</p>
<p><code>sudo update-rc.d openerp-web defaults</code></p>
<p>You should now be able to reboot your server and have the OpenERP server and web client start and stop automatically.</p>
<p>I think that will do for this post. It&#8217;s long enough as it is! </p>
<p>I&#8217;ll do a part 2 in a little while where I&#8217;ll cover using apache, ssl and mod_proxy to provide encrypted access to all services. </p>
<p><strong>[UPDATE: <a href="http://www.theopensourcerer.com/2011/04/21/how-to-install-openerp-6-on-ubuntu-10-04-lts-server-part-2-ssl/">Part 2 is here</a>]</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.theopensourcerer.com/2011/04/19/how-to-install-openerp-6-on-ubuntu-10-04-lts-server-part-1/feed/</wfw:commentRss>
		<slash:comments>147</slash:comments>
		</item>
		<item>
		<title>BSA Supporting Free &amp; Open Source Software</title>
		<link>http://www.theopensourcerer.com/2011/03/04/bsa-supporting-free-open-source-software/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=bsa-supporting-free-open-source-software</link>
		<comments>http://www.theopensourcerer.com/2011/03/04/bsa-supporting-free-open-source-software/#comments</comments>
		<pubDate>Fri, 04 Mar 2011 09:31:14 +0000</pubDate>
		<dc:creator>Alan Lord</dc:creator>
				<category><![CDATA[FLOSS in the news]]></category>
		<category><![CDATA[The Open Learning Centre]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Licenses]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.theopensourcerer.com/?p=2727</guid>
		<description><![CDATA[Recently I&#8217;ve been getting, what I initially and mistakenly assumed to be, spam in my inbox from the Business Software Alliance. An organisation that doesn&#8217;t immediately spring to mind when thinking about Freedom and choice in software. This spam marketing literature however, is actually a very compelling call to action for those businesses that aren&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_2728" class="wp-caption alignleft" style="width: 207px"><a href="http://www.theopensourcerer.com/wp-content/uploads/2011/03/bsa-spam.png"><img src="http://www.theopensourcerer.com/wp-content/uploads/2011/03/bsa-spam-197x300.png" alt="BSA SPAM" title="BSA SPAM" width="197" height="300" class="size-medium wp-image-2728" /></a><p class="wp-caption-text">BSA SPAM</p></div>Recently I&#8217;ve been getting, what I initially and mistakenly assumed to be, spam in my inbox from the <a href="http://www.bsa.org">Business Software Alliance</a>. An organisation that doesn&#8217;t immediately spring to mind when thinking about Freedom and choice in software. </p>
<p>This <del datetime="2011-03-04T08:24:31+00:00">spam</del> marketing literature however, is actually a very compelling call to action for those businesses that aren&#8217;t already protecting themselves by using <a href="http://en.wikipedia.org/wiki/Free_and_open_source_software">Free and Open Source Software</a>. If the image isn&#8217;t terribly legible, here are a few of the juicy bits just SCREAMING at you to think very carefully about the software choices you make in your business.</p>
<blockquote><h3>Your boss wouldn’t ask you to steal or commit fraud, would they? So why do they ask you to use unlicensed software?</h3>
</blockquote>
<p>Note the phrasing: &#8220;unlicensed software&#8221;. Of course Free software is licensed, so that&#8217;s OK then. There are lots of great <a href="http://www.opensource.org/licenses/alphabetical">Free Software licenses</a>.</p>
<p>Here&#8217;s the bit where the BSA really start to suggest you should be using Free Software.</p>
<blockquote><p>
<strong>Here&#8217;s how easy it is to get caught up using illegal software:</strong>	 </p>
<ul>
<li>One or more software licenses are bought, but the software is installed on more PCs than the licenses permit</li>
<li>Software is purchased for an employee’s home PC and is also installed on to a work PC</li>
</ul>
</blockquote>
<p>These activities are perfectly OK and in-fact <em>encouraged</em> with licensed Free software. A <a href="http://www.gnu.org/philosophy/free-sw.html">Free Software License</a> gives a user the freedom to do these things; It&#8217;s called freedom 2: <em>The freedom to redistribute copies so you can help your neighbor.</em> 	  	  	 </p>
<blockquote>
<ul>
<li>Font designs and software are downloaded illegally from the internet</li>
</ul>
</blockquote>
<p>You can download <strong><em>legally</em></strong> lots of font designs from places such as the <a href="http://openfontlibrary.org/">Open Font Library</a> and Google&#8217;s <a href="http://www.google.com/webfonts">WebFont Library</a> online. </p>
<p>The recently released Ubuntu font is an excellent example of a high quality, freely available font.. You can read about it <a href="http://font.ubuntu.com/">here</a>, get it from <a href="http://font.ubuntu.com/download/ubuntu-font-family-0.70.1.zip">here</a> and even get the font source from <a href="http://font.ubuntu.com/download/ubuntu-font-family-sources_0.70.1.orig.tar.gz">here</a>. You may also choose to use the <a href="http://code.google.com/apis/webfonts/docs/getting_started.html">Google Font API</a> to use it freely on your website from <a href="http://www.google.com/webfonts/family?family=Ubuntu&#038;subset=latin">here</a>.</p>
<p>And as for downloading &#8220;software&#8221; well, there&#8217;s probably more Free software available for download than the BSA could shake a stick at.</p>
<p>So please, consider carefully what our friends at the BSA have to say and talk your bosses or employees about the choices they make. Using properly licensed software is not hard. You don&#8217;t have to be at risk from even making a simple mistake. Using licensed Free software protects you.</p>
<p>If you are in a business and want advice on the choices available there are companies such as <a href="http://www.theopenlearningcentre.com/">our own</a> that can help. The BSA would rather your employees take you to the cleaners&#8230;</p>
<blockquote><h3>So, if you know of a company that is using unlicensed software, please let us know now. You could receive a reward of up to £10,000.</h3>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.theopensourcerer.com/2011/03/04/bsa-supporting-free-open-source-software/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Packt Publishing Supports Open Source by $300,000 (So far)</title>
		<link>http://www.theopensourcerer.com/2011/03/02/packt-publishing-supports-open-source-by-300000-so-far/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=packt-publishing-supports-open-source-by-300000-so-far</link>
		<comments>http://www.theopensourcerer.com/2011/03/02/packt-publishing-supports-open-source-by-300000-so-far/#comments</comments>
		<pubDate>Wed, 02 Mar 2011 20:14:33 +0000</pubDate>
		<dc:creator>Alan Lord</dc:creator>
				<category><![CDATA[FLOSS in the news]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Moodle]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Packt]]></category>

		<guid isPermaLink="false">http://www.theopensourcerer.com/?p=2714</guid>
		<description><![CDATA[You&#8217;ve probably noticed that I&#8217;ve reviewed a couple of books for Packt before; they asked me and I was happy to (I got a free book for my time and learned some new stuff). Last year I felt rather honoured when asked to be a judge on their popular Open Source Awards &#8211; In the [...]]]></description>
			<content:encoded><![CDATA[<p>You&#8217;ve probably noticed that I&#8217;ve reviewed a couple of books for <a href="http://www.packtpub.com/">Packt</a> before; they asked me and I was happy to (I got a free book for my time and learned some new stuff). Last year I felt rather honoured when asked to be a judge on their popular Open Source Awards &#8211; In the Open Source E-Commerce Applications category. </p>
<p>They&#8217;re a a modern Publishing business which. since last year, has a specialist brand <em><a href="http://www.packtpub.com/open-source">Packt Open Source</a></em>. It&#8217;s a business I&#8217;m quite happy to help promote and support as they reciprocate by supporting the communities and projects we all use everyday.</p>
<p>Today they announced a bit of a milestone. </p>
<blockquote><h2>Packt Publishing Believes in Open Source, Donates Over $300K to Projects</h2>
<p>Birmingham, UK. 2nd March 2011</p>
<p>Packt today announced that its donations to open source projects have surpassed the $300,000 mark. Following its first donation to the phpMyAdmin project in April 2004, the company has gone on to provide sustained support for over 70 different open source projects. </p>
<p>Packt has introduced initiatives such as the annual Open Source Award and Open Source Project Royalty Scheme to provide sustained donations to projects over the last six years.</p>
<p>“Most of the money that we&#8217;ve used, donated from Packt has gone towards running jQuery conferences for the community and bringing together the jQuery team to do development work together.” said John Resig, the founder of the popular JavaScript library, jQuery. “The financial contributions have been very valuable and in that regard, have resulted in a team that&#8217;s able to operate much more efficiently and effectively.”</p>
<p>The Open Source Awards, now in its fifth year, has been adapted from the established Open Source Content Management System (CMS) Award with the wider aim of encouraging,<br />
supporting, recognizing and rewarding all open source projects. “The support that Packt has shown, through its book royalties and awards, has contributed to that success and helped the Drupal project handle its growth”. Added Dries Buytaert, founder of the CMS Drupal, winner of the 2007 and 2008’s Overall CMS Award, and a project which also benefits from Packt’s Open Source Project Royalty Scheme.</p>
<p>The Open Source Project Royalty Scheme allows projects to benefit from the publication of a Packt book, as they are allocated a percentage of every copy sold. “This is a support system that we provide to every open source project that we publish on” said Julian Copes, a spokesperson for Packt Open Source. “Packt is proud to have reached this significant milestone and remains committed to keeping donations at the heart of its long-term publishing strategy.”</p>
<p>Open source software is freely available and free from restrictions. Open source projects survive largely on financial donations and support to cover the essential costs of running an<br />
open source project. Therefore, regular donations are vital for their ongoing development and relevancy. “Moodle is grateful for the royalty donations that Packt have volunteered to send us as part of their Open Source Project Royalty Scheme.” said Martin Dougiamas, founder of Moodle the hugely popular open source course management system. “The money donated helps us fund a developer for a few months a year and thus contributes directly towards Moodle core development, support and improvements in the future.”</p>
<p>Are you an open source project that Packt has published a book on? Packt believes in Open Source and your project may be able to receive support through the Open Source Project Royalty Scheme. Simply contact Packt: <a href="mailto:royalty@packtpub.com">royalty@packtpub.com</a>.</p>
<p>Interested in which projects receive support through the Open Source Project Royalty Scheme? Click <a href="http://www.packtpub.com/open-source">here</a> to view all projects involved.</p></blockquote>
<p>I wonder how long it will be until they reach $500,000 in contributions&#8230;?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theopensourcerer.com/2011/03/02/packt-publishing-supports-open-source-by-300000-so-far/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>OT &#8211; The return of the Chillies</title>
		<link>http://www.theopensourcerer.com/2011/01/29/ot-the-return-of-the-chillies/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ot-the-return-of-the-chillies</link>
		<comments>http://www.theopensourcerer.com/2011/01/29/ot-the-return-of-the-chillies/#comments</comments>
		<pubDate>Sat, 29 Jan 2011 19:25:08 +0000</pubDate>
		<dc:creator>Alan Lord</dc:creator>
				<category><![CDATA[Personal Stuff]]></category>
		<category><![CDATA[Chilli]]></category>

		<guid isPermaLink="false">http://www.theopensourcerer.com/?p=2692</guid>
		<description><![CDATA[It&#8217;s that time of year again and hopefully I will have a better year than last for my chilli crop. I&#8217;m not really sure what went wrong but for some reason, after potting the germinated seedlings on, they grew a little bit and then just sort of stopped growing&#8230; They didn&#8217;t die, but just didn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s that time of year again and hopefully I will have a better year than last for my chilli crop.</p>
<p>I&#8217;m not really sure what went wrong but for some reason, after <a href="http://www.theopensourcerer.com/2010/03/13/ot-quick-update-on-the-chillies/">potting the germinated seedlings on</a>, they grew a little bit and then just sort of stopped growing&#8230; They didn&#8217;t die, but just didn&#8217;t any bigger. So last year I didn&#8217;t really get a harvest at all.</p>
<div id="attachment_2693" class="wp-caption alignleft" style="width: 310px"><a href="http://www.theopensourcerer.com/wp-content/uploads/2011/01/chillies-1.jpg"><img src="http://www.theopensourcerer.com/wp-content/uploads/2011/01/chillies-1-300x202.jpg" alt="Chilli Choices" title="Chilli Choices" width="300" height="202" class="size-medium wp-image-2693" /></a><p class="wp-caption-text">Chilli Choices</p></div>
<p>Anyway. It&#8217;s a new year and I have several new varieties to try so today I have selected eight and set them off to germinate in the airing cupboard.</p>
<p>My choices for this year are (from top left clockwise): The Black Naga, The Dorset Naga, Goat Horn, Lemon Drop, Aji Crystal, Caribbean Red Hot, Naga Jolokia, Bangalore Tornado.</p>
<p>All of these are what most people would call very hot chillies. However the three Naga varieties should all be outrageously hot. </p>
<p><div id="attachment_2697" class="wp-caption alignright" style="width: 310px"><a href="http://www.theopensourcerer.com/wp-content/uploads/2011/01/chillies-2.jpg"><img src="http://www.theopensourcerer.com/wp-content/uploads/2011/01/chillies-2-300x258.jpg" alt="Seeds prepared for germination" title="Seeds prepared for germination" width="300" height="258" class="size-medium wp-image-2697" /></a><p class="wp-caption-text">Seeds prepared for germination</p></div>I&#8217;ve used my usual method of germination which I find is fast and more reliable compared to more traditional techniques. I place a couple of sheets of unbleached, recycled toilet paper (clean of course) into the bottom of some plastic takeaway containers. I get the paper nice and wet with some luke-warm water then gently place the seeds on top of the damp paper. I can easily get two varieties in one box. Then I put the lid on (this helps to keep the moisture in the box and stop them drying out) and stick them in the airing cupboard. I find germination usually takes place within a week to 10 days and then as soon as they sprout I move the seedlings into small pots with decent potting compost. Here&#8217;s some I prepared earlier <img src='http://www.theopensourcerer.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Incidentally, I&#8217;ve recently discovered that a mate in my local pub also <em>&#8220;likes it hot&#8221;</em> and we have decided to hold a Naga eating challenge planned for later this year. We&#8217;ll probably try and record it and put it on Youtube.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theopensourcerer.com/2011/01/29/ot-the-return-of-the-chillies/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SSH Sessions Timing Out?</title>
		<link>http://www.theopensourcerer.com/2010/12/08/ssh-sessions-timing-out/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ssh-sessions-timing-out</link>
		<comments>http://www.theopensourcerer.com/2010/12/08/ssh-sessions-timing-out/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 22:43:27 +0000</pubDate>
		<dc:creator>Alan Lord</dc:creator>
				<category><![CDATA[Personal Stuff]]></category>
		<category><![CDATA[Runes and tales]]></category>
		<category><![CDATA[The Open Learning Centre]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.theopensourcerer.com/?p=2648</guid>
		<description><![CDATA[Now this might be common knowledge but it took me while searching and scratching about to find the right solution. As many others do I&#8217;m sure, I use ssh terminal sessions a lot. I&#8217;ve often got half a dozen open at once either in separate terminals or in Terminator for example. Sometimes if I don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Now this might be common knowledge but it took me while searching and scratching about to find the right solution.</p>
<p>As many others do I&#8217;m sure, I use ssh terminal sessions <strong>a lot</strong>. I&#8217;ve often got half a dozen open at once either in separate terminals or in <a href="http://software.jessies.org/terminator/">Terminator</a> for example. Sometimes if I don&#8217;t update them for a reasonable length of time they simply lock up so that I have no response at all. I&#8217;ve not actually timed this issue but I expect it is happening somewhere between 10 and 30 minutes of inactivity. </p>
<p>After getting annoyed for the umpteenth time today I finally did some serious searching&#8230; I concluded that this lock-up is probably due to my broadband router. It wasn&#8217;t happening across the local LAN or when I was connecting from other locations so I already suspected my broadband service. I suspect that it&#8217;s a NAT cache timeout or something but that&#8217;s not really important.</p>
<p>Several howtos I found discussing various timeout problems suggested editing the ssh config file <em>on the server</em>. This is fine if you know which server(s) you will be connecting too all the time and of course if there don&#8217;t happen to be hundreds of them that you need to re-configure. But if you don&#8217;t know or do use many machines then that&#8217;s not an ideal solution at all.</p>
<p>I think this is though <img src='http://www.theopensourcerer.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>If you haven&#8217;t already got one, make a file in your home ssh directory (on Ubuntu it is normally found in <code>~/.ssh</code>):</p>
<p><code>touch ~/.ssh/config</code></p>
<p>Open it with your favourite editor and enter a line something like this:</p>
<p><code>ServerAliveInterval 120</code></p>
<p>Then save and close it. From my initial tests this seems to do the trick nicely. </p>
<p>According to the manual it:</p>
<blockquote><p>
Sets a timeout interval in seconds after which if no data has been received from the server, ssh(1) will send a message through the encrypted channel to request a response from the server.  The default is 0, indicating that these messages will not be sent to the server, or 300 if the BatchMode option is set.  This option applies to protocol version 2 only.  ProtocolKeepAlives and SetupTimeOut are Debian-specific compatibility aliases for this option.
</p></blockquote>
<p>This is one of those things I should have done ages ago. I hope this help others who find their ssh sessions mysteriously hanging.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theopensourcerer.com/2010/12/08/ssh-sessions-timing-out/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>A Good Pub Guide: The White Hart, Sherington</title>
		<link>http://www.theopensourcerer.com/2010/11/11/a-good-pub-guide-the-white-hart-sherington/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=a-good-pub-guide-the-white-hart-sherington</link>
		<comments>http://www.theopensourcerer.com/2010/11/11/a-good-pub-guide-the-white-hart-sherington/#comments</comments>
		<pubDate>Thu, 11 Nov 2010 22:07:50 +0000</pubDate>
		<dc:creator>Alan Lord</dc:creator>
				<category><![CDATA[Personal Stuff]]></category>
		<category><![CDATA[Runes and tales]]></category>
		<category><![CDATA[The Open Learning Centre]]></category>
		<category><![CDATA[Beer]]></category>
		<category><![CDATA[Cambridge]]></category>
		<category><![CDATA[CRM]]></category>
		<category><![CDATA[Food]]></category>
		<category><![CDATA[Milton Keynes]]></category>
		<category><![CDATA[OpenERP]]></category>
		<category><![CDATA[Pubs]]></category>
		<category><![CDATA[vtiger]]></category>

		<guid isPermaLink="false">http://www.theopensourcerer.com/?p=2599</guid>
		<description><![CDATA[If you travel around the country on business it can be a very tiresome and soul-destroying experience. Especially when you end up having to stay in one of the bland, clinical, plastic and totally soulless hotels that the TV adverts would suggest are something altogether different. I&#8217;ve never liked these places and so I do [...]]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_2601" class="wp-caption alignright" style="width: 317px"><a href="http://www.whitehartsherington.com"><img src="http://www.theopensourcerer.com/wp-content/uploads/2010/11/white-hart.jpg" alt="The White Hart, Sherington" title="The White Hart, Sherington" width="307" height="230" class="size-full wp-image-2601" /></a><p class="wp-caption-text">The White Hart, Sherington</p></div>If you travel around the country on business it can be a very tiresome and soul-destroying experience. Especially when you end up having to stay in one of the bland, clinical, plastic and totally soulless hotels that the TV adverts would suggest are something altogether different. I&#8217;ve never liked these places and so I do try to find interesting, more characterful lodgings to stay that are not expensive. Often the best to look out for are Pubs with accommodation.</p>
<p>Earlier this week, we had a bit of a road trip on our hands&#8230; A day discussing <a href="http://www.openerp.com/">OpenERP</a> in Cambridge and the next day  <a href="http://vtiger.com/">vtiger</a> CRM consulting in Milton Keynes which is not too far away, so we needed somewhere to stay to avoid driving a 200+ mile round trip.</p>
<p>We found a <a href="http://www.whitehartsherington.com/">real gem of place</a>! A very attractive country pub with extremely pleasant rooms, very friendly service, fantastic food (the Mixed Grill was really, really excellent), good beer and entertaining and congenial locals too.</p>
<p>If you happen to be working around the Bedford, Milton Keynes, Newport Pagnell area and want somewhere to stay, I whole-heartedly recommend you check out <a href="http://www.whitehartsherington.com/">The White Hart in Sherington</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theopensourcerer.com/2010/11/11/a-good-pub-guide-the-white-hart-sherington/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to remove Mono from Ubuntu 10.10 Maverick Meerkat</title>
		<link>http://www.theopensourcerer.com/2010/10/10/how-to-remove-mono-from-ubuntu-10-10-maverick-meercat/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-remove-mono-from-ubuntu-10-10-maverick-meercat</link>
		<comments>http://www.theopensourcerer.com/2010/10/10/how-to-remove-mono-from-ubuntu-10-10-maverick-meercat/#comments</comments>
		<pubDate>Sun, 10 Oct 2010 13:18:26 +0000</pubDate>
		<dc:creator>Alan Lord</dc:creator>
				<category><![CDATA[Personal Stuff]]></category>
		<category><![CDATA[Runes and tales]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Mono]]></category>

		<guid isPermaLink="false">http://www.theopensourcerer.com/?p=2506</guid>
		<description><![CDATA[sudo apt-get purge libmono* cli-common The following packages will be REMOVED cli-common* gbrainy* libappindicator0.1-cil* libart2.0-cil* libgconf2.0-cil* libglade2.0-cil* libglib2.0-cil* libgmime2.4-cil* libgnome-vfs2.0-cil* libgnome2.24-cil* libgnomepanel2.24-cil* libgtk2.0-cil* liblaunchpad-integration1.0-cil* libmono-addins-gui0.2-cil* libmono-addins0.2-cil* libmono-cairo2.0-cil* libmono-corlib2.0-cil* libmono-i18n-west2.0-cil* libmono-management2.0-cil* libmono-posix2.0-cil* libmono-security2.0-cil* libmono-sharpzip2.84-cil* libmono-system2.0-cil* libndesk-dbus-glib1.0-cil* libndesk-dbus1.0-cil* mono-2.0-gac* mono-csharp-shell* mono-gac* mono-gmcs* mono-runtime* tomboy* 0 upgraded, 0 newly installed, 31 to remove and 0 not upgraded.]]></description>
			<content:encoded><![CDATA[<p><code>sudo apt-get purge libmono* cli-common</code></p>
<blockquote><p>
<code>The following packages will be REMOVED<br />
  cli-common* gbrainy* libappindicator0.1-cil* libart2.0-cil* libgconf2.0-cil*<br />
  libglade2.0-cil* libglib2.0-cil* libgmime2.4-cil* libgnome-vfs2.0-cil*<br />
  libgnome2.24-cil* libgnomepanel2.24-cil* libgtk2.0-cil*<br />
  liblaunchpad-integration1.0-cil* libmono-addins-gui0.2-cil*<br />
  libmono-addins0.2-cil* libmono-cairo2.0-cil* libmono-corlib2.0-cil*<br />
  libmono-i18n-west2.0-cil* libmono-management2.0-cil* libmono-posix2.0-cil*<br />
  libmono-security2.0-cil* libmono-sharpzip2.84-cil* libmono-system2.0-cil*<br />
  libndesk-dbus-glib1.0-cil* libndesk-dbus1.0-cil* mono-2.0-gac*<br />
  mono-csharp-shell* mono-gac* mono-gmcs* mono-runtime* tomboy*<br />
0 upgraded, 0 newly installed, 31 to remove and 0 not upgraded.</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.theopensourcerer.com/2010/10/10/how-to-remove-mono-from-ubuntu-10-10-maverick-meercat/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
	</channel>
</rss>

