Created
September 9, 2009 15:22
-
-
Save crofty/183802 to your computer and use it in GitHub Desktop.
CouchDB setup on Slicehost
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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