Differences between revisions 3 and 4
Revision 3 as of 2011-11-23 14:30:56
Size: 796
Editor: 62
Comment: add ContributorGroup link
Revision 4 as of 2018-12-17 18:25:27
Size: 0
Editor: JoanTouzet
Comment: See http://docs.couchdb.org/en/stable/install/index.html
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
<<Include(EditTheWiki)>>

Tested on NetBSD 5.0

Install prerequisites:

{{{
pkg_add icu erlang spidermonkey gmake
}}}

Download the source tarball from http://couchdb.apache.org/downloads.html untar and `cd` in to the directory. Then configure and compile:

{{{
./configure --with-js-lib=/usr/pkg/lib --with-js-include=/usr/pkg/include --with-erlang=/usr/pkg/lib/erlang/usr/include
gmake
gmake install
}}}

Take care of permissions:

{{{
su
useradd couchdb
group add couchdb
touch /usr/local/var/run/couchdb.pid
chown couchdb:couchdb /usr/local/var/run/couchdb.pid
chown couchdb:couchdb /usr/local/var/log/couchdb/couch.log
chown couchdb:couchdb /usr/local/var/lib/couchdb
}}}

Start:

{{{
/usr/local/etc/rc.d/couchdb start
}}}

Test:
http://localhost:5984/