add swap to disk (unencrypted)
This commit is contained in:
parent
59a8f5235d
commit
381be88fe1
|
@ -0,0 +1,9 @@
|
||||||
|
# /etc/dphys-swapfile
|
||||||
|
fallocate -l 1G /mnt/data/swapfile
|
||||||
|
mkswap /mnt/data/swapfile
|
||||||
|
swapon /mnt/data/swapfile
|
||||||
|
|
||||||
|
#sudo service dphys-swapfile start
|
||||||
|
#cat /etc/dphys-swapfile
|
||||||
|
#CONF_SWAPSIZE=1024
|
||||||
|
#CONF_SWAPFILE=/mnt/data/swapfile
|
Loading…
Reference in New Issue