Created
August 25, 2016 19:43
-
-
Save csbond007/4980ac5be6598029cb33d3cfb1c655b7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Change Network Settings in VM | |
NAT->Bridged Adapter | |
Promiouscuous Node : Deny -> Allow All | |
Download Cassandra Tar-Ball : http://www.apache.org/dyn/closer.lua/cassandra/3.7/apache-cassandra-3.7-bin.tar.gz | |
cd Downloads/ | |
ls | |
sudo cp apache-cassandra-3.7-bin.tar.gz /usr/local/. | |
cd /usr/local | |
## bashrc changes -- TODO | |
kaustav@kaustav-VirtualBox:/usr/local$ sudo tar -xzvf apache-cassandra-3.7-bin.tar.gz | |
kaustav@kaustav-VirtualBox:/usr/local$ sudo chown kaustav -R apache-cassandra-3.7 | |
kaustav@kaustav-VirtualBox:/usr/local$ sudo chgrp kaustav -R apache-cassandra-3.7 | |
cassandra.yaml changes | |
cluster_name: 'My_Cluster_2' | |
start_rpc : true | |
rpc_address: 10.10.40.157 | |
listen_address: 10.10.40.157 | |
broadcast_address: 10.10.40.157 | |
broadcast_rpc_address: 10.10.40.157 | |
seeds: "10.10.40.157" | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get install oracle-java8-set-default | |
java -version | |
./bin/cassandra | |
./bin/cqlsh 10.10.40.97 | |
kaustav@kaustav-VirtualBox:/usr/local/apache-cassandra-3.7$ ./bin/nodetool status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cassandra Installation in Ubuntu