Apache Cassandra is used by smaller organizations while Datastax enterprise is used by the larger organization for storing huge amount of data.
Apache Cassandra is managed by Apache.
In this tutorial, you will learn-
- You must have Datastax community edition. You can download Cassandra from Apache website.
- JDK must be installed
- Windows platform is required
Step 1) Run the Datastax community edition setup. After running the Setup, following page will be displayed. Here in the screenshot 64 bit version is being installed. You can download 32 bit version as well according to your requirements. But I recommend 64 bit version to use.
This page gives you information about the Cassandra version you are going to install. Press the 'next' button.
Step 2) After pressing the 'next' button, following page will be displayed.
This page is about the license agreement. Mark the checkbox and press the next button.
Step 3) After pressing the 'next' button, the following page will be displayed.
This page asks about the installation location.
- Default location is C:\Program Files. You can change installation location if you want to change. It is recommended not to change installation location.
2. After setting installation location, press the 'next' button
Step 4) After pressing 'next' button in above step, the following page will be displayed. This page asks about whether you want to automatically start Cassandra and OpsCenter.
- Mark the checkboxes if you to want to automatically start Cassandra and opsCenter.
- After providing this information, press the 'next' button.
Step 5) After pressing the next button, following page will be displayed.
Setup has collected all the necessary information and now the setup is ready to install. Press install button.
Step 6) After pressing 'install' button, following page will be displayed.
Datastax community edition is being installed. After installation is completed, click on next button. When setup is installed successfully, press the 'Finish' button.
Go to windows start programs, search Cassandra CQL Shell and run the Cassandra Shell. After running Cassandra shell, you will see the following command line
Now you can create a keyspace, tables, and write queries.
Apache Cassandra is used for community purposes. This tutorial shows the Apache Cassandra installation step by step. Also discussed what are the pre -requisites to access the Cassandra.