yum方式安装 参考 https://github.com/nodesource/distributions
sudo yum install -y nodejs
1, curl -sL https://rpm.nodesource.com/setup_12.x | bash -
2,
such steps need gcc ,,
centos g ++ 7.3.0 Upgrade
Commands are sequentially executed steps:
the sudo yum the install CentOS-SCL-Release
sudo yum install devtoolset-7
scl enable devtoolset-7 bash