平台&版本
系统:CentOS 7.2
Nodejs:v6.9.2 LTS
需求
安装Ghost博客平台,需要nodejs,就默认去nodejs英文官网下载了LTS版本,v6.9.2
,但是在安装的时候却提示需要0.x版本的
下载方式
根据nodejs官网的红帽系linux安装方式安装,地址
安装脚本,第一次装的是6.x版本

卸载v6.x
直接yum remove了

剩余文件也都删除了

安装0.1.0
运行0.1.0的脚本

显示成功,可以使用yum安装

但是安装时就又回下载v6版本

请问怎么完全删除安装脚本,让yum安装0.1.0版本的nodejs
nvm을 사용하여 다중 버전 노드, 프로젝트 홈페이지를 설치하고 관리할 수도 있습니다https://github.com/creationix...
yum으로 설치할 필요 없이 다운로드한 node.js 0.1x의 압축이 풀린 bin 경로를 경로에 추가하기만 하면 됩니다.
관리를 위해
nvm
사용을 권장합니다. 기본 소스는 6.x 버전입니다. 다른 버전을 설치하려면 소스를 변경하거나 바이너리 설치를 직접 다운로드해야 합니다.두 단계:
npm i n -g
n 0.10.0
먼저 yum을 직접 제거하고, Node.js에 대한 소스를 삭제한 후 버전 0.10을 설치하세요.
n은 좋은 일이에요. . .
으아아아