一、用forever 进行管理 npm install pm2 -g pm2 start app.js //启动 pm2 monit pm2 list //显示服务列表 pm2 stop //停止 pm2 restart //重启 pm2 delete //删除