码迷,mamicode.com
首页 > 其他好文 > 详细

安装Elasticsearch

时间:2016-11-22 22:56:04      阅读:184      评论:0      收藏:0      [点我收藏+]

标签:html   elastic   服务   curl   set   href   pretty   get   .gz   

1.下载https://www.elastic.co/guide/en/elasticsearch/reference tar.gz包

2.tar zxvf elasticsearch.tar.gz

3. 运行./bin/elasticsearch -d。按守护进程启动

4.curl -XGET ‘localhost:9200/?pretty‘ 查看是否启动服务。

5.日志文件默认在工作目录的log文件夹下。

6.配置文件在工作目录的config文件夹下的elasticsearch.yml中。

 

安装Elasticsearch

标签:html   elastic   服务   curl   set   href   pretty   get   .gz   

原文地址:http://www.cnblogs.com/guochunyi/p/6091266.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!