couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Installing_on_Ubuntu" by MarkusTacker
Date Tue, 04 May 2010 17:05:07 GMT
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 MarkusTacker.
The comment on this change is: Extende 10.04 instructions.
http://wiki.apache.org/couchdb/Installing_on_Ubuntu?action=diff&rev1=11&rev2=12

--------------------------------------------------

  }}}
  == From Source ==
  If you want the latest version of Couchdb but everything else from the repositories then:
-   * In Synaptic select couchdb, this will also select the dependencies (erlang etc.) then
unselect couchdb and apply the dependencies
-   * sudo apt-get build-dep couchdb
-   * sudo apt-get install libmozjs-dev libicu-dev libcurl4-gnutls-dev libtool
-   * download the latest couchdb .tar.gz file
-   * tar -zxvf apache-couchdb-0.9.0.tar.gz
-   * cd apache-couchdb-0.9.0
-   * ./configure
-   * make
-   * sudo make install
- now you can run "sudo couchdb" and browse to [[http://localhost:5984/_utils]] to check it
is all working
  
+  * In Synaptic select couchdb, this will also select the dependencies (erlang etc.) then
unselect couchdb and apply the dependencies
+  * sudo apt-get build-dep couchdb
+  * sudo apt-get install libmozjs-dev libicu-dev libcurl4-gnutls-dev libtool
+  * download the latest couchdb .tar.gz file
+  * tar -zxvf apache-couchdb-0.9.0.tar.gz
+  * cd apache-couchdb-0.9.0
+  * ./configure
+  * make
+  * sudo make install
+ 
+ now you can run "sudo couchdb" and browse to http://localhost:5984/_utils to check it is
all working
+ 
- Because you installed all the dependencies of Couchdb from synaptic, but not Couchdb itself
some of the dependencies may think they are not required and update manager may suggest that
they are removed. Should you do this Couchdb will fail to start, perhaps with an error such
as 
+ Because you installed all the dependencies of Couchdb from synaptic, but not Couchdb itself
some of the dependencies may think they are not required and update manager may suggest that
they are removed. Should you do this Couchdb will fail to start, perhaps with an error such
as
+ 
  {{{
  {"init terminating in do_boot",{undef,[{crypto,start,[]},{erl_eval,do_apply,5},{init,start_it,1},{init,start_em,1}]}}
  }}}
  If this happens simply re-install the dependencies (possibly erlang-nox but it could vary)
  
  == Ubuntu 10.04 ==
+ To install couchdb from source on Ubuntu 10.04 follow these steps
- 
- You will need to modify the configure call in the above procedure in the latest Ubuntu release;
  
  {{{
+ sudo su
+ # Install dependencies required to build couchdb from sourece
+ apt-get build-dep couchdb
+ cd /opt
+ # download the latest release from
+ # wget <url>
+ tar xvzf apache-couchdb-x.xx.x.tar.gz
+ cd apache-couchdb-x.xx.x
  ./configure --with-js-lib=/usr/lib/xulrunner-devel-1.9.2.3/lib --with-js-include=/usr/lib/xulrunner-devel-1.9.2.3/include
+ # Note: To install couchdb in the default location use --prefix=/ in the configure statement
+ make && make install
+ # Add couchdb user account
+ useradd -d /var/lib/couchdb couchdb
+ chown -R couchdb: /var/lib/couchdb /var/log/couchdb
+ # start couchdb
+ /etc/init.d/couchdb start
+ 
+ # Start couchdb on system start
+ update-rc.d couchdb defaults
+ 
+ # Verify couchdb is running
+ curl http://127.0.0.1:5984/
+ # {"couchdb":"Welcome","version":"0.11.0"}
  }}}
- 
  == External Articles ==
   * [[http://barkingiguana.com/2008/06/28/installing-couchdb-080-on-ubuntu-804|Installing
CouchDB 0.8.0 on Ubuntu 8.04]]
   * [[http://japhr.blogspot.com/2009/03/yak-shaving-is-new-dependency-hell.html|Installing
Couchdb 0.9 on Ubuntu 9.04]]

Mime
View raw message