Centos6.5安装Node.js方法
1、操作系统为centos6.5 64位

2、获取密钥文件

3、导入密钥文件

4、获取Remi源文件

5、安装remi源,如果采用rpm的方法安装会因为依赖关系报错
[root@localhost ~]# rpm -Uvh remi-release-6.rpm
error: Failed dependencies:
epel-release = 6 is needed by remi-release-6.9-1.el6.remi.noarch
所以采用yum的方式安装
yum install remi-release-6.rpm

6、如果步骤5成功,会产生下述文件remi的yum源

7、指定epel源进行安装
yum --enablerepo=epel install npm


声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:69
阅读量:117
阅读量:21
阅读量:97
阅读量:156