Upload
dokhanh
View
227
Download
0
Embed Size (px)
Citation preview
Cassandra Installation Guide
System Requirements
1. Minimum requirements
RAM : 4GB Processor : i3 and above
Prerequisites
1. JDK and JRE 1.7 or higher is required for the installation of Cassandra. 2. You can get the latest version of Java from the following link.
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
Click this radio button
Windows x86 is for those who have 32
bitsystem.
Windows x64 is for those who have 64
bitsystem.
3. Download and run the setup.
Default Installation Path
Cassandra Installation Steps Step 1: Download the Cassandra from the link given below:
https://docs.google.com/file/d/0B05GEfsygSBxR3AwakdpQU45OTQ/edit?usp=sharing
Step 2: You will get a zipped file. Extract the file.
You will find two folders in it “ant” and “cassandra”.
Copy those folders in “C:\” drive
Step 3: Set your JAVA_HOME and ANT_HOME environment variable. Follow these steps:
a) Right click on My Computer and go to Properties.
b) Click Advanced System Settings.
c) Click Environment Variables…
d) System Variable Click New
Create a new system variable JAVA_HOME and set its value as the path to your JDK installation.
e.g C:\Program Files\Java\jdk1.7.0_40.
e) Create a new system variable ANT_HOME and set its value as the
path to your ant e..g C:\ant
f) Create a new system variable CASSANDRA_HOME and set its value as the
path to cassandra. e.g c:\cassandra
Step 4: Now you have to build the source.
Go to the command prompt and type the following commands
a.) cd\ b.) cd cassandra
c.) ant
Wait till “BUILD SUCCESSFUL” is displayed.
Close the command prompt.
Step 5: Start the server.
Open command prompt and type the following commands on command prompt.
a.) cd\ b.) cd\cassandra\bin c.) cassandra –f Server has started. Do not close the command prompt. It’s the server it will run in background.
Step 6: My Computer C drive cassandrabin. Double click on “cassandra -cli”(Batch File).
Wohoooooo !!!! Installation complete