1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Cassandraをインストールしてみる

Posted at

CassandraをWindowsにインストールしてみる

Cassandraのインストール

http://cassandra.apache.org/download/
から
apache-cassandra-2.0.16-bin.tar.gz
をインストール
※最新版ではcassandra-cli.batがなぜか入っていなかった
※JDKの設定も必要だが省略
※java1.7以上が必要

Cassandraの解凍

7-ZipとかLhaplusとかを使って解凍
http://sevenzip.osdn.jp/
http://www.xucker.jpn.org/pc/7zip_use.html
http://www.forest.impress.co.jp/library/software/lhaplus/

Cassandraサーバーの起動

C:\cassandra\apache-cassandra-2.0.16\bin\cassandra.bat
をダブルクリック

Starting Cassandra Server
INFO 18:08:59,720 Logging initialized
INFO 18:08:59,808 Loading settings from file:/C:/cassandra/apache-cassandra-2.0
.16/conf/cassandra.yaml
INFO 18:09:00,110 Data files directories: [/var/lib/cassandra/data/dtl]
・・・(省略)

INFO 18:02:11,940 Binding thrift service to localhost/127.0.0.1:9160
INFO 18:02:11,947 Using synchronous/threadpool thrift server on localhost : 916
0
INFO 18:02:11,948 Listening for thrift clients...

cassandra-cliからCassandraにつなぐ

cassandraを起動したまま
C:\cassandra\apache-cassandra-2.0.16\bin\cassandra-cli.bat
をダブルクリック

Starting Cassandra Client
Connected to: "Test Cluster" on 127.0.0.1/9160
Welcome to Cassandra CLI version 2.0.16

The CLI is deprecated and will be removed in Cassandra 2.2. Consider migrating
to cqlsh.
CQL is fully backwards compatible with Thrift data; see http://www.datastax.com/
dev/blog/thrift-to-cql3

Type 'help;' or '?' for help.
Type 'quit;' or 'exit;' to quit.

[default@unknown]

ここまででインストール、利用準備は完了っぽい

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?