ElasticSearch安装启动问题

解决:切换非root用户

2.Likely root cause: java.nio.file.AccessDeniedException: /usr/local/elasticsearch-6.4.3/config/elasticsearch.keystore

解决 :权限不够 

chown -R esuser:esuser /usr/local/elasticsearch-6.4.3

 

3.ERROR: [1] bootstrap checks failed
[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

max_map_count 提升到262144

解决

vim /etc/sysctl.conf 

max_map_count=262145

sysctl -p (重新生效)