Requirements:
- Raspberry Pi (any generation of)
- Love for Peercoin
- 20min of your time
Step 1:
Skip this if you already have Raspbian installed
Start by installing Operating System on Raspberry. There are several tutorials for this, and I must say most of them are better then I would expect.
I have found this two that I particularly like:
Text form: https://www.andrewmunsell.com/blog/getting-started-raspberry-pi-install-raspbian/
Video form: https://www.youtube.com/watch?v=oBmOymY7h1M
Please note, if you use âNoobsâ install image - pick Raspbian [Recommended].
I will presume you know how to discover local IP of your Raspberry and know how to SSH login into it.
It is possible that you will get an error related to your locale settings.
If you get this error and donât know how to solve it your self, simply execute the following command:
echo export LC_ALL=en_US.UTF-8 >> ~/.profile
Now logout and login again.
If that did not made locale problems go away, read this article: http://daker.me/2014/10/how-to-fix-perl-warning-setting-locale-failed-in-raspbian.html
Step 2:
Add official Peerbox repository.
Open Terminal, copy paste following commands:
My GPG key for verification:
wget -O - http://peerbox.me/repo/peerbox.gpg.key | sudo apt-key add -
Repository:
sudo sh -c "echo 'deb http://peerbox.me/repo jessie main' >> /etc/apt/sources.list.d/peerbox.list"
Step 3:
Install Peerbox.
Open Terminal, copy paste following commands:
sudo apt-get update && sudo apt-get install peerbox
Step 4:
Start and use Peerbox.
Peerbox is utilized via âpeerboxâ command. Type âpeerbox --helpâ in terminal to see what it can do.
Start peerbox with peerbox --start
, leave it for 20ish seconds to start up and then check current status with peerbox --info
.
To make peerbox start automatically (in case of frequent reboots for example) do:
peerbox --autostart
Step 5:
Minting.
If you have coins ready to mint, just unlock your wallet to start staking:
peerbox --mint
and enter your password.
You can also use Peerbox via Tor onion router:
Peerbox can auto configure itself to become full node on Tor network.
Start Peerbox via Tor:
peerbox --tor
If you want to autostart Peerbox via Tor on reboot:
peerbox --autostart tor
This is usually a tad slower to connect to enough nodes but it should become a full node in about 10 minutes.
You can see what is your nodeâs .onion address with:
peerbox --onion
Optional steps:
Even though they are not yet implemented in peerbox tool, new Peerbox has more tricks up itâs sleeve.
For example, you can use graphical Peercoin-qt client instead of ppcoin command line daemon.
sudo systemctl start ppcoin-qt@pi.service
peerbox command will work properly with graphical client too, so you can still use it to monitor status.
But it is still not integrated with the rest of the system as much as ppcoind is.
Support thread: https://www.peercointalk.org/index.php?topic=4469.0