nodejs6.6 yum源安装
系统是Centos6.5 x86_64,github上有对应系统的安装版本,还是比较详细的,下面三步执行完,直接yum install nodejs 就安装了。
1 | curl -sL https: //rpm .nodesource.com /setup_6 .x | bash - |
1 | curl -sL -o '/tmp/tmp.jl0ccbLo3X' 'https://rpm.nodesource.com/pub_6.x/el/6/x86_64/nodesource-release-el6-1.noarch.rpm' |
1 | curl -sLf -o /dev/null 'https://rpm.nodesource.com/pub_6.x/el/6/x86_64/nodesource-release-el6-1.noarch.rpm' |