美文网首页
elasticsearch-6.1.1的head插件安装

elasticsearch-6.1.1的head插件安装

作者: nagioswork | 来源:发表于2017-12-25 16:59 被阅读130次

1、安装git工具:yum install git
下载elasticsearch-head
git clone https://github.com/mobz/elasticsearch-head.git
2、安装node.js:

wget https://nodejs.org/dist/v8.9.3/node-v8.9.3-linux-x64.tar.xz

xz -d node-v8.9.3-linux-x64.tar.xz

tar -xvf node-v8.9.3-linux-x64.tar

mv node-v8.9.3-linux-x64.tar /usr.local/

增加node.js的环境变量,并生效

vi /root/.bash_profile

export PATH=$PATH:/usr/local/node-v8.9.3-linux-x64/bin

source /root/.bash_profile

3、安装

cd /data/elasticsearch-6.1.1/elasticsearch-head/

npm install

4、执行

npm run start

image.png

相关文章

网友评论

      本文标题:elasticsearch-6.1.1的head插件安装

      本文链接:https://www.haomeiwen.com/subject/vanlgxtx.html