1. curl--silent --location https://rpm.nodesource.com/setup_8.x
2. yum install -y install nodejs
3. run nodejs at backend
npm i pm2 -g
pm2 start app.js -name="tcw"
pm2 startup
pm2 stop tcw
pm2 unstartup systemd
1. curl--silent --location https://rpm.nodesource.com/setup_8.x
2. yum install -y install nodejs
3. run nodejs at backend
npm i pm2 -g
pm2 start app.js -name="tcw"
pm2 startup
pm2 stop tcw
pm2 unstartup systemd