参考:linux(centos 7)下安装elasticsearch - head插件(端口占用,防火墙关闭)
修改配置
- 修改head的连接地址 elasticsearch-head/_site/app.js
this.base_uri = this.config.base_uri || this.prefs.get("app-base_uri") || "http://localhost:9200";
localhost改为自己的ip,比如我的是192.168.52.129
- 修改服务器的监听地址elasticsearch-head/Gruntfile.js
# 导航到elasticsearch-head目录下
vi gruntfile.js
# 如下图位置,增加
hostname: '*'
部署中碰到的问题
- Warning: Task "server" not found. Use --force to continue.
grunt server