Files Required for Installation:
Latest release of Apache Cassandra.
Java development kit 1.8
Download the latest release of Apache Cassandra.navigate to Downloads page of Apache Cassandra And download the latest release.Extract the downloaded file to a folder in your computer. say C:\Cassandra.
Download and install JDK 1.8 from the oracle downloads page.
Download and install Python 2.7.Cassandra CQl is a python based utility and it has issues with other versions of python.Hence use version 2.7.
Make changes to the configuration files.Navigate to
Open Cassandra.bat in a notepad and edit the same.Add below line to the same
set Java_home= <path to JDK 1.8>
Search for the text ‘JAVA_OPTS’ and change the java memory opts.Initially it will be set to 2G.You can change it to 512M or 1G which ever is fine for you.
Start Cassandra server by navigating to below path and execute Cassandra.bat.
For more detailed tutorials on installation visit: http://developertutorials.net
Once the server is started without errors you can see the message on the console as :
Starting listening for CQL clients on localhost/127.0.0.1:9042.