Mac 安装Elasticsearch 5.0
2016-10-31 14:58
417 查看
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-headenable 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/
相关文章推荐
- Mac安装Elasticsearch5.0 head插件
- 31 原 Mac 安装Elasticsearch 5.0
- 将ESXi 5.0 系统安装到Apple Mac Mini
- mac 10.9 xcode 5.0 安装opencv2.4.7和libjpeg.8后出现libjpeg不兼容(解决方法)
- Debian包安装Elasticsearch5.0
- ElasticSearch学习26_【入门】安装Elasticsearch5.0 部署Head插件
- ElasticSearch学习25_ elasticsearch5.0 安装流程
- Win7虚拟机安装 Mac OS X Lion 10.7.2 及 XCode 4.2.1 (iOS SDK5.0) 作开发
- Elasticsearch 入门:CentOS 5.6 安装 Elasticsearch 5.0
- [elk]elasticsearch5.0及head插件安装
- 安装Elasticsearch,Logstash,Kibana(5.0.1-mac版)
- elasticsearch5.0集群+kibana5.0+head插件插件的安装
- mac下elasticsearch安装日记
- 编程实践6—Elasticsearch5.0 最新版本安装问题
- Elasticsearch5.0 版本安装错误
- Elasticsearch 5.0-安装使用
- mac安装ElasticSearch
- elasticsearch 5.0 版本安装head插件
- 安装Elasticsearch5.0 部署Head插件
- Elasticsearch 5.0 安装 Search Guard 5 插件 (五)