--- title: Install Dependencies ---

{{ page.title }}

For getting start, you'll need the following systems in place.

This page does not describe industry best practices

You should consider the result of this an experiment, it is not recommended to operate the system like this in a production infrastructure.

Cassandra 2.x

Install on Debian

Follow instructions on the Cassandra Wiki

Other Linux

Download .tar.gz from https://cassandra.apache.org/download/

Unpack and run (replace <version> with the actual 2.x version)

tar -xvf apache-cassandra-<version>-bin.tar.gz
cd apache-cassandra-<version>

Run cassandra (-f keeps it in the foreground)

bin/cassandra -f

Next you should read how to configure cassandra.

Elasticsearch

Debian

Follow instructions on https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html

After you have the package installed, edit the configuration file /etc/default/elasticsearch and uncomment the lines defining variables LOG_DIR, DATA_DIR, WORK_DIR, CONF_DIR and CONF_FILE.

Now you may start the service:

sudo systemctl start elasticsearch

Generic Linux

Download .tar.gz from https://www.elastic.co/downloads/elasticsearch

Unpack and run (replace <version> with the actual version)

tar -xvf elasticsearch-<version>-bin.tar.gz
cd elasticsearch-<version>

Run Elasticsearch

bin/elasticsearch

Kafka

Generic Linux

Download .tgz from http://kafka.apache.org/downloads.html

Unpack and run (replace <scala-version>, and <version> with the actual versions)

tar -xvf kafka_<scala-version>-<version>.tgz
cd kafka_<scala-version>-<version>

Run ZooKeeper and Kafka.

bin/zookeeper-server-start.sh config/zookeeper.properties
bin/kafka-server-start.sh config/server.properties