Elasticsearch: Difference between revisions
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
- 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
/etc/elasticsearch/elasticsearch.yml
Operations
Start/Stop
systemctl stop elasticsearch.service
systemctl start elasticsearch.service
Logs
/var/log/elasticsearch/