Centos6.4中安装node.js 全过程
时间:2015-09-21 00:09 来源:linux.it.net.cn 作者:IT
因为有一个应用用到node.js,所以把node的安装顺手记录下,以前在Ubuntu环境用的多,现在改用centos了,哎~~~
先安装gcc-c++编译环境和openssl,
yum install gcc-c++ openssl-devel
然后下载安装
cd /usr/local/src
wget http://nodejs.org/dist/node-latest.tar.gz tar zxvf node-latest.tar.gz
(cd into extracted folder: ex "cd node-v0.10.12")
./configure
make
make install
注意,./configure需要python2.6+
(责任编辑:IT)
| 因为有一个应用用到node.js,所以把node的安装顺手记录下,以前在Ubuntu环境用的多,现在改用centos了,哎~~~ 先安装gcc-c++编译环境和openssl, yum install gcc-c++ openssl-devel 然后下载安装 cd /usr/local/src wget http://nodejs.org/dist/node-latest.tar.gz tar zxvf node-latest.tar.gz (cd into extracted folder: ex "cd node-v0.10.12") ./configure make make install 注意,./configure需要python2.6+ (责任编辑:IT) |