edit pm2
This commit is contained in:
parent
513d701444
commit
44788ddf37
|
@ -30,7 +30,9 @@ echo "nameserver 8.8.8.8" > /etc/resolv.conf
|
||||||
exit 0' > /etc/rc.local
|
exit 0' > /etc/rc.local
|
||||||
# Cai dat PM2 run Server lite
|
# Cai dat PM2 run Server lite
|
||||||
sudo apt install npm
|
sudo apt install npm
|
||||||
npm install pm2 -g
|
npm cache clean -f
|
||||||
|
npm install pm2 -g n
|
||||||
|
sudo n stable
|
||||||
pm2 install pm2-logrotate
|
pm2 install pm2-logrotate
|
||||||
|
|
||||||
cd /root/monitor/setup/
|
cd /root/monitor/setup/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user