Compiling Bitcoind on Raspberry Pi

bitcoin-logo-plain

A short step-by-step on how to compile Bitcoind on Raspberry Pi.

First thing you need to do is to increase the RPi’s Swap Size

$ sudo vim /etc/dphys-swapfile

Modify the line to change the setting from 100Mb to 500Mb.
CONF_SWAPSIZE=100
to
CONF_SWAPSIZE=500

Apply the changes
$ sudo dphys-swapfile setup
$ sudo dphys-swapfile swapoff
$ sudo dphys-swapfile swapon

Check the new swap size using free command
$ free

Update your Raspberry Pi’s packages
$ sudo apt-get update
$ sudo apt-get upgrade

Install all dependencies needed to compile the bitcoind
$ sudo apt-get install checkinstall subversion git git-core build-essential

$ sudo apt-get install libtool autotools-dev autoconf

$ sudo apt-get install libssl-dev libdb++-dev libminiupnpc-dev

$ sudo apt-get install libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libboost-all-dev

After successfully installing the packages, go to your preferred directory for downloading the bitcoind source code to compile.
$ cd ~
$ mkdir source
$ cd source
$ git clone git://github.com/bitcoin/bitcoin.git
$ cd ~/source/bitcoin/src

Prepare the bitcoin source code from github
$ ./autogen.sh
$ ./configure --without-gui

Now… grab something to eat or to watch while compiling. It’s gonna take a long while to compile.

After a few (maybe hours)…  you may now configure your bitcoin.conf and run
$  ~/source/bitcoin/src/bitcoind -daemon

 

Watch out for my next post on setting-up bitcoind (bitcoin.conf settings)

Update:

For minimal configuration… create this file in ~/.bitcoin/bitcoin.conf


server=1
rpcuser={insert your preferred username}
rpcpassword={insert your preferred long hash password for security}
rpctimeout=30
rpcport=8332
gen=0
allowreceivebyip=1

 

Toss some coins!! 🙂 BTC: 1Hb9ci7bcEQ5RNnKnUGEgWj7amBF37mEY6

Links:

Raspberry Pi Wireless Access Point using Tenda Wireless USB Adapter

Tenda W311U+ Wireless N150 High Gain USB Adapter
Tenda W311U+ Wireless N150 High Gain USB Adapter

You can make your own Wireless Access Point with Raspberry Pi using Tenda Wireless USB Adapter (W311U+).    It won’t give you the same performance like the commercial one… but it will allow you to connect at least 5 devices and install network security packages to play with 🙂  neat!

Bought from Octagon Megamall with PhP600 price tag.  You can also try other Wireless USB adapters like CDR-King’s… but check if it can operate on “Software AP” mode.

How-To : http://elinux.org/RPI-Wireless-Hotspot

 

Uber Manila experience ^_^ #LikeABoss

SAMSUNG CSC
Hyundai Sonata

Uber app just started few months ago in Manila… I’m so excited to try it out. ^_^ w00t!!

Just use your iPhone or an android phone to pick you up, where you can also see and track their sleek executive car through the app. They will arrive in no time and you don’t have to wait that long. oh ha!

Zero hassle! I use my credit card registered to my Uber account to pay for their service.   If you’re interested to join, use “jv0eb” promo code… they will give you PhP1,000 credits… sweet!

website: https://www.uber.com/cities/manila

Black River

SAMSUNG CSC
“The Black River is a 125-mile-long (201 km) blackwater river that empties into the eastern end of Lake Ontario on the shore of Jefferson County, New York in the United States of America. The origin of the name is not clear, but it may stem from the natural tannic acid that darkens the water in places.” – Wikipedia

Continue reading “Black River”