ES 环境搭建

curl 'http://localhost:9210/?pretty'

配置 IP 后出错 network.host: x.x.x.x

ERROR: [2] bootstrap checks failed
[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
[2]: system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own ris

[1] 设置
sysctl -w vm.max_map_count=655360
sysctl -p

[2]解决方法:
编辑 elasticsearch.yml 中配置 bootstrap.system_call_filter 为 false,注意要在Memory下面:
bootstrap.memory_lock: false
bootstrap.system_call_filter: false

posted @ 2018-10-11 10:30  tomren  阅读(355)  评论(0编辑  收藏  举报