#title 카산드라 우분투에 설치하기 {{{ wget http://mirror.apache-kr.org/cassandra/1.2.8/apache-cassandra-1.2.8-bin.tar.gz tar xzf apache-cassandra-1.2.8-bin.tar.gz su mv apache-cassandra-1.2.8 /usr/local/cassandra chown -R huser:hadoop /usr/local/cassandra mkdir /var/lib/cassandra mkdir /var/log/cassandra chown -R huser:hadoop /var/lib/cassandra chown -R huser:hadoop /var/log/cassandra exit vi /usr/local/cassandra/conf/cassandra-env.sh JVM_OPTS="$JVM_OPTS -Xss180k -> JVM_OPTS="$JVM_OPTS -Xss256k 으로 변경 cassandra -f pkill -f 'java.*cassandra' vi .profile export CASSANDRA_PATH=/usr/local/cassandra/bin vi /usr/local/cassandra/conf/cassandra.yaml rpc_address, listen_address 를 0.0.0.0으로 세팅 }}}