Linux – Delete logs older than 30 days
# list files keep_days=30 pattern1='*.log.*' pattern2='*.gz' file_path='/var/log/' function bytes_for_humans { local -i bytes=$1; if [[ $bytes -lt 1024 ]]; then echo "${bytes}B" elif [[ $bytes -lt 1048576 ]]; then echo "$(( (bytes + 1023)/1024 ))KiB"...
Versioning Standards (Semantic Versioning)
Refer: https://semver.org/
Zimbra Mail | Extend SSL Certificate
The article is focused on: SSL Vendor: SSLS.COM Domain Verification: E-mail based Supporting Readers: MD Reader Steps Login to Lastpass to get credentials for SSLS.COM. Login to SSLS.com. Go to https://www.ssls.com/user/bundles. Use the search on the top right side to...
Linux – Top Commands
https://www.youtube.com/watch?v=ZtqBQ68cfJc&ab_channel=freeCodeCamp.org Delete recursitve from a pattern: List: find . -name "*.bak" -type f Delete: find . -name "*.bak" -type f -delete
Certbot Renewal Short Notes
Renewal notes certbot --nginx certonly -n -d domain1.comcertbot --nginx certonly -n -d domain1.com --force-renewal --dry-runcertbot renew --deploy-hook /path/to/deploy-hook-scriptcertbot renew --pre-hook "service nginx stop" --post-hook "service nginx start" --apache...
Zimbra SSL Installation Event Log
Links...


