The author at the time of installation, node to version 11.0.0. Here to version 11, for example, future updates and consistent installation procedure.
Download the installation package to the specified directory node
wget https://npm.taobao.org/mirrors/node/v11.0.0/node-v11.0.0.tar.gz
extracting installation package
tar -xvf node-v11.0.0.tar.gz
go to the directory and install any plug-ins
the Node-V11.0.0 cd
sudo yum install gcc gcc-c ++
be the default configuration and compilation
./configure
the make
compiler takes about half an hour -
Then you can start the installation
sudo make install
after verify the installation
node -v
will find installation has been completed
---------------------
Author: in_christ
Source: CSDN
Original: https: //blog.csdn.net/in_christ/ article / details / 82107649
copyright: This article is a blogger original article, reproduced, please attach Bowen link!