1. Set up Cassandra
- Linux: apt or yum
- Mac: Homebrew (brew install cassandra)
- Windows: download in Cassandra
brew install cassandra
2. Cassandra uses CQL (similar with SQL)
3. execute Cassandra
1. cassandra server
cassandra -f
2. cqlsh 도구를 통해 데이터베이스에 접근, 쿼리 실행
cqlsh
3. Keyspace 생성
CREATE KEYSPACE my_keyspace WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1};
USE my_keyspace;