2011-11-09
下述是以Cassandra 1.0為基準的安裝筆記,基本上不會有任何設置參數用途的說明,就單純只是Memo。
Linux平台的安裝方式
MAX_HEAP_SIZE="128M"
HEAP_NEWSIZE="32M"
JMX_PORT="7199"
cluster_name: 'Test Cluster'
initial_token: 0
data_file_directories:
- /home/cloudtu/cassandra-1.0.0/data
commitlog_directory: /home/cloudtu/cassandra-1.0.0/commitlog
saved_caches_directory: /home/cloudtu/cassandra-1.0.0/saved_caches
seed_provider:
- seeds: "127.0.0.1,127.0.0.2"
listen_address: 127.0.0.1
rpc_address: 127.0.0.1
rpc_port: 9160
# rolling log file
log4j.appender.R.File=/home/cloudtu/cassandra-1.0.0/system.log
set JAVA_OPTS=-ea^
-Xms32m^
-Xmx128m^
-Dcom.sun.management.jmxremote.port=7199^
cluster_name: 'Test Cluster'
initial_token: 0
data_file_directories:
- d:\cassandra-1.0.0\data
commitlog_directory: d:\cassandra-1.0.0\commitlog
saved_caches_directory: d:\cassandra-1.0.0\saved_caches
seed_provider:
- seeds: "127.0.0.1,127.0.0.2"
listen_address: 127.0.0.1
rpc_address: 127.0.0.1
rpc_port: 9160
# rolling log file
log4j.appender.R.File=d:\cassandra-1.0.0\system.log