--db-type berkeley is now an obsolete option, isn't it? lmdb is syncing 10-20x faster.
A Step-By-Step Guide to Running A Full Node on Raspberry Pi[...]
A Step-By-Step Guide to Running A Full Node on Raspberry Pi 2:
(thanks to smooth, binaryFate, fluffypony)
First, get your Raspberry Pi SD card set up.
Download Ubuntu for Raspberry Pi: https://wiki.ubuntu.com/ARM/RaspberryPi Install Ubuntu onto the SD card: https://www.raspberrypi.org/documentation/installation/installing-images/README.md
Now, boot your Raspberry Pi.
sudo fdisk /dev/mmcblk0 Delete the second partition (d, 2), then re-create it using the defaults (n, p, 2, enter, enter), then write and exit (w). Reboot the system, then:
sudo resize2fs /dev/mmcblk0p2 There is no swap partition/file included. If you want swap, it's recommended you do:
sudo apt-get install dphys-swapfile Install dependencies (note, there may be more, but this is what I remember):
sudo apt-get install git vim libboost1.55-all-dev build-essential doxygen libdb5.3 libevent-dev libunbound-dev miniupnpc liblmdb-dev
You are now ready to build the bitmonero daemon!
git clone https://github.com/monero-project/bitmonero.git bitmonero cd bitmonero vim Makefile in the “release-all” section add this code: -D NO_AES=ON (type “i” to edit) escape, then :x to save cd src/blockchain_db/lmdb vim db_lmdb.cpp scroll to line 675 change “size_t mapsize = 1LL << 34;” to “size_t mapsize = 1LL << 30;” :x cd cd bitmonero make release-all cd build/release/bin ./bitmonerod --db-type berkeley
Great guide saddam - hope you don't mind me linking the updated thread for this post NoodleDoodle's commit
https://forum.getmonero.org/5/support/360/bitmonerod-node-on-rpi2-working
I prefer to use the platform MiniBian, its much smaller and faster.
More can be read here https://minibianpi.wordpress.com/
http://trustplus.co/2015-02-18-wheezy-minibian.img.torrent more torrents are available at TRUSTplus.com