Cassandra

1 minute read

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

echo "deb https://debian.cassandra.apache.org 41x main" | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list deb https://debian.cassandra.apache.org 41x main curl https://downloads.apache.org/cassandra/KEYS | 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"