new instructions for swapfile

This commit is contained in:
Harri Lahtinen 2020-06-17 19:24:36 +03:00
parent 8aa5db05a8
commit 9ecbacbb12
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ mkfs.ext4 /dev/sda2
#### Create swapfile
```sh
fallocate -l 4G /swapfile
dd if=/dev/zero of=/swapfile bs=1M count=32768 status=progress
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile