ElasticSearch学习 vol.1 启动组件

运行环境:win10
工具:PowerShell

ElasticSearch启动

./elasticsearch

打开浏览器,访问本地端口9200,可以看到返回的es信息

{
  "name" : "ZSH-X1C",
  "cluster_name" : "elasticsearch",
  "cluster_uuid" : "fSGnr92ZTkG5t_9WtrQqhA",
  "version" : {
    "number" : "7.9.1",
    "build_flavor" : "default",
    "build_type" : "zip",
    "build_hash" : "083627f112ba94dffc1232e8b42b73492789ef91",
    "build_date" : "2020-09-01T21:22:21.964974Z",
    "build_snapshot" : false,
    "lucene_version" : "8.6.2",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },
  "tagline" : "You Know, for Search"
}

查看es已安装插件

./elasticsearch-plugin list

除了命令行,也可以通过浏览器查询

localhost:9200/_cat/plugins

安装es插件

./elasticsearch-plugin install analysis-icu

关于es插件的介绍,可以查阅关于es插件的介绍

在开发机上运行多个es实例

bin/elasticsearch -E node.name=node1 -E cluster.name=XXX -E path.data = node1_data -d
...
bin/elasticsearch -E node.name=nodeN -E cluster.name=XXX -E path.data = nodeN_data -d

浏览器查看节点信息

localhost:9200/_cat/nodes

Kibana启动

./kibana

浏览器访问Kibana控制台(需要先启动一个es实例)

localhost:5601

插件安装(类似es的命令)

kibana-plugin install xxx

你可能感兴趣的:(elasticsearch)