Usage/Deployment Instruction
Note: Please open the following Security Ports in the instance:
5601, 9200, 54323, 9093, 2181, 9092, 5902, 5901, 3000, 8091, 54321, 4040, 8787, 8080, 8088
Step 1: Open Putty for SSH
Step 2: Open Putty and Type <instance public IP> at “Host Name”
Type "root" as user name and “miri@123” as Password.
Note: Type the following command on the instance and press enter: vi /etc/hosts

Following screen will appear and press “insert” button to enter in the insert mode:

Take the Private Ip address from your machine as per the below screenshot and then add it as the second line of your command screen with that Private ip address as shown in screenshot.


Then press” Esc” button and type “:wq” and press enter to exit from the text editor.

Note: Please run the following command: echo "127.0.0.1 `hostname`" >> /etc/hosts
Then run the command vi /etc/hosts and exit the file by pressing the button Esc and then enter :wq then press enter.

Step 3: Use following Linux command to start cassandra
Note: Please do not copy the below commands, type it manually.
Command- cassandra -R

Now, please press Ctrl+C to exit from the running command.
Command- cqlsh
Run any cassandra command and enjoy.

Note: you can type quit to exit from the ongoing Cassandra cluster.
Optional for Hadoop core:
Step 1: Type the following commands:
Command- ssh-keygen -t rsa -P ""
This command is used to generate the ssh key.

Command- cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys
This command is used to move the generated ssh key to the desired location

Command- hdfs namenode –format

Command- start-all.sh
You have to write “yes” when it prompts you – Are you sure you want to continue?

Step 2: After the above command executes successfully, you should check the below urls in the browser -
http://<instance-public-ip>:8088
