Elasticsearch 5.3.x 使用 Head 插件
0、前言 时光荏苒,ES转眼间就从2.X跳到了5.X。。。 忆往昔峥嵘岁月,奈何ES社区太活跃,版本跳的比房价还快啊。。。 话说回来,需要部署一套Elasticsearch 5.2.1 即本月最新推出的ES新力作,发现很多用法已经不一样了。。。 本次首先说Head插件的安装: 1、安装插件head 1 2 3 4 5 6 7 8 9 10 11 # 去github上下载head git clone git: //github .com /mobz/elasticsearch-head .git # 由于head基于nodejs所以安装它 yum -y install nodejs npm npm install grunt-cli npm install grunt grunt -version # 修改配置文件 cd elasticsearch- head vim _site /app .js # 修改 『http://localhost:9200』字段到本机ES端口与IP 2、启动head 1 2 3 cd elasticsearch- head grunt server # ...
