2. Installation

Cassandra is a Java application at its core. Because of this, there are certain considerations that need to be taken into account when installing it. This chapter will highlight the different installation types for the base binary and packages. We will go over the important configuration items and files. Then, once installed, we will dive into setting up single and multi-node clusters, assigning the proper tokens for the cluster and then ensuring our cluster is up and running.


Cassandra requires the most stable release of Java 1.6. While it may run on Java 1.7, it has not been fully tested and vetted for that version. If you are running multiple versions of Java on a single system, set the JAVA_HOME variable to ...

Get Practical Cassandra: A Developer’s Approach now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.