centos8配置常用环境

随记 0 682 0
发表于: 2024-01-07 23:27:17

简介: 暂无~

pm2-logrotate

设置npm镜像为淘宝镜像源:

npm config set registry https://registry.npmmirror.com

安装pm2-logrotate:

pm2 install pm2-logrotate
pm2 set pm2-logrotate:retain 7
pm2 set pm2-logrotate:max_size 5M