We have a new wiki. The migration is not 100% complete. You can help out by moving pages across. This wiki will exist for as long as there are pages left.
The official documentation has moved to http://docs.couchdb.org — The transition is not 100% complete, but http://docs.couchdb.org should be seen as having the latest info. In some cases, the wiki still has some more or older info on certain topics inside CouchDB.
Dependancies for CouchDB
In a first time, you need to grab the following slackbuilds to meet Coubhdb's requirements :
Other dependancies are met by slackaware's packages :
- curl : you can check with :
make & gcc
Then, you need to build those packages from the slackbuilds. Slackbuils are made by default for i486 platform; If you have a 64 bits platform, edit the file <package>.Slackbuild and modify ARCH for x86_64.
To build the package, you have to put the source archive file within the slackbuild directory.
tar xzf js.tar.gz cd js ./js.SlackBuild => Slackware package /tmp/js-1.8.0_rc1-x86_64-1_SBo.tgz created. tar xzf icu4c.tar.gz cd ../icu4c ./icu4c.SlackBuild => Slackware package /tmp/icu4c-4.2.1-x86_64-1_SBo.tgz created tar xzf erlang-otp.tar.gz cd erlang-otp ./erlang-otp.SlackBuild => Slackware package /tmp/erlang-otp-13B03-x86_64-1_SBo.tgz created.
Install packages :
Installation of CouchDB
First you need to create a couchdb group & user :
groupadd -g 231 couchdb useradd -u 231 -g couchdb -d /var/lib/couchdb -s /bin/sh couchdb
Grab the slacckbuild ofCouchDB
Following steps are :
tar xzf couchdb.tar.gz cd couchdb # Grab couchdb 0.10.1 source file and put it in the "couchdb" directory # Edit the couchdb.SlackBuild file if needed # Build package : ./couchdb.Slackbuild => Slackware package /tmp/SBo/couchdb-0.10.1-x86_64-1_SBo.tgz created.
Install package :
Automatic stop/start for CouchDB
For automatic start :
In /etc/rc.d/rc.local, add :
if [ -x /etc/rc.d/rc.couchdb ]; then . /etc/rc.d/rc.couchdb start fi
For automatic stop :
In /etc/rc.d/rc.local_shutdown, add :
if [ -x /etc/rc.d/rc.couchdb ]; then . /etc/rc.d/rc.couchdb stop fi
Now, time to relax...