网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 生活知识 知识问答

Centos6.5安装Node.js方法

时间:2024-11-16 17:37:51

1、操作系统为centos6.5 64位

Centos6.5安装Node.js方法

2、获取密钥文件

Centos6.5安装Node.js方法

3、导入密钥文件

Centos6.5安装Node.js方法

4、获取Remi源文件

Centos6.5安装Node.js方法

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

Centos6.5安装Node.js方法

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

Centos6.5安装Node.js方法

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

Centos6.5安装Node.js方法Centos6.5安装Node.js方法
© 2026 五度知识库
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com