需要node.js环境
创建package.json
npm install -save socket.io
socket.io安装部署
原文:http://www.cnblogs.com/dhl-2013/p/6203876.html