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 RHEL5" by NilsBreunese
Date Sun, 09 Aug 2009 09:32:27 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by NilsBreunese:
http://wiki.apache.org/couchdb/Installing_on_RHEL5

------------------------------------------------------------------------------
  
  (Note: [https://issues.apache.org/jira/browse/COUCHDB-315 COUCHDB-315] has an attached patch
for the CouchDB README which adds instructions for RHEL 5.)
  
- 1. Install prerequisites. You will need EPEL for js and erlang.
+ 1. Install prerequisites. You will need [http://fedoraproject.org/wiki/EPEL EPEL] for js
and erlang (or build those from source).
  
  {{{
  yum install ncurses-devel openssl-devel icu libicu-devel js js-devel curl-devel erlang
  }}}
  
- 2. Install couchdb
+ 2. Install CouchDB
+ 
+ The configure line below is for 64-bit, adjust for your arch (or leave out --with-erlang
if configure can find out for itself). You can use a release tarball instead of a checkout,
in that case skip right to the ./confgure line.
+ 
  {{{
  svn checkout http://svn.apache.org/repos/asf/couchdb/trunk couchdb
  cd couchdb
@@ -24, +27 @@

  vi /usr/local/etc/couchdb/local.ini
  }}}
  
- 4. Create users, chown directories
+ 4. Create user, modify ownership and permissions
+ 
+ Create the couchdb user:
+ 
  {{{
+ adduser -r --home /usr/local/var/lib/couchdb -M --shell /bin/bash --comment "CouchDB Administrator"
couchdb
- adduser -r -d /usr/local/var/lib/couchdb couchdb
- chown -R couchdb /usr/local/var/lib/couchdb
- chown -R couchdb /usr/local/var/log/couchdb
- chown -R couchdb /usr/local/var/run/couchdb
  }}}
+ 
+ See the README for additional chown and chmod commands to run.
  
  5. Launch! In console:
  {{{

Mime
View raw message