1. 下载解压
    2. 启动
      • ./elasticsearch
    3. 安装分词器
      • ./elasticsearch-plugin install analysis-icu
    4. 查看插件
      • ./elasticsearch-plugin list
    5. 本机运行多个多个 elasticsearch(一次运行)
      • ./elasticsearch -E node.name=node2 -E cluster.name=geektime -E path.data=node2_data
      • ./elasticsearch -E node.name=node1 -E cluster.name=geektime -E path.data=node1_data
    6. 可以再http://localhost:9200/_cat/nodes查看节点
    7. 安装 kibana 同样是进入/bin目录, ./kibana启动
    8. 安装工程中警告 [security] Generating a random key for xpack.security.encryptionKey.To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in kibana.yml
      • 在配置文件kibana.yml中添加【xpack.security.encryptionKey】属性:
      • xpack.security.encryptionKey:”something_at_least_32_characters”