Manually downgrading virtualmin to GPL (free version) & updating of etc/apt/sources.list.d

sudo su nano /etc/virtualmin-license #add the below lines, set values to GPL SerialNumber=GPL LicenseKey=GPL #command derieved from from virtualmin installaion script wget...

ZOHO SMTP Details for Laravel

MAIL_DRIVER=smtpMAIL_HOST=smtp.zoho.comMAIL_PORT=587MAIL_USERNAME="email address"MAIL_PASSWORD="email password"MAIL_ENCRYPTION=tls

System Short Cut Keys | Windows

CTRL+A. . . . . . . . . . . . . . . . . Select All CTRL+C. . . . . . . . . . . . . . . . . Copy CTRL+X. . . . . . . . . . . . . . . . . Cut CTRL+V. . . . . . . . . . . . . . . . . Paste CTRL+Z. . . . . . . . . . . . . . . . . Undo CTRL+B. . . . . . . . . . . . . . . ....

Different variants of the SMB protocol

CIFS vs. SMB In 1996, Microsoft tried to rename SMB to CIFS (Common Internet File System). It was an updated version of the same protocol and had additional functions, but the name didn’t stick. As a result, many still think it’s the same thing. CIFS is now only one...

2 Users working on one PC simultaneously | 2 keyboards | 2 mouse !

| VM Hacks Virtualbox | If you want to have two people work on the same PC (physically) one on the host and the other inside VirtualBox. You will need a USB keyboard and mouse (set to USB passthrough in VirtualBox settings) You may add a USB audio pass-through (if...

VTS Signature

Updated On: 18-10-2022 Make sure to replace the red highlighted text with your personal info. Make sure the Logo URL is valid (highlighted in orange) Copy the below HTML code. <div> <p class=MsoNormal style='background:white'> <i> <span...

Zimbra Mail Account Configuration

Web Client: https://mail.sysdek.com Supporting Mail Clients (Mobile & Desktop) Cross-platform & Recommended:        Zimbra Native Client:...

WordPress Useful Links

https://help.servmask.com/2018/10/27/how-to-increase-maximum-upload-file-size-in-wordpress/

Configure WordPress Behind Reverse Proxy

Add the below code block to "/wp-config.php" /* Configuration for reverse proxy. */ if (!empty($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') { $_SERVER['HTTPS'] = 'on'; } Sample Configuration

Recover a deleted mailbox from an old zimbra image

# restore a old zimbra snapshot, get its public IP and ssh to it. # On Old Mail Server ## links: https://www.thegeekdiary.com/how-to-take-mailbox-backup-of-zimbra-account-from-cli/ ## links https://nwildner.com/posts/2019-09-27-zimbra-cli-tips/ #...

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"...

read more

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...

read more
Linux – Top Commands

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

read more
Certbot Renewal Short Notes

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...

read more