dd if=/dev/zero of=/swap_file bs=1G count=1
sudo fallocate -l 1G /swap_file
chmod 600 /swap_file
or
vi /etc/fstab/swap_file swap swap defaults 0 0
dd if=/dev/zero of=/swap_file bs=1G count=1
sudo fallocate -l 1G /swap_file
chmod 600 /swap_file
Resetting the Password via SSH: Access the server as root: Use an SSH program like PuTTY to connect to your server as the root user. R...