windows下安装elasticsearch

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

你可能感兴趣的:(windows下安装elasticsearch)