1sudo dd if=/dev/zero of=/mnt/file.swap bs=1M count=512 2sudo mkswap /mnt/file.swap 3sudo chmod 0600 /mnt/file.swap 4sudo swapon /mnt/file.swap 5echo "/mnt/file.swap none swap sw 0 0" >> /etc/fstab See details in https://www.garron.me/en/linux/increase-swap-memory-linux.html
Read More1chmod g-s <dirname_here> More details in https://serverfault.com/questions/238962/how-do-i-clear-the-s-permission-on-a-directory-in-linux
Read More