美文网首页
ELK-安装

ELK-安装

作者: 46d100a313fb | 来源:发表于2018-06-28 11:27 被阅读9次

    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

    相关文章

      网友评论

          本文标题:ELK-安装

          本文链接:https://www.haomeiwen.com/subject/nahgyftx.html