1. elasticsearch的启动:
a.不能以root用户启动。
b.启动的用户有执行权限
c.cd 到bin目录,执行./elasticsearch
2.可能出现的问题:
Java HotSpot(TM) Server VM warning: INFO: os::commit_memory(0x2ae00000, 2080374784, 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 2080374784 bytes for committing reserved memory.
问题分析: