ELK-安装

2018-06-28  本文已影响9人  46d100a313fb

1.安装es

    brew update 

    brew install elasticsearch   

2.es安装完后的路径

elasticsearch:  /usr/local/Cellar/elasticsearch/5.5.0

Data:    /usr/local/var/elasticsearch/elasticsearch_xuchen/

Logs:    /usr/local/var/log/elasticsearch/elasticsearch_xuchen.log

Plugins: /usr/local/opt/elasticsearch/libexec/plugins/

Config:  /usr/local/etc/elasticsearch/

plugin script: /usr/local/opt/elasticsearch/libexec/bin/elasticsearch-plugin

3.如果需要额外安装插件

curl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.5.0.tar.gz

将这个文件解压到 elasticsearch/plugins 目录中

需要进入config中配置一些属性

比如可以吧cluster.name注释掉

最后执行

/usr/local/Cellar/elasticsearch/5.5.0/bin/elasticsearch

4.安装kibana

brew install kibana

5.启动

Start Elasticsearch:bin/elasticsearch

Start Kibana: bin/kibana

Open Kibana: http://localhost:5601

上一篇下一篇

猜你喜欢

热点阅读