Hi,

You should do at least these:
1.open conf/storage-conf.xml and set commitlog/data directory settings
2.open conf/log4j.properties and set log directory whichever you want
3.I recommend to set c:\java\cassandra\apache-cassandra-0.6.1/ as
%CASSANDRA_HOME% to your class path.
4.Also I recommend to change JMX port which is described at
bin/cassandra.bat from 8080 to other,
this might be problem when you are using Tomcat.

Just mention about 1 and 2, these files are readonly so you should
change to be writable before editing.
(I think these conf files should not be readonly...)

Hope this helps,
===
Shinpei

On Fri, Apr 23, 2010 at 11:53 AM, S Ahmed <sahmed1...@gmail.com> wrote:
> So I uncompressed the .tar, in the readme it says:
> * tar -zxvf cassandra-$VERSION.tgz
>   * cd cassandra-$VERSION
>   * sudo mkdir -p /var/log/cassandra
>   * sudo chown -R `whoami` /var/log/cassandra
>   * sudo mkdir -p /var/lib/cassandra
>   * sudo chown -R `whoami` /var/lib/cassandra
>
> My cassandra is at:
> c:\java\cassandra\apache-cassandra-0.6.1/
> So I have to create 2 folders log and lib?
> Is there a setting in a config file that I edit?



-- 
=============================
Shinpei Ohtani
mail    : shinpei.oht...@gmail.com
blog    : http://d.hatena.ne.jp/shot6/
twitter : http://twitter.com/shot6
=============================

Reply via email to