Ubuntu下,运行elasticsearch报错:
max virtual memory areas vm.max_map_count [65530] is too low,increase to at least [262144]
sudo vi /etc/sysctl.conf
添加下面配置
vm.max_map_count=655360
然后执行命令
sudo sysctl -p
最后就可以启动ES了。