Head外掛安裝
阿新 • • 發佈:2018-11-10
1、git clone git://github.com/mobz/elasticsearch-head.git
2、切換到:elasticsearch-head 目錄下,在該目錄下執行:
npm install
3、進入Gruntfile.js修改配置:
connect: {
server: {
options: {
port: 9100,
hostname: 'node01',
base: '.',
keepalive: true
}
}
}
4、啟動服務:
/usr/local/elasticsearch-head/node_modules/grunt/bin/grunt server &
5、驗證是否安裝成功:
進入http://node01:9100
注意:1.X和2.X版本訪問網址為:http://node01:9200/_plugin/head
5.X訪問地址為:http://node01:9100