Wednesday 8 January 2020

Installing and setup Cassandra


Prerequisite
Make sure you installed Java in your system.

Step 1: Go to below location and download latest version of Cassandra.

Step 2: Extract the downloaded zip file, you can see below content.



Step 3: Add bin directory of Cassandra distribution to your system path.

Step 4: Open new terminal or command prompt and execute the command ‘cassandra -f’ to start the Cassandra in foreground.

Step 5: Once Cassandra instance is started, open another terminal and execute the command ‘cqlsh’.
$ cqlsh
Connected to Test Cluster at 127.0.0.1:9042.
[cqlsh 5.0.1 | Cassandra 3.11.4 | CQL spec 3.4.4 | Native protocol v4]
Use HELP for help.
cqlsh>


If you are able to execute all the above steps, then you are successfully installed Cassandra in your system.


Previous                                                    Next                                                    Home

No comments:

Post a Comment