Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 752 Bytes

running-cassandra.md

File metadata and controls

36 lines (25 loc) · 752 Bytes

Sample Lab : Running Cassandra

Screencast

Sandbox cassandra Screencast

Checkout our Sandbox channel for more videos.

Script

In terminal

  $   cd
  # unpack
  $   tar xvf files/cassandra-dsc-3.0.9.tgz
  $   mv dsc-cassandra-3.0.9/ cassandra

  # create directories
  $  sudo rm -rf   /var/lib/cassandra  # cleanup
  $  sudo mkdir -p  /var/lib/cassandra
  $  sudo chown $USER   /var/lib/cassandra

  $  sudo rm -rf   /var/log/cassandra  # cleanup
  $  sudo mkdir -p /var/log/cassandra
  $  sudo chown $USER   /var/log/cassandra

  $  ~/cassandra/bin/cassandra

Verify C* is running

  $  ~/cassandra/bin/nodetool status
  $  ~/cassandra/bin/cqlsh