Note: Replace yourdomain.com with you domainsudo supm2 install pm2-healthvim ~/.pm2/module_conf.json{“pm2-logrotate”: {“max_size”: “500M”,“retain”: “200”,“compress”: “true”,“dateFormat”: “YYYY-MM-DD_HH-mm-ss”,“workerInterval”: “30”,“rotateInterval”: “* * * * 30”,“rotateModule”: “true”},“module-db-v2”: {“pm2-logrotate”: {},“pm2-health”: {}},“pm2-health”: {“smtp”: {“host”: “mail.yourdomain.com“,“port”: 465,“user”: “notifications@yourdomain.com“,“password”: …
#start the following Windows services in the specified order:[Array] $Services = ‘MailService’,’SpamAssassin’,’OpenVPNServiceInteractive’,’Certify.Service’,’Schedule’;#loop through each service, if its not running, start itforeach($ServiceName in $Services){$arrService = Get-Service -Name $ServiceNamewrite-host $ServiceNamewhile ($arrService.Status -ne …
Managing disk space is a crucial task for system administrators and Linux users, especially when handling large amounts of data. Knowing how to check disk usage and file sizes helps …
Simple scp command you can user to copy files one server from another server1St go to directory which you need to copy ex: you need to copy /etc/copyfoldernamecd /etc/copyfoldernamethan run …
Installing CyberPanel!Following instructions will install CyberPanel (with OpenLiteSpeed),it is totally free and does not require any kind of license, you can install using a single command.sh <(curl https://cyberpanel.net/install.sh || wget …