首页 > Web开发 > 详细

Quit to set up node.js on centos6

时间:2015-08-18 13:44:02      阅读:250      评论:0      收藏:0      [点我收藏+]

STEP1: install dependencies and compile tools.

yum install libtool automake autoconf gcc-c++ openssl-devel

STEP2: download node.js package, tar and make install.

wget http://nodejs.org/dist/v0.10.26/node-v0.10.26.tar.gz

tar -zvxf node-v0.10.26.tar.gz

make && make install

STEP3: Check if nodejs and npm have been installed.

node -v

npm -v

STEP4: install express

npm install -g express-generator

Quit to set up node.js on centos6

原文:http://www.cnblogs.com/ipup/p/4739052.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!