Skip to content

Instantly share code, notes, and snippets.

@rosiecakes
Last active November 12, 2016 01:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rosiecakes/aa31c0e7782ce5db2b4cf2d6b36f999d to your computer and use it in GitHub Desktop.
Save rosiecakes/aa31c0e7782ce5db2b4cf2d6b36f999d to your computer and use it in GitHub Desktop.
datastaxeses

Will use https://github.com/pcmanus/ccm

CCM needs 2.7, new venv and install (ccm installs pre-reqs)
mkvirtualenv -p /usr/local/bin/python2.7 datastax
pip install ccm
pip install cassandra-driver

Use this version, even though 3.9 is latest, this one is on the installation page
ccm create test -v 3.6

Fire up 3 nodes:
ccm populate -n 3

New adapters for other 2 nodes:
sudo ifconfig lo0 alias 127.0.0.2
sudo ifconfig lo0 alias 127.0.0.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment