Tuesday, March 12, 2013

How-to Install Latest HBase Database Server for Linux Ubuntu 12.10 Quantal 32bit/64bit Step-by-Step Easy-Visual Guide

The Step-by-Step Guide Show How-to Install and Getting-Started with the Latest HBase Server Release on Linux Ubuntu 12.10 Quantal i386/amd64 Desktop.

To Make the Entire Process Easier to Visualize and Retain the Article Includes the Basic Screenshots of the Essentials Steps Involved.

The Content and Details are Expressly Reduced to Give Focus Only to the Essentials Instructions and Commands and Make Tut more Easy & Digestive;)

Inside the Article you Find a Link to Get Installed the Required Oracle Official Java JDK7 for Linux Ubuntu.

HBase Gnome Penguin
  1. Download Latest HBase Database Server Stable Release

    Latest HBase Stable tar.gz Release
  2. Double-Click on Archive and Extract HBase into /tpm Linux Mint HBase Extraction
  3. Open Terminal Window
    Linux Ubuntu12 Open Terminal
  4. Relocate the HBase Server

    su
    mv /tmp/hbase* /opt
  5. Setup the HBase Server WriteTo Location

    The Server by Default Write Into /tmp So to Keep the Data over Reboot Set a New Location.

    nano /opt/hbase*/conf/hbase-site.xml

    Inserts Setup Between Existing Configuration Tags:

    <configuration>
            <property>
                    <name>hbase.rootdir</name>
                    <value>file:///<path/to>/hbase</value>
            </property>
    </configuration>
    

    Ctrl+x to Save & Exit :)

  6. Setup JAVA_HOME for HBase

    Check if Oracle Java JDK 1.6+ is Installed:

    which java

    The Output Should Contains "/jdk1.X.Y", If Not See Below How to Install Oracle JDK7 for Linux Mint.

    How-to Install Oracle-Sun Official Java JDK7 on Ubuntu:

    Installing Oracle JDK7 for Ubuntu

    JAVA_HOME Env. Variable Setup:

    nano /opt/hbase*/conf/hbase-env.sh

    Uncomment the Line Containing JAVA_HOME and Set the Right Path.

  7. Quick Getting-Started with HBase Database Server

    HBase Database Quick Start