projects
/
www.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix missing trick in the index and numbering of sections
[www.git]
/
src
/
tricks
/
raspberry_pi3_increase_swap_size.adoc
diff --git
a/src/tricks/raspberry_pi3_increase_swap_size.adoc
b/src/tricks/raspberry_pi3_increase_swap_size.adoc
index
7bc4851
..
aa542aa
100644
(file)
--- 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
:docinfo2:
:icons: font
-
1.
Stop the swap
+
==
Stop the swap
----
dphys-swapfile swapoff
----
----
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`:
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
----
CONF_SWAPSIZE=1024
----
-
3.
Start the swap
+
==
Start the swap
----
dphys-swapfile swapon
----
dphys-swapfile swapon