Apache Cassandra NoSQL Database Quick-Start for Linux Ubuntu Easy-Visual Guide

July 29, 2013 | By Regaz | Filed in: Uncategorized.

The Post Presents a Step-by-Step Quick-Start Guide for the Latest Apache Cassandra NoSQL Database on Ubuntu Linux i386/amd64 Desktop.

On the Guide Bottom You Find Link to Extended Documentation Using the CQL API to Talk with Cassandra in: Python, Java, Node.js, Clojure, .NET, Ruby, Perl, Go, Haskell, C++

The Contents and Details are Essentials and Give Focus only to Instructions and Commands.

Linux Gnome Penguin Cassandra
  1. How to Install Apache Cassandra NoSQL Database on Ubuntu:

    Installing Cassandra for Ubuntu
  2. Open Terminal Window
    (Press “Enter” to Execute Commands)

    Cmd and Search “term”

    Ubuntu Linux Raring Open Terminal
  3. Connect to Cassandra Instance
  4. Create a Keyspace and Column Family

    Before to Start Inserting some Data into Cassandra is Necessary must have these Storing Places.

    create keyspace mykeyspace;
    use mykeyspace;
    create column family mycolumnfamily
    ...   with key_validation_class = 'UTF8Type'  
    ...   and comparator = 'UTF8Type'        
    ...   and default_validation_class = 'UTF8Type';
  5. Inserting and Reading on Cassandra Database

    To Store Data Use the “set” Command:

    set mycolumnfamily[1][name] = myself;

    To Retrieve Data from Cassandra Use the “get” Command:

    get mycolumnfamily[1];
  6. Getting-Started Talking with Cassandra by Your Favorite Language:

Tags: , , , , , , , , , , , ,