I finally won the linux system. Ubuntu 14 started my journey. The mentor bu started his preaching (* ^__ ^ *).
Download compiled files for deployment (recommended). Other methods are not described.
First download the compiled compressed package. Under/home/.
Mkdir node
Cd node
Wget http://nodejs.org/dist/v0.12.2/node-v0.12.2-linux-x64.tar.gz
Because I downloaded all 64-bit 64-bit packages based on my own system, the following provides a 32-bit address package.
Http://nodejs.org/dist/v0.12.2/node-v0.12.2-linux-x86.tar.gz
Decompress the package after the download.
Tar xvf node-v0.12.2-linux-x64.tar.gz
Configure environment variables: Add: export NODE_HOME =/home/node/node-v0.12.2-linux-x64 in the/etc/profile file
Export PATH = $ PATH: $ NODE_HOME/bin
Export NODE_PATH = $ NODE_HOME/lib/node_modules
Run the source/etc/profile command to make the environment variable settings take effect.
Test: enter node-v on the terminal. If version information is output, the installation is successful.
OK
Run the source/etc/profile command to make the environment variable settings take effect.