日期:2014-05-16 浏览次数:20463 次
[root@vm129 etc]# uname -a Linux vm129 2.6.18-92.el5xen #1 SMP Tue Jun 10 19:20:18 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
[root@vm129 src]# tar -xvzf apache-cassandra-0.6.3-bin.tar.gz [root@vm129 src]# mv apache-cassandra-0.6.3 /opt/modules/cassandra
log4j.appender.R.File=/opt/data/cassandra/system.log
<CommitLogDirectory>/opt/data/cassandra/commitlog</CommitLogDirectory> <DataFileDirectories> <DataFileDirectory>/opt/data/cassandra/data</DataFileDirectory> </DataFileDirectories>
JAVA_HOME=/opt/modules/jdk1.6 CASSANDRA_HOME=/opt/modules/cassandra PATH=$JAVA_HOME/bin:$PATH:$CATALINA_HOME/bin CLASSPATH=$JAVA_HOME/jre/lib/rt.jar:$JAVA_HOME/lib/tools.jar
-Dcom.sun.management.jmxremote.port=8080 \
-Dcom.sun.management.jmxremote.port=10036 \
INFO [main] 2010-07-29 16:29:54,466 CassandraDaemon.java (line 124) Binding thrift service to /localhost:9160 INFO [main] 2010-07-29 16:29:54,484 CassandraDaemon.java (line 182) Cassandra starting up...