zoukankan      html  css  js  c++  java
  • elasticsearch5.0.1安装 marvel 插件

    elasticsearch5.0.1安装 marvel 插件


    1.在elasticsearch上安装x-pach插件

    在elasticsearch的根目录(每个节点),运行 bin/elasticsearch-plugin进行安装

    # bin/elasticsearch-plugin install x-pack


    -> Downloading x-pack from elastic
    [=================================================] 100%   

    * java.lang.RuntimePermission accessClassInPackage.com.sun.activation.registries
    * java.lang.RuntimePermission getClassLoader
    * java.lang.RuntimePermission setContextClassLoader
    * java.lang.RuntimePermission setFactory
    * java.security.SecurityPermission createPolicy.JavaPolicy
    * java.security.SecurityPermission getPolicy
    * java.security.SecurityPermission putProviderProperty.BC
    * java.security.SecurityPermission setPolicy
    * java.util.PropertyPermission * read,write
    * java.util.PropertyPermission sun.nio.ch.bugLevel write
    * javax.net.ssl.SSLPermission setHostnameVerifier
    See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
    for descriptions of what these permissions allow and the associated risks.


    Continue with installation? [y/N]y
    -> Installed x-pack


    如果config/elasticsearch.yml配置中关闭了自动创建索引,需要注释掉
    #action.auto_create_index: false
    改为如下:


    action.auto_create_index: .security,.monitoring*,.watches,.triggered_watches,.watcher-history*




    此时打开elasticsearch的9200端口,x-pack开启了账号密码认证
    默认用户名和密码分别是 elastic 和 changeme


    {
      "name" : "u04es01.yaya.corp",
      "cluster_name" : "yunva_es_cluster",
      "cluster_uuid" : "xdljOmjtQ3-eaMjYyU1wJw",
      "version" : {
        "number" : "5.0.1",
        "build_hash" : "080bb47",
        "build_date" : "2016-11-11T22:08:49.812Z",
        "build_snapshot" : false,
        "lucene_version" : "6.2.1"
      },
      "tagline" : "You Know, for Search"
    }


    2.在Kibana上安装X-Pack


    在Kibana根目录运行 bin/kibana-plugin 进行安装。


    # bin/kibana-plugin install x-pack


    Attempting to transfer from x-pack
    Attempting to transfer from https://artifacts.elastic.co/downloads/kibana-plugins/x-pack/x-pack-5.0.1.zip
    Transferring 56957357 bytes....................
    Transfer complete
    Retrieving metadata from plugin archive
    Extracting plugin archive
    Extraction complete
    Optimizing and caching browser bundles...
    Plugin installation complete


    在浏览器上输入: http://localhost:5601/ ,可以打开Kibana,此时需要输入用户名和密码登录,默认分别是 elastic 和 changeme
    之前如果有nginx会有双重验证(nginx可以去掉)

    修改密码会同步修改elasticsearch:9200端口的密码



    更详细的信息可以参考:
    https://www.elastic.co/guide/en/x-pack/5.0/installing-xpack.html

  • 相关阅读:
    Luogu 1080 【NOIP2012】国王游戏 (贪心,高精度)
    Luogu 1314 【NOIP2011】聪明的质检员 (二分)
    Luogu 1315 【NOIP2011】观光公交 (贪心)
    Luogu 1312 【NOIP2011】玛雅游戏 (搜索)
    Luogu 1525 【NOIP2010】关押罪犯 (贪心,并查集)
    Luogu 1514 引水入城 (搜索,动态规划)
    UVA 1394 And Then There Was One / Gym 101415A And Then There Was One / UVAlive 3882 And Then There Was One / POJ 3517 And Then There Was One / Aizu 1275 And Then There Was One (动态规划,思维题)
    Luogu 1437 [HNOI2004]敲砖块 (动态规划)
    Luogu 1941 【NOIP2014】飞扬的小鸟 (动态规划)
    HDU 1176 免费馅饼 (动态规划)
  • 原文地址:https://www.cnblogs.com/reblue520/p/6555917.html
Copyright © 2011-2022 走看看