1、centos中安装nodejs
Step1:安装GCC
yum -y install gcc make gcc-c++ openssl-devel wget
Step2:下载源码并解压
wget http://nodejs.org/dist/v0.10.26/node-v0.10.26.tar.gz
tar -zvxf node-v0.10.26.tar.gz
Step3:编译
参考:make && make installStep4:验证安装是否成功node -v
(1) http://xuexiws.com/?p=156