0x00 安装node.js
root@zrools:~# apt-get install nodejs npm
npm搜索包,第一次可能会比较久
root@zrools:~/Projects# npm search livepool
npm WARN Building the local index for the first time, please be patient
NAME DESCRIPTION AUTHOR DATE VERSION KEYWO
livepool debugging proxy for web developers base on NodeJS =rehorn 2014-07-23 0.7.9 proxy
一个错误
/bin/sh: 1: node: not found
gyp: Call to 'node -e "require('nan')"' returned exit status 127. while trying to load binding.gyp
root@zrools:~# ln -s /usr/bin/nodejs /usr/bin/node
# 安装
root@zrools:~# npm install livepool # 全局安装-g
0x01 使用
root@zrools:~# nodejs node_modules/livepool/livepool.js
=========================================
livepool is running, port: 8090
liveapp ui is ready, port: 8002