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_FreeBSD" by IvanVoras
Date Thu, 15 Oct 2009 20:54:06 GMT
Dear Wiki user,

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

The "Installing_on_FreeBSD" page has been changed by IvanVoras:
http://wiki.apache.org/couchdb/Installing_on_FreeBSD?action=diff&rev1=11&rev2=12

  make install clean
  }}}
  
- This installed CouchDB 0.9.0 from the ports collection.
+ This will install CouchDB 0.9.0 from the ports collection. 
  
  == Post install ==
  
- We then need to setup a couchdb user:
+ In case the install script fails to install a noninteractive user "couchdb" to be used for
the database, the user needs to be created manually:
  
  I used the {{{pw}}} command to add a user "couchdb" in group "couchdb":
  {{{
@@ -33, +33 @@

  
  On FreeBSD, you use the following to start CouchDB:
  {{{
- shell# /usr/local/etc/rc.d/couchdb
+ shell# /usr/local/etc/rc.d/couchdb start
  }}}
  
- This script provides the options start, stop, status, rcvar etc..
+ This script responds to the arguments start, stop, status, rcvar etc..
  
+ The following options for {{{/etc/rc.conf}}} or {{{/etc/rc.conf.local}}} are supported by
the start script:
- There's currently no start script included in the port, but a work in progress of the maintainer
can be downloaded from [[http://github.com/till/couchdb-freebsd/blob/20e20e748339b42e1e5ca6e04c9224ad09ea2557/rc-script/couchdb|github]].
- 
- This start script currently supports the following options for {{{/etc/rc.conf}}} or {{{/etc/rc.conf.local}}}:
  {{{
  couchdb_enable="NO"
  couchdb_enablelogs="YES"
@@ -54, +52 @@

  /usr/local/etc/couchdb/local.ini
  }}}
  
+ Administrators should use default.ini as reference and only modify the local.ini file.
+ 
  The logfile is configured to be written to 
  {{{
  /var/log/couchdb/couch.log
  }}}
  
- For this to work I used a 
+ In case the port does not set up correct permissions on the database directory, a command
analogous to the following should be used:
+ 
  {{{
  shell# chown couchdb:couchdb /var/log/couchdb
  }}}

Mime
View raw message