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
# Add Docker's official GPG key: sudo apt-get update sudo apt-get install ca-certificates curl sudo install -m 0755 -d /etc/apt/keyring...
No comments:
Post a Comment