O'Reilly logo

Mastering Apache Cassandra by Nishant Neeraj

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing Cassandra

With JVM ready, installing Cassandra is as easy as downloading the appropriate tarball from the Apache Cassandra download page, http://cassandra.apache.org/download, and untarring it. On Debian or Ubuntu, you may choose either to install from a .tar file or from an Apache Software Foundation repository.

Installing from a tarball

This guide assumes that Cassandra is installed in the /opt directory, the datafiles in the /cassandra-data directory, and the system logs in /var/log/cassandra. These are just some conventions that were chosen by me. You may choose a location that suits you best:

# Download. Please select appropriate version and 
# URL from http://cassandra.apache.org/download page $ wget \ http://mirror.sdunix.com/apache/cassandra/1.1.11/apache-cassandra-1.1.11-bin.tar.gz ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required