Insalling CouchDB on Mac OS X Lion

CouchDB is a document-oriented database with MapReduce feature. It provides a RESTful JSON API over HTTP. It offers distributed, featuring robust, incremental replication with bi-directional conflict detection and management. It is similar to MongoDB.

To install it on Mac OS X Lion, just execute this command here:

sudo port install couchdb

And after the installation this here:

sudo launchctl load -w /Library/LaunchDaemons/org.apache.couchdb.plist

To install couchdb as Service in the OS and start the couchdb daemon.Now you can open a browser and navigate to this address:

http://localhost:5984/

You should get a JSON result similar to that here:

{"couchdb":"Welcome","version":"1.1.0"}

And that’s it. CouchDB installed, up and running!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s