linux 安装elk总结

kabana

1.下载 wget https://artifacts.elastic.co/downloads/kibana/kibana-5.5.2-linux-x86_64.tar.gz
2.解压 tar -xzf kibana-5.5.2-linux-x86_64.tar.gz
3.启动 bin下  ./kibana

logstash

1.下载压缩包 wget https://artifacts.elastic.co/downloads/logstash/logstash-5.5.2.tar.gz
出现 cannot verify 证书问题,则用以下命令
wget https://artifacts.elastic.co/downloads/logstash/logstash-5.5.2.tar.gz --no-check-certificate
2.解压 tar -xzf logstash-5.5.2.tar.gz
3.启动 bin/logstash -e 'input { stdin { } } output { stdout {} }'
 在bin目录下则为 ./logstash -e 'input { stdin { } } output { stdout {} }'

问题 elasticsearch: OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase
from one, then you should configure the number of parallel GC threads appropriately using
-XX:ParallelGCThreads=N
编辑 logstash-5.5.2/config/jvm.options 添加一行参数 -XX:ParallelGCThreads=N N为自定义的数字

elasticsearch

1. wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.5.2.tar.gz  下载
2. tar -zxvf   elasticsearch-5.5.2.tar.gz 解压 
3. 进入elasticsearch-5.5.2  bin目录启动 sh elasticsearch -d 其中 -d 表示后台启动

问题1.
Exception in thread “main” java.nio.file.AccessDeniedException
权限问题 切换至root用户 执行 chown 用户名:用户名 elasticsearch-5.5.2 -R

问题2.
elasticsearch: OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase
from one, then you should configure the number of parallel GC threads appropriately using
-XX:ParallelGCThreads=N
编辑elasticsearch-5.5.2/config/jvm.options 添加一行参数 -XX:ParallelGCThreads=N N为自定义的数字

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值