,

Cassandra GUI – The Apache Cassandra GUI Project – Installation

Installation

The Cassandra GUI Project is Java Swing based GUI for viewing data in an Apache Cassandra database.
Unfortunately the software is no longer in active development.

I still find it great because of its simplicity and that it just works.


# create download directories
mkdir -p ~/build/cassandra-gui
cd ~/build/cassandra-gui

# download GUI
wget http://cassandra-gui.apache-extras.org.codespot.com/files/cassandra-gui-0.8.0-beta1.zip
unzip cassandra-gui-0.8.0-beta1.zip

# show contents
ls -l cassandra-gui-0.8.0-beta1

#total 5392
#-rw-r--r-- 1 a a 5497646 Sep 19  2011 cassandra-gui.jar
#-rw-r--r-- 1 a a     218 Sep 19  2011 CHANGES.txt
#-rw-r--r-- 1 a a   11609 Apr 16  2011 LICENSE.txt
#-rw-r--r-- 1 a a     557 Apr 16  2011 README.txt

# start
java -jar cassandra-gui.jar

Permanently Install


cd ~/build/cassandra-gui

# create start script
installdir="/usr/local/share/cassandra-gui"
echo "java -jar $installdir/cassandra-gui-0.8.0-beta1/cassandra-gui.jar" > cassandra-gui-0.8.0-beta1/cassandra_gui.sh

# create destination directory
sudo mkdir -p $installdir
sudo cp -r cassandra-gui-0.8.0-beta1 $installdir

# set execution rights
sudo chmod +x  $installdir/cassandra-gui-0.8.0-beta1/cassandra_gui.sh

sudo ln -s $installdir/cassandra-gui-0.8.0-beta1/cassandra_gui.sh /usr/local/bin/cassandra_gui.sh

# start GUI using cassandra_gui.sh
cassandra_gui.sh

References

1. Home: https://code.google.com/a/apache-extras.org/p/cassandra-gui/
2. Overview of Cassandra GUIs: http://wiki.apache.org/cassandra/FAQ#gui


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *