$ wget https://npm.taobao.org/mirrors/node/latest-v4.x/node-v4.5.0-linux-x64.tar.gz $ vim ~/.bashrc #添加如下内容exportNODE_HOME=/home/elastic/appdata/node-v4.5.0-linux-x64 exportPATH=$PATH:$NODE_HOME/bin exportNODE_PATH=$NODE_HOME/lib/node_modules $ source ~/.bashrc $ npm install -g cnpm --registry=https://registry.npm.taobao.org $ npm install -g grunt -cli$ cd /home/elastic/ $ git clone git://github.com/mobz/elasticsearch-head.git $ cd elasticsearch-head $ npm install $ npm run start
打开打开http://localhost:9100/进行访问