1 cerebro 插件
wget https://github.com/lmenezes/cerebro/releases/download/v0.8.0/cerebro-0.8.0.tgz
修改配置文件,只需要修改host添加当前其中一台elasticsearch地址,然后名字即可
vim conf/ application.conf
hosts = [
{
host = “http://26.2.6.117:9200”
name = “paic_collect3”
},
]
启动程序
nohup ./bin/cerebro -Dhttp.port=8080 -Dhttp.address=26.2.6.117 &
2 head插件安装
node安装
wget https://nodejs.org/dist/v8.11.4/node-v8.11.4-linux-x64.tar.xz
xz -d node-v8.11.4-linux-x64.tar.xz
tar xvf node-v8.11.4-linux-x64.tar.xz
vim /etc/profile
export NODE_HOME=/wls/deployop/node
export PATH=
NODE_HOME/bin
elasticsearch-head安装
git clone git://github.com/mobz/elasticsearch-head.git
cd elasticsearch-head
npm install
npm run start &
端口 9100
3 elasticsearch-sql 插件安装
https://github.com/NLPchina/elasticsearch-sql
bin/elasticsearch-plugin install file:/wls/deployop/elasticsearch-sql-5.6.10.0.zip 并重启服务
下载 https://github.com/NLPchina/elasticsearch-sql/releases/download/5.4.1.0/es-sql-site-standalone.zip
npm install express –save
修改程序启动端口 9000 :site_configuration.json
node node-server.js // 启动程序