安装编译环境
yum -y install gcc gcc-c++下载nodejs 命令:
wget https://nodejs.org/dist/latest-v0.12.x/node-v0.12.18.tar.gz解压
tar -zxvf node-v0.12.18.tar.gz进入解压后的目录
cd node-v0.12.18安装
./configure && make && make install
安装编译环境
yum -y install gcc gcc-c++下载nodejs 命令:
wget https://nodejs.org/dist/latest-v0.12.x/node-v0.12.18.tar.gz解压
tar -zxvf node-v0.12.18.tar.gz进入解压后的目录
cd node-v0.12.18安装
./configure && make && make install