cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cassandra Wiki] Update of "GettingStarted" by JonHaddad
Date Thu, 30 Oct 2014 02:56:54 GMT
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 JonHaddad:
https://wiki.apache.org/cassandra/GettingStarted?action=diff&rev1=103&rev2=104

Comment:
updating instructions to no longer require root 

  
  If you start up Cassandra without the "-f" option, it will run in the background. You can
stop the process by killing it, using '`pkill -f CassandraDaemon`', for example.
  
-  . Users of recent Linux distributions and Mac OS X Snow Leopard should be able to start
up Cassandra simply by untarring and invoking `bin/cassandra -f` with root privileges. Snow
Leopard ships with Java 1.6.0 and does not require changing the `JAVA_HOME` environment variable
or adding any directory to your `PATH`. On Linux just make sure you have a working Java JDK
package installed such as the `openjdk-6-jdk` on Ubuntu Lucid Lynx.
+  . Cassandra Users of recent Linux distributions and Mac OS X Snow Leopard should be able
to start up Cassandra simply by untarring and invoking `bin/cassandra -f`.  Since Cassandra
2.1, the tar.gz download has shipped with the log and data directories defaulting to the Cassandra
directory.  Versions prior defaulted to `/var/log/cassandra` and `/var/lib/cassandra/`.  Due
to this it is necessary to either start Cassandra with root privileges or change the `conf/cassandra.yaml`
to use a directory owned by the current user.  Snow Leopard ships with Java 1.6.0 and does
not require changing the `JAVA_HOME` environment variable or adding any directory to your
`PATH`. On Linux just make sure you have a working Java JDK package installed such as the
`openjdk-6-jdk` on Ubuntu Lucid Lynx.
  
  == Step 4: Using cqlsh ==
  `bin/cqlsh` is an interactive command line interface for Cassandra. cqlsh allows you to
execute CQL (Cassandra Query Language) statements against Cassandra. Using CQL, you can define
a schema, insert data, execute queries. Run the following command to connect to your local
Cassandra instance with cqlsh:
@@ -176, +176 @@

  Finally, post a message with all relevant details to the list ([[mailto:user-subscribe@cassandra.apache.org|subscription
required]]), or hop onto [[http://webchat.freenode.net/?channels=#cassandra|IRC]] (network
irc.freenode.net, channel #cassandra) and let us know.
  
  <<BR>> <<BR>>
-  
+ 
  ----
  '''Footnotes:'''
  

Mime
View raw message