码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2018-06-03 21:40:26      阅读:167      评论:0      收藏:0      [点我收藏+]

标签:rtu   div   centos6   get   least   安装   color   ast   strong   

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

标签:rtu   div   centos6   get   least   安装   color   ast   strong   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!