elasticsearch-6.1.1的head插件安装

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
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容