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 MarcaJames. http://wiki.apache.org/couchdb/Installing_on_Ubuntu?action=diff&rev1=19&rev2=20 -------------------------------------------------- If this happens simply re-install the dependencies (possibly erlang-nox but it could vary) == Ubuntu 10.04 == - === Installing CouchDB from source on Ubuntu 10.04 (Example 1): === - {{{ sudo su # Install dependencies required to build couchdb from sourece @@ -62, +60 @@ curl http://127.0.0.1:5984/ # {"couchdb":"Welcome","version":"0.11.0"} }}} - === Additional Notes === In Ubuntu 10.04 you may get an error similar to this: @@ -88, +85 @@ }}} This solution is referenced in this bug report @ https://bugs.launchpad.net/ubuntu/+source/xulrunner-1.9/+bug/557275 + == Note on installing on Ubuntu Desktop flavors == + + If you're *not* running Ubuntu server, but rather running some variant + of Ubuntu desktop, I'd strongly recommend compiling from source and + keeping the default prefix of /usr/local. Ubuntu comes standard with + couchdb-bin, and uses desktop-couch with tools like Ubuntu + One, gwibber, and evolution. But, it Lucid Lynx ships with version + 0.10.0. This is a long-term support item, but that doesn't mean + Canonical will be releasing 0.11 anytime soon. + + So, to install a parallel version of current CouchDB on an Ubuntu + desktop system, you should download build from source, being careful to keep the + default install prefix of "/usr/local", and following all of the above instructions about libraries and dependencies. + + + Then, after installing CouchDB, you can still get it to start at boot + as normal, but because 0.11.x is in /usr/local, just running + + {{{ + sudo update-rc.d couchdb defaults + }}} + + is probably *not* going to do the right thing. What is seems to do is + look in the /etc/init.d directory, where it will likely find the 0.10 version + of CouchDB. + + Instead, you have force the system to use the version of CouchDB + installed in /usr/local. There should be an option to + update-rc.d that will tell it to look in /usr/local/etc rather than + /etc, but I couldn't find it. + + A brute force way to make it work is to do something like: + + {{{ + sudo mv /etc/init.d/couchdb /etc/init.d/couchdb.0.10.donotuse + sudo ln -sf /usr/local/etc/init.d/couchdb /etc/init.d/couchdb + sudo update-rc.d couchdb defaults + }}} + + + + == External Articles == * [[http://h.imagehost.org/download/0072/How-to_Install_CouchDB_and_CouchDB-Lucene_on_Ubunut_Lucid|Installing CouchDB and CouchDB-Lucene on Ubunut 10.04 Lucid Lynx- PDF]] * [[http://www.owengriffin.com/posts/2010/04/27/CouchDB_0.11_and_CouchApp_Notes.html#comment-48272833|CouchDB 0.11 and CouchApp Notes]]
