1、bound or publishing to a non-loopback or non-link-local address,otstrap checks bootstrap checks failed
原因:在elasticsearch配置中配置的内存大小太大了
解决方案:
cd elasticsearch/config
vi jvm.properties
找到-xms=4g、-xmx=4g配置最大、最小内存大小
2、max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
解决方案:
1、su - root
2、设置最大数值:sysctl -w vm.max_map_count=262144
3、在 /etc/sysctl.conf文件最后添加一行:vm.max_map_count=262144
4、立即生效:sysctl -p
参考链接:https://github.com/elastic/elasticsearch/issues/24905