Centos6.4中安装node.JS
2014-03-27 10:01
483 查看
先安装gcc-c++编译环境和openssl,
然后下载安装
注意,./configure需要python2.6+
安装好node.JS后,我再需要安装node-Restify,只需要执行一句
1、npm config set registry
http://registry.cnpmjs.org (国内镜像)
2、npm config set registry
http://npm.hacknodejs.com(CNode社区)
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+
安装好node.JS后,我再需要安装node-Restify,只需要执行一句
npm install restify
如果npm安装失败,可是尝试更改npm源:
1、npm config set registry2、npm config set registry
长按图片识别图中二维码(或搜索微信公众号FrontEndStory)关注“前端那些事儿”,带你了解最新的前端技术。
![](http://img.blog.csdn.net/20150804212655016?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center)
相关文章推荐
- node.js源码包安装 centos6.4 x86_64
- node.js v0.10.31二进制包安装(centos6.4 x86_64)
- Centos6.4编译安装Node.js(已验证)
- CentOS安装Node.js
- CentOS 6.5 安装Node.js
- Linux(centos6.0)下安装Node.js以及使用
- Centos7 中 Node.js安装简单方法
- CentOS 7.0安装Node.js、npm、htop、pm2
- Centos 二进制安装node.js
- CentOS下快捷安装Node.js
- node.js安装(CentOS)
- centos安装node.js的各种环境
- 在 CentOS 上安装 node.js
- 玩转Node.js-1. 新手上路之CentOS 下安装Node.js开发环境
- CentOS 下安装 git + node.js
- Centos6.8 下 Node.js 的安装
- centos安装node.js
- CentOS 7.3下Node.js 8.6安装配置
- centos5.4下安装node.js详细教程
- centos6.3安装node.js0.8.16