Merge pull request #1365

1df0fc71 Fix formatting of RPi2 build instructions (NanoAkron)
This commit is contained in:
Riccardo Spagni 2016-12-04 21:55:22 +02:00
commit 6e3a96bc4a
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

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