edit 29/01/2016 23:15 - cut the edits and added them as a reply
RPi2 0.9.1.0 Monero Node
Kit List
RPi2
Powered USB Hub Manhattan 7-port USB 2.0 - Powers the SSD
Verbatim s256gb SSD
Yes sadly the SSD makes all the difference with your RPi2
I’ve fried numerous SD cards and USB keys……
Download the ubuntu image for RPi2 2015-04-06-ubuntu-trusty.zip
Follow these instructions for getting UBUNTU on to your SSD or USB, remember you're installing ubuntu not wheezy!
At this point I get the RPi2 to a point that I can disconnect the monitor, keyboard etc
I also MAC reserved the RPi2's IP Address via DHCP (On your router or DHCP server, so it has a consistent IP Address)
So a few tasks are required first
If you're running from a USB / SSD external drive, Now is the time to edit /etc/FSTAB to reflect the new root drive
Or sudo apt-get upgrades will complain it cannot find /dev/mmcblk0p2
fstab changes
proc /proc proc defaults 0 0
/dev/sda2 / ext4 defaults,noatime 0 1
/dev/mmcblk0p1 /boot vfat defaults 0 2
#/dev/mmcblk0p2 / ext4 defaults,noatime 0 1
# a swapfile is not a swap partition, so no using swapon|off from here on, use dphys-swapfile swap[on|off] for that
I reboot at this point
sudo reboot
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install openssl-server
sudo apt-get install screen
(for multiple sessions) Screen is great, you can disconnect from the session and know it's still running fine Ctrl+Alt+d*
sudo halt -p
This powers it off so you can disconnect monitor, keyboard etc and SSH in from where you would normally
power up and ssh on to your RPi2 (or you can remain sitting infront of it??)
ssh [email protected]
NOW CHANGE THE DEFAULT PASSWORD!
ubuntu@ubuntu:~$ passwd
Changing password for ubuntu.
(current) UNIX password:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Change time zone to your timezone
sudo dpkg-reconfigure tzdata
sudo apt-get install dphys-swapfile
Installs the swap file, I left it as a default install)
Thats the prep of the RasPi2 with ubuntu complete
sudo reboot
ssh back in to set up environment
These packages are for the ability to build from source
sudo apt-get install git vim build-essential doxygen miniupnpc cmake
These packages are to install the dependencies for bitmonero
sudo apt-get install libboost1.55-all-dev libevent-dev libunbound-dev liblmdb-dev libdb++-dev libdb-dev
Copy all the required source files to your RPi2
git clone https://github.com/monero-project/bitmonero.git bitmonero
switch into that dir
cd bitmonero/
You're now ready to compile
make -j2 release-arm7
If you're feeling brave use -j4 to use all of your RPi2's cores
It took just under 2 hours to compile for me (SSD don’t forget)
sudo reboot
you’re ready to launch now
cd bitmonero/build/release/bin
./bitmonerod
This defaults to BerkeleyDB
:-)
The launch syntax I am now using is
./bitmonerod --rpc-bind-ip 0.0.0.0 --rpc-bind-port 5012
I start my wallet with this syntax
./simplewallet --daemon-address 192.168.0.XX:5012 --wallet-file ./wallet.bin
I like to backup the blockchain once, when it's fully synced, to save time if I have a disaster.
Being a Mac user.... This is the terminal command I use
rsync -avz --timeout=50 [email protected]:~/.bitmonero/ /Volumes/G-DRIVE/wedgy2kBackups/Cryptos/UbuPiBup
I've started syncing the blockchain with no additional commands (my Internet connection is 40Mbps)
Block Sync Start
26/01/2016 22:52
Had to restart this as BerkeleyDB and it took aprx 26 Hours
Please point out any errors omissions etc. Or ask some questions?
Hopefully this will be of use to some one.
A big thanks to saddam, smooth,NoodleDoodle and fluffypony