This commit is contained in:
HaiMD 2021-06-14 09:50:07 +07:00
parent 513d701444
commit 44788ddf37

View File

@ -30,7 +30,9 @@ echo "nameserver 8.8.8.8" > /etc/resolv.conf
exit 0' > /etc/rc.local
# Cai dat PM2 run Server lite
sudo apt install npm
npm install pm2 -g
npm cache clean -f
npm install pm2 -g n
sudo n stable
pm2 install pm2-logrotate
cd /root/monitor/setup/