Elasticsearch 7.10.1的安装和使用

相关软件包下载地址:https://pan.baidu.com/s/1vRjPnZikw9rKQbpTglhqog 提取码:bdnq

​1.安装Elasticsearch
  下载地址:https://www.elastic.co/cn/downloads/past-releases#elasticsearch
2.启动Elasticsearch
  双击bin下的elasticsearch.bat文件,启动(安装版双击elasticsearch.exe)
  浏览器访问:http://localhost:9200/?pretty 看是否启动成功

3.操作与使用
 a.查看集群健康状态:http://localhost:9200/_cat/health?v

  b.查看节点:http://localhost:9200/_cat/nodes?v

 c.查看指数:http://localhost:9200/_cat/indices?v

 d.创建索引:
  1.安装Kibana,用来搜索、查看交互存储在Elasticsearch索引中的数据(创建节点,执行put命令)
    i.官方地址:https://www.elastic.co/cn/products/kibana
    ii.到kibana安装目录的config下,编辑kibana.yml配置文件,修改配置文件如下:

  iii.启动kibana:进入bin目录双击kibana.bat,访问http://127.0.0.1:5601,看到如下界面:
     ![](https://img2020.cnblogs.com/blog/884866/202012/884866-20201225144155198-1231417426.png)

至此,安装工作完成!

posted @ 2020-12-25 14:42  码上猎人  阅读(2001)  评论(0编辑  收藏  举报