Install Cassandra on Windows

It is pretty easy to install Cassandra but as always I was still able to find it difficult so I thought of putting it down so I have it easy in the future.

Install Cassandra from its home page. One thing that you need to make sure is JAVA_HOME is setup.(Shouldn’t a problem if Java is already up and running ).
Go to your command promt  and go the folder where you extracted Casssandra. Then type the following command
bin\casandra -f localhost
This becomes your server for a single host and if you are experimenting and want it on the same model then

Then open a new cassandra window and type another command (this becomes your client)

(cant remember command)

P.S:  There are some blogs that tell you to change a yaml file but dont try to do it first if it doesnot work first then well you have no other option.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s