Elasticsearch: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 22: Line 22:


=Configuration=
=Configuration=
<code>/etc/elasticsearch/elasticsearch.yml</code>
=Operations=
=Operations=
==Start/Stop==
==Start/Stop==

Revision as of 23:55, 20 November 2021

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/