一、安裝依賴:node
centos:c++
yum install libtool automake autoconf gcc-c++ openssl-devel
ubuntu:git
sudo apt- install g++ curl libssl-dev apache2-utils sudo apt- install git-core
二、安裝node (centos和ubuntu同樣)github
git clone git://github.com/joyent/node.git cd node ./configure make sudo make install
三、測試完後測試是否安裝正確web
node -v