码迷,mamicode.com
首页 > Web开发 > 详细

Quit to set up node.js on centos6

时间:2015-08-18 13:44:22      阅读:111      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!