1. Installation node environment:
Download: https://nodejs.org/download/release/v8.13.0/node-v8.13.0-linux-x64.tar.gz
gunzip node-v8.13.0-linux-x64.tar.xz
tar -xf node-v8.13.0-linux-x64.tar
Path after decompression: /apps/svr/node-v8.13.0
Establish flexible connections
ln -s /apps/svr/node-v8.13.0/bin/node /usr/bin/node
ln -s /apps/svr/node-v8.13.0/bin/npm /usr/bin/npm
After the implementation of operational node -v and npm -v , respectively, you can see the node version is 8.13.0 npm to 6.4.1
2. Installation head plug
Download: https://github.com/mobz/elasticsearch-head/
(1) git clone git://github.com/mobz/elasticsearch-head.git
If prompted git can not find you first install git : yum -y install git
(2)cd elasticsearch-head
( . 3 ) npm the install (the modified npm Source: npm Registry https://registry.npm.taobao.org config SET ) or using: npm the install CNPM -g - Registry = https://registry.npm.taobao.org
Note: // If you use cnpm then they would use cnpm install (if not set up flexible connections also need to specify cnpm location of: ../node-v8.13.0/bin/cnpm install )
(4) npm run start
( 5 ) access: HTTP: // your ip: 9100 /