couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Installing on NetBSD" by ChaseJames
Date Fri, 05 Jun 2009 23:54:16 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by ChaseJames:
http://wiki.apache.org/couchdb/Installing_on_NetBSD

New page:
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/

Mime
View raw message