new instructions for swapfile
This commit is contained in:
parent
8aa5db05a8
commit
9ecbacbb12
|
|
@ -49,7 +49,7 @@ mkfs.ext4 /dev/sda2
|
||||||
#### Create swapfile
|
#### Create swapfile
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
fallocate -l 4G /swapfile
|
dd if=/dev/zero of=/swapfile bs=1M count=32768 status=progress
|
||||||
chmod 600 /swapfile
|
chmod 600 /swapfile
|
||||||
mkswap /swapfile
|
mkswap /swapfile
|
||||||
swapon /swapfile
|
swapon /swapfile
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue