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/16 19:29:58 UTC
[Couchdb Wiki] Update of "Installing_on_Ubuntu" by paulbarrett
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 paulbarrett.
The comment on this change is: Changes to get 0.11 and 1.0 running because things are missing in make.
http://wiki.apache.org/couchdb/Installing_on_Ubuntu?action=diff&rev1=36&rev2=37
--------------------------------------------------
# wget <url>
tar xvzf apache-couchdb-x.xx.x.tar.gz
cd apache-couchdb-x.xx.x
+
+ # see xulrunner directions below and do them this fixes problem where basic test suite fails to run.
# Note: To install couchdb in the default location use --prefix= in the configure statement
./configure --prefix= --with-js-lib=/usr/lib/xulrunner-devel-1.9.2.6/lib --with-js-include=/usr/lib/xulrunner-devel-1.9.2.6/include
+
# Now you can compile and install couchdb
make && make install
# Add couchdb user account
useradd -d /var/lib/couchdb couchdb
chown -R couchdb: /var/lib/couchdb /var/log/couchdb
+
+ # next two steps fix problems where adding admin hangs or setting admins in local.ini hangs the start. Also fixes problems with reader_acl test.
+ chown -R root:couchdb /etc/couchdb
+ chmod -R 664 /etc/couchdb
+
# start couchdb
/etc/init.d/couchdb start
# Start couchdb on system start