执行操作:
curl -sL https://rpm.nodesource.com/setup_10.x | bash -
安装nodejs
yum install -y nodejs
输入 node -v
出现版本号,说明安装成功