How to start and stop Cassandra in Linux

In this article, we will see how to start and stop Cassandra in Linux step by step. We can use service or systemctl to start stop and restart or check the status of Cassandra service on Linux.

How to start and stop Cassandra in Linux

1. Check the Cassandra status on Linux using below command.

sudo service cassandra status or sudo systemctl status cassandra

How to start and stop Cassandra in Linux

2. Start the Cassandra service on Linux using either of below commands.

sudo service cassandra status

or

sudo systemctl status cassandra

3. We can stop Cassandra service on Linux using below command.

sudo service cassandra stop

or

sudo systemctl stop cassandra