摘要:
1.安装依赖:sudo apt-get install g++ curl libssl-dev apache2-utils sudo apt-get install git-core 2.下载node.js,0.6.x为node.js的稳定版;wget http://nodejs.org/dist/v0.6.1/node-v0.6.1.tar.gz 3.解压执行初始化;tar zxvf node-v0.6.1.tar.gz cd node-v0.6.1 ./configure 4.编译;make make install5.验证安装;node -v 6.例子; (1)编写测试用例,... 阅读全文