elastic5.6安装及配置

单节点

elasticsearch.yml

注意配置:

bootstrap.memory_lock: true  # disable swapping 
bootstrap.system_call_filter: false
jvm.options

将xms与xmx设定为同样大小的值,以防止jvm的resize。

/etc/security/limits.conf
hadoop soft nofile 65536
hadoop hard nofile 65536

hadoop soft nproc 2048
hadoop hard nproc 2048
/etc/sysctl.cof
vm.max_map_count=212448
sysctl vm.max_map_count
后台启动
./elasticsearch -d
安全地关停es服务
kill -SIGTERM pid

安装x-pack

./elasticsearch-plugin install x-pack

猜你喜欢

转载自blog.csdn.net/wenxindiaolong061/article/details/82219442
今日推荐