October 2018
Beginner to intermediate
348 pages
10h
English
If you want an even faster way to install Cassandra, you can use an open source tool called CCM. CCM installs Cassandra for you, with very minimal configuration. In addition to ease of installation, CCM also allows you to run multiple Cassandra nodes locally.
First, let's clone the CCM repository from GitHub, and cd into the directory:
git clone https://github.com/riptano/ccm.gitcd ccm
Next, we'll run the setup program to install CCM:
sudo ./setup.py install
To verify that my local cluster is working, I'll invoke nodetool status via node1:
ccm node1 statusDatacenter: datacenter1=======================Status=Up/Down|/ State=Normal/Leaving/Joining/Moving-- Address Load Tokens Owns (effective) Host ID RackUN 127.0.0.1 ...