1. Get Spidermonkey from (http://ftp.mozilla.org/pub/mozilla.org/js/js-1.8.0-rc1.tar.gz)
2. Compile and setup Spidermonkey
6. Run couchdb
2. Compile and setup Spidermonkey
cd js/src
make BUILD_OPT=1 -f Makefile.ref
make BUILD_OPT=1 JS_DIST=/opt/app/spidermonkey180rc1 -f Makefile.ref export
3. Install the packages from ubuntu archives
apt-get install build-essential erlang libicu-dev libcurl4-openssl-dev
4. Compile CouchDB
./configure --prefix=/install/couchdb --with-js-lib=/opt/app/spidermonkey180rc1/lib64 --with-js-include=/opt/app/spidermonkey180rc1/include
make
make install
make
make install
5. Start CouchDB
/install/couchdb/etc/init.d/couchdb start
Note: If you don't want to run the couchdb server as user couchdb then change the config file located at /install/couchdb/etc/default/couchdb. Edit the COUCHDB_USER field and specify the user it should run with.
If you want to change the port on which FUTON/CouchDB's web UI runs then edit the file /install/couchdb/etc/couchdb/default.ini. Set the port value under [httpd] to the new value that you want.
6. Run couchdb
/install/couchdb/etc/init.d/couchdb start
No comments:
Post a Comment