标签:serve uri 节点 ack 报错 yum att 修改 npm
此文档针对es在centos7环境3节点部署,3节点ip分别为:172.16.10.102.172.16.10.103,172.16.10.104安装nodejs环境
yum -y install nodejs
cd elasticsearch-head/
npm install
npm install -g grunt-cli
grunt server &
Open http://localhost:9100
(如果提示报错phantomjs-prebuilt@2.1.16 install: node install.js
)
npm install phantomjs-prebuilt@2.1.16 --ignore-scripts 即可
重新启动es程序。
打开网页:http://172.16.10.102:9100(如果head的9200连接不上,检查配置文件的http.cors.enabled: true
http.cors.allow-origin: "*" 是否配置)
标签:serve uri 节点 ack 报错 yum att 修改 npm
原文地址:https://blog.51cto.com/9307412/2457800