Install and configure database

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 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 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 elasticsearch-2.3.0.rpm
      
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.