<?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>HostingFu &#187; couchdb</title>
	<atom:link href="http://hostingfu.com/tag/couchdb/feed" rel="self" type="application/rss+xml" />
	<link>http://hostingfu.com</link>
	<description>Web Hosting Blog by a Software Developer</description>
	<lastBuildDate>Mon, 19 Jul 2010 09:27:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Building CouchDB 0.9 on Debian 5</title>
		<link>http://hostingfu.com/article/building-couchdb-0-9-debian-5</link>
		<comments>http://hostingfu.com/article/building-couchdb-0-9-debian-5#comments</comments>
		<pubDate>Tue, 08 Sep 2009 00:32:50 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[couchdb]]></category>
		<category><![CDATA[debian]]></category>

		<guid isPermaLink="false">http://hostingfu.com/?p=197</guid>
		<description><![CDATA[I have been using CouchDB recently to build some of my new projects. It&#8217;s a new schema-less, document-modelled, highly concurrent, Erlang powered &#8220;database&#8221; where you wrote map reduce functions in design views to create queries and indices. It is also very neat to bootstrap a project when you have not worked out the relational model [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://hostingfu.com/files/couchdb/couchdb-logo.png" width="220" height="200" alt="CouchDB" style="float:left;margin:0 1ex 1ex 0"/> I have been using <a href="http://couchdb.apache.org/">CouchDB</a> recently to build some of my new projects. It&#8217;s a new schema-less, document-modelled, highly concurrent, Erlang powered &#8220;database&#8221; where you wrote map reduce functions in design views to create queries and indices. It is also very neat to bootstrap a project when you have not worked out the relational model of your database yet, due to its schema-less nature. I am still getting my head around it (coming from 15 years of SQL experience), but so far so good.</p>
<p>I guess one issue with CouchDB is that it&#8217;s HTTP-based interface is still not fixed, and there are quite a few differences between versions. Nor is there any upgrade utilities to convert database created in an older version to the current one, although it&#8217;s trivial to write one. Debian 5, which is <a href="http://hostingfu.com/article/debian-gnu-linux-5-lenny-released">my current distro of choice</a>, is still <a href="http://packages.debian.org/lenny/couchdb">stuck at 0.8.0 for CouchDB</a>, when most documentation online have moved to 0.9.0. I can&#8217;t seem to be able to find ready-made CouchDB-0.9.0 Debian packages for Lenny, so I made my own from Squeeze source.</p>
<p><span id="more-197"></span></p>
<ul>
<li>Download <a href="http://hostingfu.com/files/couchdb/couchdb_0.9.0-2_i386.deb">couchdb_0.9.0-2_i386.deb</a></li>
<li>Download <a href="http://hostingfu.com/files/couchdb/couchdb_0.9.0-2_amd64.deb">couchdb_0.9.0-2_amd64.deb</a></li>
</ul>
<p>Those were built for Debian 5.</p>
<ol>
<li>Add <code>deb-src http://ftp.us.debian.org/debian squeeze main</code> to <code>/etc/apt/source.list</code>.</li>
<li>Run <code>apt-get update</code> to download the updates.</li>
<li>Run <code>apt-get -b source couchdb</code> to try to build the source. It will download the source tarball, diff, etc and will attempt to build it, but will fail due to dependency.</li>
<li>Try to build &amp; skip dependency check. <code>cd couchdb-0.9.0 &amp;&amp; dpkg-buildpackage -b -uc -d</code></li>
<li>You&#8217;ll end up with the <code>.deb</code> files above&#8230;</li>
</ol>
<p>I&#8217;m actually putting the packages up for my own benefit so I can quickly deploy them onto my servers and have fun with its replication ability over nothing but HTTP.</p>
]]></content:encoded>
			<wfw:commentRss>http://hostingfu.com/article/building-couchdb-0-9-debian-5/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
