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为自定义的数字

发布了43 篇原创文章 · 获赞 6 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/weixin_43866295/article/details/102939150