标签:
1 下载elasticsearch-1.4.2
2 修改配置(可选)
修改内存:(可选)
bin/elasticsearch.in.sh中:
ES_MIN_MEM ES_MAX_MEM
修改搜索引擎页面信息:(可选)
config/elasticsearch.yml中:
cluster.name: elasticsearch1.0
node.name: "elasticsearch1.0_Node1"
index.number_of_shards: 10
。
。
。
3 运行
{ "status" : 200, "name" : "elasticsearch1.0_Node1", "cluster_name" : "elasticsearch1.0", "version" : { "number" : "1.4.2", "build_hash" : "927caff6f05403e936c20bf4529f144f0c89fd8c", "build_timestamp" : "2014-12-16T14:11:12Z", "build_snapshot" : false, "lucene_version" : "4.10.2" }, "tagline" : "You Know, for Search" }
4 增加head插件
命令:bin>plugin -install mobz/elasticsearch-head
安装成功后:\plugins目录下会有head的文件夹。
进入:http://localhost:9200/_plugin/head/ 查看。
标签:
原文地址:http://www.cnblogs.com/xxx0624/p/4242564.html