node 编译安装

apt-get install -y build-essential gcc g++ make wget cron vim unzip openssl libssl-dev libperl-dev python build-essential -y

wget https://nodejs.org/dist/v8.11.1/node-v8.11.1.tar.gz

tar -zxf node-v8.11.1.tar.gz && cd node-v8.11.1/
./configure
make -j 2
make install

你可能感兴趣的:(node 编译安装)