• Elasticsearch5安装


    1、前提

    (1)、JDK需要1.8以上

    (2)、最大打开文件数至少65536(/etc/security/limits.conf)

    (3)、vm.max_map_count至少270000(vm.max_map_count=300000)

    (4)、启动必须为非root用户

    2、下载安装

    (1)、https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.4.3.tar.gz

    (2)、启动  ./bin/elasticsearch -d

    (3)、配置

    为了允许 elasticsearch-head 运行时的跨域,增加如下配置(config/elasticsearch.yml)

    # allow origin
    http.cors.enabled: true
    http.cors.allow-origin: "*"
    http.cors.allow-headers: authorization

    (4)、访问验证

    http://localhost:9200/ 

    3、插件

    (1)、可视化插件(elasticsearch-head)

    git clone git://github.com/mobz/elasticsearch-head.github
    cd elasticsearch-head
    npm install
    nohup npm run start &

    验证地址: http://localhost:9100

    参考: https://mobz.github.io/elasticsearch-head/

    for Elasticsearch 5.x: plugins are not supported. Run elasticsearch-head as a standalone
    for Elasticsearch 2.x – 4.x: sudo elasticsearch/bin/plugin install mobz/elasticsearch-head
    for Elasticsearch 1.x: sudo elasticsearch/bin/plugin -install mobz/elasticsearch-head/1.x
    for Elasticsearch 0.9: sudo elasticsearch/bin/plugin -install mobz/elasticsearch-head/0.9

    (2)、插件bigdesk

    
    
    git clone https://github.com/hlstudio/bigdesk
    cd bigdesk/_site
    python -mSimpleHTTPServer
    Serving HTTP on 0.0.0.0 port 8000

    访问地址: http://localhost:8000

    参考: http://bigdesk.org

        https://kibana.logstash.es/content/elasticsearch/monitor/bigdesk.html

  • 相关阅读:
    错误设置子网掩码的结果
    子网掩码
    网络笔记
    网络笔记
    命名空间
    命名空间
    多重继承和虚继承
    多重继承和虚继承
    windows抓包程序
    windows抓包程序
  • 原文地址:https://www.cnblogs.com/taoge007/p/7269397.html
Copyright © 2020-2023  润新知