Fix formatting of RPi2 build instructions

This commit is contained in:
NanoAkron 2016-11-21 22:38:39 +00:00
parent dbf2ab56c5
commit 1df0fc719e
No known key found for this signature in database
GPG key ID: 346A337AA2EA8B57

View file

@ -193,26 +193,26 @@ invokes cmake commands as needed.
Tested on a Raspberry Pi 2 with a clean install of minimal Debian Jessie from https://www.raspberrypi.org/downloads/raspbian/ Tested on a Raspberry Pi 2 with a clean install of minimal Debian Jessie from https://www.raspberrypi.org/downloads/raspbian/
* `apt-get update` and `apt-get upgrade` to install all of the latest software * `apt-get update && apt-get upgrade` to install all of the latest software
* Install the dependencies for Monero except libunwind and libboost-all-dev * Install the dependencies for Monero except libunwind and libboost-all-dev
* Increase the system swap size * Increase the system swap size:
```
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=1024
sudo /etc/init.d/dphys-swapfile start sudo /etc/init.d/dphys-swapfile start
```
* Install the latest version of boost (this may first require invoking `apt-get remove --purge libboost*` to remove a previous version if you're not using a clean install) * Install the latest version of boost (this may first require invoking `apt-get remove --purge libboost*` to remove a previous version if you're not using a clean install):
```
cd cd
wget https://sourceforge.net/projects/boost/files/boost/1.62.0/boost_1_62_0.tar.bz2 wget https://sourceforge.net/projects/boost/files/boost/1.62.0/boost_1_62_0.tar.bz2
tar xvfo boost_1_62_0.tar.bz2 tar xvfo boost_1_62_0.tar.bz2
cd boost_1_62_0 cd boost_1_62_0
./bootstrap.sh ./bootstrap.sh
sudo ./b2 sudo ./b2
```
* Wait ~8 hours * Wait ~8 hours
sudo ./bjam install sudo ./bjam install