mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-30 03:03:17 +00:00
README.md: increase swap size on Raspberry Pi
Increased swap size on raspberry pi compiling guide, since it might crash if the raspberry has any service runing in the background
This commit is contained in:
parent
4cbb476cd1
commit
aa40047e48
1 changed files with 2 additions and 2 deletions
|
@ -236,7 +236,7 @@ Tested on a Raspberry Pi Zero with a clean install of minimal Raspbian Stretch (
|
||||||
```
|
```
|
||||||
sudo /etc/init.d/dphys-swapfile stop
|
sudo /etc/init.d/dphys-swapfile stop
|
||||||
sudo nano /etc/dphys-swapfile
|
sudo nano /etc/dphys-swapfile
|
||||||
CONF_SWAPSIZE=1024
|
CONF_SWAPSIZE=2048
|
||||||
sudo /etc/init.d/dphys-swapfile start
|
sudo /etc/init.d/dphys-swapfile start
|
||||||
```
|
```
|
||||||
* If using an external hard disk without an external power supply, ensure it gets enough power to avoid hardware issues when syncing, by adding the line "max_usb_current=1" to /boot/config.txt
|
* If using an external hard disk without an external power supply, ensure it gets enough power to avoid hardware issues when syncing, by adding the line "max_usb_current=1" to /boot/config.txt
|
||||||
|
@ -270,7 +270,7 @@ If you are using the older Raspbian Jessie image, compiling Monero is a bit more
|
||||||
```
|
```
|
||||||
sudo /etc/init.d/dphys-swapfile stop
|
sudo /etc/init.d/dphys-swapfile stop
|
||||||
sudo nano /etc/dphys-swapfile
|
sudo nano /etc/dphys-swapfile
|
||||||
CONF_SWAPSIZE=1024
|
CONF_SWAPSIZE=2048
|
||||||
sudo /etc/init.d/dphys-swapfile start
|
sudo /etc/init.d/dphys-swapfile start
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue