Elasticsearch

From Objectif Client Inc
Revision as of 14:58, 27 September 2020 by Nicolas (talk | contribs) (Created page with "== Installation == * Increase vm.max_map_count <pre> grep vm.max_map_count /etc/sysctl.conf vm.max_map_count=262144 </pre> * Port 9200 * Pull image <pre>docker pull docker.el...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Installation

  • Increase vm.max_map_count
grep vm.max_map_count /etc/sysctl.conf
vm.max_map_count=262144 
  • Port 9200
  • Pull image
docker pull docker.elastic.co/elasticsearch/elasticsearch:7.9.2
  • Setup Volume
Volume data01:/usr/share/elasticsearch/data }/pre>


== Error ==

=== max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] ===
<pre>sysctl -w vm.max_map_count=262144