Skip to content

Instantly share code, notes, and snippets.

@strobemonkey
strobemonkey / Set up a CouchDB admin account
Created November 20, 2009 10:54
Set up a CouchDB admin account
#http://wiki.apache.org/couchdb/Setting_up_an_Admin_account
#On Ubuntu you should find local.ini located here:
/usr/local/etc/couchdb/local.ini
#Make sure ownership is changed to couchdb:
sudo chown couchdb:couchdb /usr/local/etc/couchdb/local.ini
@strobemonkey
strobemonkey / Start CouchDB
Created November 20, 2009 10:54
Start CouchDB
# start couchdb as a daemon
sudo /usr/local/etc/init.d/couchdb start
# or start couchdb in shell
sudo -u couchdb couchdb
@strobemonkey
strobemonkey / Build CouchDB from source
Created November 20, 2009 10:53
Build CouchDB from source
svn co http://svn.apache.org/repos/asf/couchdb/trunk couchdb
#svn checkout http://svn.apache.org/repos/asf/couchdb/branches/0.10.x
cd couchdb
sudo ./bootstrap
./configure
make && sudo make install
@strobemonkey
strobemonkey / SSH into remote CouchDB
Created October 23, 2009 20:30
SSH into remote CouchDB
# Change the port if you’re not using 22 (you probably shouldn’t) and change the remote.address.
ssh -L5984:127.0.0.1:5984 -p 22 -i ~/.ssh/id_rsa me@remote.address