ElasticSearch5 插件安装

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= PATH: P A T H : 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 // 启动程序

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值