You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2010/07/09 20:20:45 UTC
[Couchdb Wiki] Update of "Installing_on_Ubuntu" by afters
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.
The "Installing_on_Ubuntu" page has been changed by afters.
The comment on this change is: another way to install couch on Ubuntu.
http://wiki.apache.org/couchdb/Installing_on_Ubuntu?action=diff&rev1=31&rev2=32
--------------------------------------------------
# Verify couchdb is running
curl http://127.0.0.1:5984/
# {"couchdb":"Welcome","version":"0.11.0"}
+ }}}
+ === Installing CouchDB from source on Ubuntu 10.04 (Example 2): ===
+ ==== Dependencies: ====
+ First, install SpiderMonkey, as described [[Installing_SpiderMonkey|here]] (this should prevent the possible xulrunner issues described later).
+
+ Second, install the rest of the dependencies:
+
+ {{{
+ sudo apt-get install libicu-dev libcurl4-gnutls-dev libtool erlang-dev erlang
+ }}}
+ === Installation: ===
+ {{{
+ couch_v='0.11.0'
+ prefix='/usr/local'
+
+ # install:
+ tar zxvf apache-couchdb-${couch_v}.tar.gz
+ cd apache-couchdb-${couch_v}
+ ./configure --prefix=${prefix}
+ make && sudo make install
+ # add couchdb user:
+ sudo useradd -d ${prefix}/var/lib/couchdb couchdb
+
+ # correct permissions:
+ sudo chown -R couchdb: ${prefix}/var/{lib,log}/couchdb
}}}
=== Additional Notes ===
==== Problems with libmozjs and xulrunner? ====