$ wget https://npm.taobao.org/mirrors/node/latest-v4.x/node-v4.5.0-linux-x64.tar.gz $ vim ~/.bashrc #添加如下内容 export NODE_HOME=/home/elastic/appdata/node-v4.5.0-linux-x64 export PATH=$PATH:$NODE_HOME/bin export NODE_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/进行访问