howto:cassandra_install
Install Cassandra on Ubuntu 14.04
Installing via apt-get
is always a good idea, as you keep getting goodies with a simple sudo apt-get upgrade
. Unfortunately, Cassandra is not in Ubuntu's repository, and my Data Science students require it (for their assignment, nonetheless). Here's a recipe to make it work:
- Add the datastax repository to the apt-get repositories
echo “deb http://debian.datastax.com/community stable main” | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list
- Add their key for verification,
curl -L http://debian.datastax.com/debian/repo_key | sudo apt-key add -
- You need to
sudo apt-get update
to update the list of repositories to use the datastax one - From here it should be easy
sudo apt-get install cassandra
Cassandra (currently 3.0.0) should automatically start (and run) on port 7000 (default).
howto/cassandra_install.txt · Last modified: 2018/10/09 10:12 by 127.0.0.1