1、java环境
2、wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.6.11.tar.gz
3、解压 新建用户用于启动 注意使用的版本,这里我用的是5.6
groupadd elsearch
useradd elsearch -g elsearch -p 123456
4、修改基本参数
5、1)su elsearch 尝试启动会找到好多权限不够的访问文件
2)chmod 777 * 命令尝试改变权限
3)重新启动
报错:
【1】对应解决方案:
#切换到root用户修改
vim /etc/security/limits.conf
在最后面追加下面内容
*** hard nofile 65536
*** soft nofile 65536
*** 是启动ES的用户
【2】对应解决方案:切换root用户
sudo sysctl -w vm.max_map_count=262144
kibana 安装:
参考链接:https://www.cnblogs.com/yidiandhappy/p/7714481.html
参考链接:https://blog.csdn.net/faryang/article/details/77828607
参考连接:https://blog.csdn.net/lyelyelye/article/details/81098283