Dobrica Pavlinušić's random unstructured stuff
CouchDB: Revision 8

Install on Debian

Compilation

svn co https://svn.apache.org/repos/asf/incubator/couchdb/trunk couchdb
cd couchdb

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make

Install

sudo checkinstall
# fix version number

sudo dpkg -i couchdb_0.9.0a681779-1_i386.deb


sudo adduser --system --home /var/lib/couchdb --no-create-home \
  --shell /bin/bash --group --gecos "CouchDB Administrator" couchdb

sudo chown couchdb /var/lib/couchdb/ /var/log/couchdb/

sudo /etc/init.d/couchdb start

Perl

# intall perl module
cd CouchDB-View-0.003
sudo ./debian/rules binary
cd ..
sudo dpkg -i libcouchdb-view-perl_0.003-1_all.deb

and then edit /etc/couchdb/couch.ini

[Couch Query Servers]
text/perl=/usr/bin/couchdb-view-server.pl

Now open http://localhost:5984/_utils/index.html

Fulltext search

See http://wiki.apache.org/couchdb/FullTextSearch

sudo apt-get install openjdk-6-jre-headless