Elasticsearch: Difference between revisions
Jump to navigation
Jump to search
Line 23: | Line 23: | ||
=Configuration= | =Configuration= | ||
=Operations= | =Operations= | ||
Start/ | ==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
- Download the latest RPM from https://www.elastic.co/guide/en/elasticsearch/reference/current/install-elasticsearch.html → Install Electric Search with RPM → https://www.elastic.co/guide/en/elasticsearch/reference/current/rpm.html
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/