搜索引擎 elasticsearch 5.2.2 在win8和linux上安装过程
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了搜索引擎 elasticsearch 5.2.2 在win8和linux上安装过程相关的知识,希望对你有一定的参考价值。
搜索引擎 elasticsearch 5.2.2 在win8安装过程如下
下载elasticsearch5.2.2 http://pan.baidu.com/s/1i5bs5nv
解压
打开并配置elasticsearch/config/elasticsearch.yml文件
cluster.name: es-cluster node.name: node-forgeeks network.host: 132.126.3.180 http.enabled: true http.cors.enabled: true http.cors.allow-origin: "*"
http.port: 9200
打开并配置elasticsearch/config/jvm-options文件
-Xms512m
-Xmx512m
启动
C:\Users\for geek\Downloads\> .\lasticsearch/bin/elasticsearch.bat
linux下一样先解压修改配置文件在进入bin目录 敲 sh elasticsearch
以上是关于搜索引擎 elasticsearch 5.2.2 在win8和linux上安装过程的主要内容,如果未能解决你的问题,请参考以下文章
给Elasticsearch 5.2.2 设置用户权限 how to setting security for elasticsearch on windows