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 johannes
Date Tue, 04 Jan 2011 01:34:10 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 johannes.
The comment on this change is: Added steps needed to get the default install running. Works
on my machine....
http://wiki.apache.org/couchdb/Installing_on_Ubuntu?action=diff&rev1=55&rev2=56

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

  {{{
  sudo aptitude install couchdb
  }}}
+ 
+ == Ubuntu 10.10 server ==
+ 
+ The aptitude/apt-get installation gives an error message - couchdb does not have access
to its pid file. 
+ 
+ Fix:
+ {{{
+ sudo chown -R couchdb.couchdb /var/run/couchdb
+ }}}
+ 
+ Need to rerun the setup script:
+ {{{
+ sudo dpkg --configure couchdb
+ }}}
+ 
+ By default couchdb only accepts requests from localhost, you may want to change that. 
+ 
+ Edit /etc/couchdb/local.ini:
+ {{{
+ [couchdb]
+   ; optionally move the DB elsewhere. If you do, ensure that the couchdb user has rwx privileges
+   ;database_dir = /var/lib/couchdb/1.0.1 
+ [httpd]
+   ; optionally change port
+   ;port = 5984 
+   ; change bind address. This one allows access from any computer.
+   bind_address = 0.0.0.0
+ }}}
+ 
+ Restart couchdb to refresh the settings:
+ {{{
+ sudo service couchdb restart
+ }}}
+ 
+ Check that it works:
+ {{{
+ $ curl http://localhost:5984
+ {"couchdb":"Welcome","version":"1.0.1"}
+ }}}
+ 
+ 
  == Using the Ubuntu installer ==
  The easiest way to install the newest versions of CouchDB is using the ubuntu installer
located at: http://www.couch.io/get#ubuntu.
  

Mime
View raw message