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 MalteStretz
Date Thu, 13 Jan 2011 18:02:12 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 MalteStretz.
The comment on this change is: Cleanup.
http://wiki.apache.org/couchdb/Installing_on_Ubuntu?action=diff&rev1=56&rev2=57

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

  {{{
  sudo aptitude install couchdb
  }}}
+ === Troubleshooting ===
- 
- == Ubuntu 10.10 server ==
- 
- The aptitude/apt-get installation gives an error message - couchdb does not have access
to its pid file. 
+ If the aptitude/apt-get installation gives an error message then couchdb might not have
access to its pid file.
  
  Fix:
+ 
  {{{
- sudo chown -R couchdb.couchdb /var/run/couchdb
+ sudo chown -R 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.
  
@@ -79, +51 @@

  }}}
  If this happens simply re-install the dependencies (possibly erlang-nox but it could vary)
  
- == Ubuntu 10.04 ==
  === Example 1 ===
  Please see below in links for complete instructions on how to install CouchDB.
  
@@ -118, +89 @@

  curl http://127.0.0.1:5984/
  # {"couchdb":"Welcome","version":"1.0.1"}
  }}}
- 
  === Example 1 (Alternate) ===
  The default installation of Ubuntu desktop 10.04 has a lot of version 0.10.0 CouchDB files
and I did not want to worry about having them mixed with my source installed files.
  
  This set of install instructions is modified from Example 1 and places all current CouchDB
files within the /usr/local/ tree. Any other CouchDB related files outside of /usr/local/
can be deleted or ignored.
  
  {{{
- 
  sudo su
  # Install dependencies required to build couchdb from source
  apt-get build-dep couchdb
@@ -165, +134 @@

  # {"couchdb":"Welcome","version":"1.0.1"}
  
  # run test suite in firefox at http://127.0.0.1:5984/_utils/couch_tests.html?script/couch_tests.js
- 
  }}}
- 
- 
- 
  === Example 2 (with minimal dependencies) ===
  Tested with CouchDB versions: 0.11.0, 1.0.0
  
@@ -280, +245 @@

  These logging tips is based on the recommendations found here: [[http://till.klampaeckel.de/blog/archives/95-Operating-CouchDB.html|Operating
CouchDB]]
  
  == 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.
+ 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, 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.
  

Mime
View raw message