From e53b7e0f6b0506a742852fce857098addbeb2754 Mon Sep 17 00:00:00 2001 From: Vincent Royer Date: Thu, 11 Aug 2016 19:39:04 +0200 Subject: [PATCH] release 2.1.1-16 --- doc/source/installation.rst | 39 +++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 doc/source/installation.rst diff --git a/doc/source/installation.rst b/doc/source/installation.rst new file mode 100644 index 00000000000..26ecca02faa --- /dev/null +++ b/doc/source/installation.rst @@ -0,0 +1,39 @@ +Installation +============ + +Building from source +-------------------- + +* Elassandra uses `Maven `_ for its build system. Simply run : + +1. ``git clone http://github.com/vroyer/elassandra.git`` +2. ``git clone http://git-wip-us.apache.org/repos/asf/cassandra.git`` +3. ``git checkout cassandra-2.2.x`` +4. ``mvn clean package -Dmaven.test.skip=true -Dcassandra.home=`` command in the elassandra cloned directory. The distribution will be created under *target/releases*. + +Tarball Installation +-------------------- + +* Install Java version 8 (check version with `java -version`). Version 8 is recommended, see `Installing Oracle JDK on RHEL-based Systems `_. +* Apply OS settings for cassandra, see `Recommended production settings for Linux `_ +* For linux, install jemalloc (yum install jemalloc). +* Download Elassandra tarball from `elassandra repository `_ and extract files in your installation directory. +* Install the cassandra driver ``pip install cassandra-driver`` and the cqlsh utility ``python pylib/setup.py install``. +* Configure your cassandra cluster (cluster name, snitch, ip address, seed...), see `cassandra configuration `_. Default Elasticsearch configuration is located in ``conf/elasticsearch.yml``, but most of configuration is inherited from the cassandra.yml (cluster name, listen address, paths, etc...). . +* Configure cassandra and elasticsearch logging in conf/logback.xml, see `logback framework `_. + +RPM Installation +---------------- + +.. include:: install_rpm.rst + +DEB Installation +---------------- + +.. include:: install_deb.rst + +Docker Installation +------------------- + +.. include:: docker.rst +