Get IRI up and running on a Rasberry Pi 3

This guide is mac OS oriented

1. Download Fedora image


2. Unzip the image file

gzip -d arm64-rpi3-f24-mainline-20160623.raw.xz jdk-8u111-linux-arm64-vfp-hflt.tar.gz

3. Prepare your micro SD card

Download SD formatter and format your micro SD

4. Copy the unzipped image file to the µSD drive

Replace the x of diskx with the correct drive (check with disk utility)

Make sure you select the right drive!!! Selecting the wrong drive overwrite that drive!

Use the terminal with following command

sudo diskutil unmountDisk diskx

sudo dd bs=1m if=arm64-rpi3-f24-mainline-20160623.raw \of=/dev/rdiskx

4. Bring the card in the raspberry pi

Power up the raspberry pi 3

open terminal and type ssh

password = pi

4. Install apps

Once logged in install some basic applications

dnf install binutils nano net-tools wget tar unzip screen

5. Download java and transfer it to the RPI (ftp)

Linux ARM 64 Hard Float ABI 74.73 MB jdk-8u111-linux-arm64-vfp-hflt.tar.gz

6. Install java

tar -xzvf jdk-8u111-linux-arm64-vfp-hflt.tar.gz -C /opt

update-alternatives –install /usr/bin/javac javac /opt/jdk1.8.0_111/bin/javac 1

update-alternatives –install /usr/bin/java java /opt/jdk1.8.0_111/bin/java 1

update-alternatives –config javac

update-alternatives –config java

7. Mount 2nd HDD

Format the disk in FAT32

fdisk -l

mkdir /mnt/usbdrive

mount /dev/sda1 /mnt/usbdrive

8. Install iota

cd /mnt/usbdrive/iota

mkdir iota

cd iota

wget -O IRI.jar

wget -O


9. Start IRI

type screen

java -jar IRI.jar 14265 udp:// udp:// udp://

screen commands

ctrl-a-c – to make new screen

ctrl-a-p or ctrl-a-n to go prev or next screen

ctrl-a-d  detach screen (always use this command at the end of your session)

To reconnect to screen use:

screen -d -r

10. Check NodeInfo and Neighbours

Make a new screen (ctrl-a-c) and use following commands to check the status

curl http://localhost:14265 \


-H ‘Content-Type: application/json’ \

-d ‘{“command”: “getNeighbors”}’ | python -m json.tool

curl http://localhost:14265 \


-H ‘Content-Type: application/json’ \

-d ‘{“command”: “getNodeInfo”}’ | python -m json.tool

11. Shutdown the Rasberry pi

It is always advisable that you unmount a USB drive before unplugging it from its power source. This forces all queued data to be written to the drive before it loses power.

sudo umount /dev/sda1

You may need to use the -f force option if the drive will not dismount.

sudo umount -f /dev/sda1

If you use the shutdown -P -h 0 command to power down your Pi you do not need to use unmount.

shutdown -P -h 0


Geef een reactie

Vul je gegevens in of klik op een icoon om in te loggen. logo

Je reageert onder je account. Log uit /  Bijwerken )

Google+ photo

Je reageert onder je Google+ account. Log uit /  Bijwerken )


Je reageert onder je Twitter account. Log uit /  Bijwerken )

Facebook foto

Je reageert onder je Facebook account. Log uit /  Bijwerken )


Verbinden met %s