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
scp file_name.zip username@server_ip/server_address:/directory_path