1. Create a file: fallocate -l 2G /swapfile

  2. Secure it: chmod 600 /swapfile

  3. Format: mkswap /swapfile

  4. Enable: swapon /swapfile

  5. Make permanent: Add /swapfile none swap sw 0 0 to /etc/fstab

  6. Verify: swapon --show

Ha estat útil la resposta? 0 Els usuaris han Trobat Això Útil (0 Vots)