Web Hosting & VPS Tips

Unleash Your Server Potential with Expert Insights

Hosting provided by: Cloudways
Free to Try! Up to 40% Off!

Category: Security

Secure swap on Fedora—create with dd if=/dev/zero of=/swapfile bs=1M count=2048 encrypt with cryptsetup luksFormat /swapfile and mount with cryptsetup luksOpen /swapfile swap Add to /etc/crypttab and /etc/fstab Test with swapon -s—expect encrypted swap Protects memory on Hetzner

Back to All Tips