Elasticsearch: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 23: Line 23:
=Configuration=
=Configuration=
=Operations=
=Operations=
Start/stop:
==Start/Stop==
<syntaxhighlight lang='bash'>
<syntaxhighlight lang='bash'>
systemctl stop elasticsearch.service
systemctl stop elasticsearch.service
systemctl start elasticsearch.service
systemctl start elasticsearch.service
</syntaxhighlight>
</syntaxhighlight>
==Logs==
<code>/var/log/elasticsearch/</code>

Revision as of 23:51, 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

Operations

Start/Stop

systemctl stop elasticsearch.service
systemctl start elasticsearch.service

Logs

/var/log/elasticsearch/