windows下安装elasticsearch

来源:互联网 发布:南笙 知乎 编辑:程序博客网 时间:2024/06/04 17:39

windows下安装elasticsearch

1.下载elasticsearch,地址:http://www.elasticsearch.org/overview/elkdownloads/

2.配置环境变量path,指向elasticsearch的bin

3.发布为service。

打开dos窗口输入:service install [service-name]

启动elasticsearch:service start [service-name]

停止elasticsearch:service stop  [service-name]

移除elasticsearch: service remove [service-name]

4.在浏览器访问:http://localhost:9200,访问成功即安装成功

5.安装head插件:在dos窗口输入:plugin -install mobz/elasticsearch-head,测试 http://localhost:9200/_plugin/head

  安装bigdesk插件:在dos窗口输入:plugin -install lukas-vlcek/bigdesk,测试 http://localhost:9200/_pugin/bigdesk

1 0
原创粉丝点击