1 minute read

Cassandra can be installed and run on Basic with the following steps:

echo "deb 41x main" | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list
deb 41x main

curl | sudo apt-key add -

sudo apt-get update

sudo apt-get install -y cassandra

Allow Cassandra to start and optionally check the status:

sleep 30
nodetool status

If you require a CLI tool to access the Cassandra server, try cqlsh available via pip.

pip install cqlsh
cqlsh --cqlversion="3.4.6"