freezer/install-guide/source/db-install.rst
Saad Zaher 95b49ffa24 Updating install-guide docs
Change-Id: I7586763cf25be7ca115c7325129a7c9aa7022603
2017-07-19 11:04:19 +01:00

1.3 KiB

Install and configure database

Before you install and configure the Backup/Restore service, you must install the database.

  1. To install elasticsearch on Ubuntu, complete these steps:
    • Install java prerequisites:

      $ sudo apt-get install -y default-jre-headless
    • Download elasticsearch version 2.3.0

      $ wget https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/2.3.0/elasticsearch-2.3.0.deb
    • Install elasticsearch

      $ sudo dpkg -i elasticsearch-2.3.0.deb
      $ sudo update-rc.d elasticsearch defaults 95 10
  2. To install elasticsearch on Fedora, complete these steps:
    • Install java prerequisites:

      $ sudo yum install -y java-1.8.0-openjdk-headless
    • Download elasticsearch version 2.3.0

      $ wget https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/rpm/elasticsearch/2.3.0/elasticsearch-2.3.0.rpm
    • Install elasticsearch

      $ sudo yum install -y elasticsearch-2.3.0.rpm