记录Linux下安装elasticSearch时遇…

来源:互联网 发布:券商资管新规 知乎 编辑:程序博客网 时间:2024/05/20 13:12
 本人安装ElasticSearch的步骤完全参照官方文档来进行,在此仅记录下安装过程遇到的一些错误以及解决的办法。
错误一 cannot allocate memory
记录Linux下安装elasticSearch时遇到的一些错误
解决方案: 虚拟机内存不够,关掉centos,重新加大内存分配,原先是512M,现在分配到1800M

记录Linux下安装elasticSearch时遇到的一些错误

错误二  can not runelasticsearch as root

记录Linux下安装elasticSearch时遇到的一些错误
解决方案: 不能用root用户登录来执行,切换为普通用户,

错误三 切换为普通用户后,权限不够
解决方案:https://my.oschina.net/topeagle/blog/591451?fromerr=mzOr2qzZ

错误四  max virtualmemory areas vm.max_count [65530] likely too low,increase to atleast [26244] 

记录Linux下安装elasticSearch时遇到的一些错误
解决方案:https://zhuanlan.zhihu.com/p/22241634?refer=dataeye
记录Linux下安装elasticSearch时遇到的一些错误

错误五max file descriptors [4096]  forelasticsearch process likely too low,increase to atleast[65536] 
记录Linux下安装elasticSearch时遇到的一些错误

解决方案 http://www.chepoo.com/elasticsearch-installation-parameters-configuration-considerations.html

解决以上错误后成功开启ES服务

记录Linux下安装elasticSearch时遇到的一些错误

记录Linux下安装elasticSearch时遇到的一些错误

0 0