Mac 安装Elasticsearch 5.0
来源:互联网 发布:c4d for mac 编辑:程序博客网 时间:2024/06/06 00:39
Install Elasticsearch 5.0
- Download .zip/.tar.gz 下载地址
- tar -xzf elasticsearch-5.0.0.tar.gz
- 修改配置文件(xx/config/elasticsearch.yml):
- path.data:/data/elasticsearch/data #数据目录
- path.logs:/data/elasticsearch/logs #日志目录
- network.host:x.x.x.x
- http.cors.enabled:true #这个参数设置head插件连接es集群
- http.cors.allow-origin:”*” #同上(如果不设置最后这两个参数head插件连接不到es集群)
- 启动es,nohup bin/elasticsearch > logs/xxx.log 2>&1 &
Install elasticsearch-head(es5.0不支持site plugin,所以需要单独安装head插件)
- elasticsearch-head
- enable cors by adding http.cors.enabled: true in elasticsearch configuration. Don’t forget to also set
http.cors.allow-origin because no origin allowed by default. http.cors.allow-origin: “*” is valid value, however it’s considered as a security risk as your cluster is open to cross origin from anywhere. Check Elasticsearch documentation on this parameter - git clone git://github.com/mobz/elasticsearch-head.git
- cd elasticsearch-head
- npm install
- grunt server(如果没有grunt,执行npm install -g grunt-cli安装)
- open http://localhost:9100/
0 0
- Mac 安装Elasticsearch 5.0
- 31 原 Mac 安装Elasticsearch 5.0
- mac 安装elasticsearch
- Mac安装ElasticSearch介绍
- mac安装ElasticSearch
- MAC Elasticsearch安装
- mac下elasticsearch安装日记
- mac安装elasticsearch详细步骤
- Mac 使用brew安装ElasticSearch
- mac安装elasticsearch详细步骤
- Mac下安装Elasticsearch极简指南
- Elasticsearch 5.0-安装使用
- elasticsearch 5.0 安装详解
- Elasticsearch 入门:Elasticsearch 5.0 安装 kibana 5.0
- Elasticsearch 入门:CentOS 5.6 安装 Elasticsearch 5.0
- 安装elasticsearch-head插件(mac os 10.12.5)
- ElasticSearch 5.x & 2.x弹性插件头安装(mac)
- linux 安装 elasticsearch-5.0.0
- Oracle12c和PL/SQL 安装记录
- 音频设备驱动代码单独存放于sound/目录而不在drivers/目录中
- 安卓微信浏览器中location.href失效的问题
- oracle12c新建表空间
- Jersey框架一:Jersey RESTful WebService框架简介
- Mac 安装Elasticsearch 5.0
- python re正则匹配网页中图片url地址
- 手势解析工具类-GestureDetector
- linux 文件权限编码区分
- HDU 5949 Relative atomic mass 【模拟】 (2016ACM/ICPC亚洲区沈阳站)
- widget中调用qml
- Java OOM系列(一)
- JAVA编程之static、final修饰符
- Qt中添加自定义Slot函数的方法(VS+Qt)