centos 7 installation nodejs 12.x install gcc ++ 7.3 upgrade

 yum方式安装        参考 https://github.com/nodesource/distributions

1, curl -sL https://rpm.nodesource.com/setup_12.x | bash -

2,
sudo yum install -y nodejs


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

Guess you like

Origin www.cnblogs.com/lyss/p/12103022.html