Elasticsearch

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

Installation

wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.15.2-x86_64.rpm
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.15.2-x86_64.rpm.sha512
shasum -a 512 -c elasticsearch-7.15.2-x86_64.rpm.sha512
sudo rpm --install elasticsearch-7.15.2-x86_64.rpm
  • Enable start at boot. As root:
systemctl daemon-reload
systemctl enable elasticsearch.service

Smoke test:

Configuration

/etc/elasticsearch/elasticsearch.yml

Operations

Start/Stop

systemctl stop elasticsearch.service
systemctl start elasticsearch.service

Logs

/var/log/elasticsearch/