报错

Ubuntu下,运行elasticsearch报错:

max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

解决

sudo

添加下面配置

vm.max_map_count=655360

然后执行命令

sudo

最后就可以启动ES了。