下载: 可以找到对应版本
https://www.elastic.co/cn/downloads/past-releases#elasticsearch
安装
下载:
https://cloud.tencent.com/developer/article/1422171
配置:
https://www.jianshu.com/p/69cef2d62f07
错误解决1:
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000085330000, 2060255232, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 2060255232 bytes for committing reserved memory.
# An error report file with more information is saved as:
后台启动: ./elasticsearch -d
使用 ps aux|grep elasticsearch 可以查看是否启动
错误解决:
[1]: max file descriptors [65535] for elasticsearch process is too low, increase to at least [65536]
[2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
http://www.voidcn.com/article/p-biyeuatu-btx.html
https://www.jianshu.com/p/2285f1f8ec21
https://blog.csdn.net/jiahao1186/article/details/90235771