lwc:raspberry_pi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

lwc:raspberry_pi [2020/11/26 22:41] – created John Harrisonlwc:raspberry_pi [2022/11/17 06:43] (current) John Harrison
Line 1: Line 1:
 Swap:  Swap: 
-$ dd if=/dev/zero of=/path/to/swapfile bs=1M count=1024 # For 1GB swap file 
 <code> <code>
 +$ dd if=/dev/zero of=/path/to/swapfile bs=1M count=1024 # For 1GB swap file. Wouldn't fallocate -l 1G /swapfile be better?
 +$ sudo chmod 600 /swapfile # optional
 $ mkswap /path/to/swapfile $ mkswap /path/to/swapfile
 $ swapon /path/to/swapfile $ swapon /path/to/swapfile
  • lwc/raspberry_pi.1606452119.txt.gz
  • Last modified: 2020/11/26 22:41
  • by John Harrison