Today, the node environment is configured and deployed on the centos server. After downloading the node's binary compression package and decompressing it, at the link of make compilation, an error command
appears : (make [1]: g ++: Command not found)
Enter the command to proceed Search which package gcc-c ++ belongs to
yum search "gcc+c++"
Install the corresponding version of the gcc package After the
gcc environment is installed, then execute the compile command on the node binary file
make && make install
The compilation time will be very long, let me wait from the morning to the evening ... (It is recommended to download the uncompressed package after decompression, you can directly establish a soft link to reference the kind of node package, this compilation is really ... really too long, about unnecessary The method of compiling the node package is https://blog.csdn.net/qq_41136216/article/details/105478482)