Skip to content

Instantly share code, notes, and snippets.

@erotte
Created July 27, 2011 14:07
Show Gist options
  • Save erotte/1109429 to your computer and use it in GitHub Desktop.
Save erotte/1109429 to your computer and use it in GitHub Desktop.
CouchDB on Ubuntu 10.4

Installation CouchDB auf Ubuntu 10.4

Couchbase bietet aktuelle deb-Files an: http://www.couchbase.com/downloads#source

Ich habe mich für "Couchbase Single Server Community Edition" entschieden.

wget http://c3145442.r42.cf0.rackcdn.com/couchbase-server-community_x86_64_1.1.deb
dpkg -i couchbase-server-community_x86_64_1.1.deb

CouchDB sollte nun schon laufen. Check:

curl http://127.0.0.1:5984/    
=> {"couchdb":"Welcome","version":"1.0.2"}

ggf. Logrotate anwerfen:

ln -s /usr/local/etc/logrotate.d/couchdb /etc/logrotate.d/couchdb    

Alternative Methode: UbuntuOne-Pakete verwenden http://www.liangeugene.com/2011/02/installing-couchdb-1-0-1-on-ubuntu-10-04-desktop-and-server-edition/

add-apt-repository ppa:ubuntuone/stable
apt-get update
apt-get install couchdb

CouchDB dumpen

apt-get install python-setuptools
# hier Python 2.5, mehr hier: http://pypi.python.org/pypi/CouchDB
easy_install  http://pypi.python.org/packages/2.5/C/CouchDB/CouchDB-0.8-py2.5.egg
couchdb-dump http://localhost:5984/db_name > db_name.couchdump
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment