659441806 发表于 2017-2-21 08:38:05

centos6 nodejs install

准备命令:

yum -y install gcc make gcc-c++ openssl-devel wget


下载源码及解压:

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


验证是否安装配置成功:

node -v
页: [1]
查看完整版本: centos6 nodejs install