平台&版本
系统: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
PHP中文网2017-04-17 15:43:34
You can also use nvm to install and manage multi-version nodes, the project homepage https://github.com/creationix...
ringa_lee2017-04-17 15:43:34
No need to install with yum, just add the decompressed bin path of the downloaded node.js 0.1x to the path.
黄舟2017-04-17 15:43:34
It is recommended to use nvm
for management. The default source is version 6.x. To install other versions, you must either change the source or directly download the binary installation.
巴扎黑2017-04-17 15:43:34
First yum remove directly, then delete the source about Node.js, and then install version 0.10.