Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Apache Cassandra - Second Edition

You're reading from   Mastering Apache Cassandra - Second Edition Build, manage, and configure high-performing, reliable NoSQL database for your application with Cassandra

Arrow left icon
Product type Paperback
Published in Mar 2015
Publisher Packt
ISBN-13 9781784392611
Length 350 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Installing Cassandra


With the JVM ready, installing Cassandra is as easy as downloading the appropriate tarball from the Apache Cassandra's download page (http://cassandra.apache.org/download) and untarring it. On Debian or Ubuntu, you may install Cassandra from either a .tar file or an Apache Software Foundation repository.

Installing from a tarball

It is assumed that Cassandra is installed in the /opt directory, the data files are installed in the /cassandra-data directory, and the system logs are installed in /var/log/cassandra. These are just some conventions that were chosen by me. You may choose a location that suits you best:

# Download. Please select appropriate version and URL from http://cassandra.apache.org/download
$ wget \ http://mirror.sdunix.com/apache/cassandra/1.1.11/apache-cassandra-1.1.11-bin.tar.gz [-- snip --]
Saving to: 'apache-cassandra-1.1.11-bin.tar.gz'

# extract
$ tar xzf apache-cassandra-1.1.11-bin.tar.gz

# (optional) Symbolic link to easily switch versions in...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image