Skip to content

Instantly share code, notes, and snippets.

@crofty
Created September 9, 2009 15:22
Show Gist options
  • Save crofty/183802 to your computer and use it in GitHub Desktop.
Save crofty/183802 to your computer and use it in GitHub Desktop.
CouchDB setup on Slicehost
sudo apt-get update
sudo aptitude install build-essential
sudo apt-get install libmozjs-dev libicu-dev libcurl4-openssl-dev erlang
mkdir ~/src
cd ~/src
wget http://apache.mirror.anlx.net/couchdb/0.9.1/apache-couchdb-0.9.1.tar.gz
tar zxvf apache-couchdb-0.9.1.tar.gz
cd apache-couchdb-0.9.1
./configure && make && sudo make install
#Copy couchdb init script to global so that it starts on server boot:
sudo cp /usr/local/etc/init.d/couchdb /etc/init.d/
# Start, stop, restart
sudo /etc/init.d/couchdb start
sudo /etc/init.d/couchdb stop
sudo /etc/init.d/couchdb restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment