//使用淘宝镜像更新
npm install -g cnpm --registry=https://registry.npm.taobao.org
ln -s /houzhipeng/node-v10.9.0-linux-x64/bin/cnpm /usr/local/bin/cnpm
//缓存清除
npm cache clean --force && npm cache verify
cnpm install
//后台运行
nohup
which nohup
yum provides */nohup
nohup npm start &
//没有后台运行的话 可能是直接关闭了终端
解决方案:输入exit来退出终端