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

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 https://issues.apache.org/jira/browse/COUCHDB-53

sudo apt-get install openjdk-6-jre-headless
wget https://issues.apache.org/jira/secure/attachment/12381889/jsearch_full.tgz