Skip to content

Installing ElasticSearch

GeoNetwork Enterprise requires ElasticSearch version 7.17.15 as a search engine for metadata content.

To create dashboards to visualize the search/content statistics you need to install also Kibana.

You can also install these applications with Docker following the instructions below.

Once installed check how to Configure Elasticsearch in GeoNetwork Enterprise.

Reference:

ElasticSearch

To run ElasticSearch in Windows:

  1. Download the package from https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.17.15-windows-x86_64.zip

  2. Unzip the package to a folder, for example c:\elasticsearch-7.17.15.

  3. Open a terminal window and start up ElasticSearch:

    cd c:\elasticsearch-7.17.15
    .\bin\elasticsearch.bat
    

Instead, you can install ElasticSearch as a Windows service:

  1. Open a terminal window and execute the following commands to install the service:

    cd c:\elasticsearch-7.17.15\bin
    elasticsearch-service.bat install
    
  2. To start the service:

    cd c:\elasticsearch-7.17.15\bin
    elasticsearch-service.bat start
    
  3. To stop the service:

    cd c:\elasticsearch-7.17.15\bin
    elasticsearch-service.bat stop
    

Reference:

!!!! Note

 A MSI installer is also available: [Install Elasticsearch with Windows MSI Installer](https://www.elastic.co/guide/en/elasticsearch/reference/7.15/windows.html)

If you are using Debian, follow these instructions: https://www.elastic.co/guide/en/elasticsearch/reference/7.15/deb.html

If you use a Linux RPM-based system such as OpenSuSE, SLES, Centos, Red Hat, and Oracle Enterprise, follow these instructions:

If you don't use Debian or a distribution that uses RPM packages, follow the following steps to install ElasticSearch.

  1. To download the package, open a terminal and execute the following commands:

    wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.17.15-linux-x86_64.tar.gz
    wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.17.15-linux-x86_64.tar.gz.sha512
    shasum -a 512 -c elasticsearch-7.17.15-linux-x86_64.tar.gz.sha512
    tar -xzf elasticsearch-7.17.15-linux-x86_64.tar.gz
    cd elasticsearch-7.17.15/
    
  2. To run the ElasticSearch:

    ./bin/elasticsearch
    

Reference:

To install ElasticSearch with Docker follow the instructions:

Kibana

To run Kibana in Windows:

  1. Download the package from https://artifacts.elastic.co/downloads/kibana/kibana-7.17.15-windows-x86_64.zip

  2. Unzip the package to a folder, for example c:\kibana-7.17.15-windows-x86_64.

  3. Open a terminal window and start up Kibana:

    .\bin\kibana.bat
    

If you are using Debian, follow these instructions:

If you use a Linux RPM-based system such as OpenSuSE, SLES, Centos, Red Hat, and Oracle Enterprise, follow these instructions:

If you don't use Debian or a distribution that uses RPM packages, follow the following steps to install ElasticSearch:

  1. To download the package, open a terminal and execute the following commands:

    curl -O https://artifacts.elastic.co/downloads/kibana/kibana-7.17.15-linux-x86_64.tar.gz
    curl https://artifacts.elastic.co/downloads/kibana/kibana-7.17.15-linux-x86_64.tar.gz.sha512 | shasum -a 512 -c -
    tar -xzf kibana-7.17.15-linux-x86_64.tar.gz
    cd kibana-7.17.15-linux-x86_64/
    
  2. To run the Kibana:

    ./bin/kibana
    

Reference:

To install Kibana with Docker follow the instructions at https://www.elastic.co/guide/en/kibana/7.15/docker.html