elasticsearch-6.1.1的head插件安装

【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 elasticsearch-6.1.1的head插件安装
文章图片
image.png

    推荐阅读