https://www.wanglibing.com/2018/09/07/Mac%E5%AE%89%E8%A3%85elasticsearch-head%E6%8F%92%E4%BB%B6/
安装
1 2 3 4 | $ git clone git://github.com/mobz/elasticsearch-head.git $ cd elasticsearch-head $ npm install $ npm run start |
配置ES
1 | $ vi/usr/local/etc/elasticsearch/elasticsearch.yml |
增加如下内容:
1 2 | http.cors.enabled: true http.cors.allow-origin: "*" |
重启ElasticSearch服务。
该博客主要介绍了在Mac上安装elasticsearch - head插件的相关内容,包括安装步骤、ES的配置,配置时需增加特定内容并重启ElasticSearch服务,最后给出了访问地址为http://localhost:9100 。


被折叠的 条评论
为什么被折叠?



