接上回,必要的git和node已经装完了,现在开始装head
回到es集群项目里找到plugins(插件文件夹下),
存在安装在plugins启动es报错的情况,报错信息如图一,解决方案就是换个目录,不要放在plugin目录下

java
git clone https://github.com/mobz/elasticsearch-head.git

打开远程登陆,默认本机访问,修改文件Gruntfile.js,找到server,
java
hostname: '*',

修改完启动前端项目


浏览器地址输入,下面这样就是安装成功了
现在去连接es,地址栏localhost改成你的ip就可以了

还有另外一种使用head的方法,就是直接在谷歌里面找head插件,但是要翻墙

和自己装的是一模一样的
