X-Git-Url: http://git.wpitchoune.net/gitweb/?p=www.git;a=blobdiff_plain;f=src%2Ftricks%2Fraspberry_pi3_increase_swap_size.adoc;h=aa542aace5ca3df9491778673f7519a72f525db3;hp=7bc48512cb091faf1051bddf809763f7ae01c0df;hb=1f83d0399974c77c7611de259f8b56066770b2c5;hpb=5f3712821a94cc2e47a8e47e4f6051361c0d9366 diff --git a/src/tricks/raspberry_pi3_increase_swap_size.adoc b/src/tricks/raspberry_pi3_increase_swap_size.adoc index 7bc4851..aa542aa 100644 --- a/src/tricks/raspberry_pi3_increase_swap_size.adoc +++ b/src/tricks/raspberry_pi3_increase_swap_size.adoc @@ -1,14 +1,14 @@ -= Raspberry PI increase swap size += Raspberry PI - increase swap size :docinfo2: :icons: font -1. Stop the swap +== Stop the swap ---- dphys-swapfile swapoff ---- -2. Modify the size of the swap +== Modify the size of the swap As `root`, edit the file `/etc/dphys-swapfile` and modify the variable `dphys-swapfile`: @@ -17,7 +17,7 @@ the variable `dphys-swapfile`: CONF_SWAPSIZE=1024 ---- -3. Start the swap +== Start the swap ---- dphys-swapfile swapon