Getting Started With CouchDB NoSQL Database on Linux Lubuntu Step-by-Step Easy Guide

July 24, 2013 | By Duchateaux.

The Guide shows you Step-by-Step How to Getting-Started Quickly with the Latest CouchDB NoSQL Database Stable/Development Release for Linux Lubuntu 32/64-bit.

CouchDB Characteristics:

  • Ad Document Database Server, accessible via a RESTful JSON API
  • Ad-hoc and Schema-Free with a Flat address space
  • Distributed, featuring robust, incremental Replication with bi-directional conflict detection and management
  • Query-able and Index-able, featuring a table oriented reporting engine that uses JavaScript as Query Language.

If you didn’t yet Dispose of a Working CouchDB Installation then Look to Guide on Installing for Linux Lubuntu.

Gnome Penguin CouchDB
  1. How to Install CouchDB on Linux Lubuntu

  2. Open Terminal Shell

  3. Starting CouchDB Server

    sudo su -c "couchdb -b"

  4. Test Connection to CouchDB

    curl http://127.0.0.1:5984/

  5. Get CouchDB Databases List

    curl -X GET http://localhost:5984/_all_dbs

  6. Create a CouchDB Database

    curl -X PUT http://localhost:5984/test-db

  7. Show Up New Database Info

    curl -X GET http://localhost:5984/test-db

  8. Inserting a Document in Database

    curl -X POST -H "Content-Type:application/json" -d '{"type":"customer", "name":"Tim Juravich", "location":"Seattle, WA"}'
    http://localhost:5984/test-db

  9. Retriving a Document from Database

    curl -X GET http://localhost:5984/test-db/41198fc6e20d867525a8faeb
    7a000015 | python -mjson.tool

  10. Getting-Started with Fauxton CouchDB Admin Console


QuickChic Theme • Powered by WordPress