首页 > 其他 > 详细

【ELK】之Centos6.9_x64安装elasticsearch6.2.1

时间:2018-06-03 21:01:10      阅读:207      评论:0      收藏:0      [点我收藏+]

1、下载elasticsearch6.2.1

wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.2.1.tar.gz

2、解压安装

 技术分享图片

3、启动

因为es为防止远程执行一些脚本,所以启动需要建立一个新的grouop 和user

技术分享图片

技术分享图片

技术分享图片

技术分享图片

直接进入bin目录启动

 技术分享图片

可能出现的问题,

[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]

vim /etc/security/limits.conf,在文件最后加上

* soft nproc  6000

* hard nproc  6000

* soft nofile 65536

* hard nofile 65536

 

[2]: max number of threads [1024] for user [es] is too low, increase to at least [4096]

vim /etc/security/limits.d/90-nproc.conf

*   soft    nproc     6000

 

 

[3]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] 

vim  /etc/sysctl.conf ,在文件最后面加上

vm.max_map_count=655360

 

【ELK】之Centos6.9_x64安装elasticsearch6.2.1

原文:https://www.cnblogs.com/gyjx2016/p/9130195.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!