You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by Apache Wiki <wi...@apache.org> on 2011/02/01 22:18:42 UTC

[Cassandra Wiki] Update of "GettingStarted" by JaredMorrow

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The "GettingStarted" page has been changed by JaredMorrow.
The comment on this change is: Updated for cassandra.yaml configuration file..
http://wiki.apache.org/cassandra/GettingStarted?action=diff&rev1=52&rev2=53

--------------------------------------------------

  
  Since there isn't currently an installation method per se, the easiest solution is to simply run Cassandra from an extracted archive<<FootNote(Users of Debian or Debian-based derivatives can install the latest stable release in package form, see DebianPackaging for details.)>><<FootNote(Users of RPM-based distributions can get packages from [[http://www.riptano.com/blog/announcing-rpms-cassandra|Riptano]])>> or SVN checkout (see: [[#picking_a_version|Picking a version]]). Also, unless you've downloaded a binary distribution, you'll need to compile the software by invoking `ant` from the top-level directory.
  
- The distribution's sample configuration `conf/storage-conf.xml` contains reasonable defaults for single node operation, but you will need to make sure that the paths exist for `CommitLogDirectory` and `DataFileDirectories`. Additionally, take a minute now to look over the logging configuration in `conf/log4j.properties` and make sure that directories exist for the configured log file(s) as well.
+ The distribution's sample configuration `conf/cassandra.yaml` contains reasonable defaults for single node operation, but you will need to make sure that the paths exist for `data_file_directories`, `commitlog_directory`, and `saved_caches_directory`. Additionally, take a minute now to look over the logging configuration in `conf/log4j.properties` and make sure that directories exist for the configured log file(s) as well.
  
  Some people running OS X have trouble getting Java 6 to work. If you've kept up with Apple's updates, Java 6 should already be installed (it comes in Mac OS X 10.5 Update 1). Unfortunately, Apple does not default to using it. What you have to do is change your `JAVA_HOME` environment setting to `/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home` and add `/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin` to the beginning of your `PATH`.