elk最好的安装方式,当然是全部yum安装了,经过整理,如下方式可完全yum安装最新版本的elk:
1、
rpm --import
2、三个yum源:
-
[elasticsearch-2.x]
-
name=Elasticsearch repository for 2.x packages
-
baseurl=http://packages.elastic.co/elasticsearch/2.x/centos
-
gpgcheck=1
-
gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch
-
enabled=1
-
[logstash-2.3]
-
name=Logstash repository for 2.3.x packages
-
baseurl=https://packages.elastic.co/logstash/2.3/centos
-
gpgcheck=1
-
gpgkey=https://packages.elastic.co/GPG-KEY-elasticsearch
-
enabled=1
-
[kibana-4.5]
-
name=Kibana repository for 4.5.x packages
-
baseurl=http://packages.elastic.co/kibana/4.5/centos
-
gpgcheck=1
-
gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch
-
enabled=1
然后,三个yum install即可,都可以自带服务启动,很简单,配置不多说了,just so so!
阅读(709) | 评论(0) | 转发(0) |