下载/安装python
yum install -y bzip2*           #nodejs 0.8.5需要,请安装python前,先安装此模块。
 
wget http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tgz
tar zvxf Python-2.7.3.tgz
cd Python-2.7.3
./configure
make && make install
/usr/local/bin/python2.7 -V     #查看Python版本
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

相关文章:

  • 2021-10-25
  • 2021-07-10
  • 2021-12-27
  • 2021-09-27
  • 2021-10-20
  • 2021-09-16
  • 2021-10-16
  • 2022-12-23
猜你喜欢
  • 2021-09-16
  • 2022-01-03
  • 2021-06-27
  • 2022-12-23
  • 2022-01-15
  • 2021-12-25
  • 2022-01-26
相关资源
相似解决方案