Build and compile Reddcoin daemon on Raspberry Pi 3 running Ubuntu Mate 16.04.2 LTS

in reddcoin •  7 years ago 

Open Terminal and lets refresh system:

sudo apt-get update

sudo apt-get upgrade

sudo reboot

Open Terminal again and Install dependencies needed for compiling wallet:

sudo apt-get install qt5-default qt5-qmake qtbase5-dev-tools qttools5-dev-tools build-essential libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl-dev libdb++-dev libminiupnpc-dev

Since this is memory intensive we will Create a swap File for the Pi 3:

sudo dd if=/dev/zero of=/var/swap.img bs=1024k count=1000

sudo mkswap /var/swap.img

sudo swapon /var/swap.img

Build BerkeleyDB:

cd ~

wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz

sudo tar -xzvf db-4.8.30.NC.tar.gz

cd db-4.8.30.NC/build_unix

../dist/configure --enable-cxx

make

sudo make install

Set BerkeleyDB headers:

export CPATH="/usr/local/BerkeleyDB.4.8/include"

export LIBRARY_PATH="/usr/local/BerkeleyDB.4.8/lib"

export LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.8/lib/

Download source code:

cd ~

git clone https://github.com/hiddensphinx/reddcoin.git

Get the Makefile:

cd reddcoin

./autogen.sh

./configure --with-gui=no --disable-tests CPPFLAGS="-I/usr/local/BerkeleyDB.4.8/include -O2" LDFLAGS="-L/usr/local/BerkeleyDB.4.8/lib"

cd /src

sudo make

The daemon is now ready. First create the reddcoin.conf file with a strong username and password!

cd ~
mkdir .reddcoin && cd .reddcoin
nano reddcoin.conf
rpcuser=<insert a username>
rpcpassword=<insert a pwd>

Now start the daemon and let it sync

cd ~/reddcoin/src

./reddcoind -daemon

./reddcoin-cli <command eg.: getinfo, getwalletinfo, getstakinginfo, ... , stop>

 

 

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Write good

I'm trying it with a precompiled Wallet, based on the same data, unfortunately it freezes when downloading the blockchain, it just kills my raspberry pi 3 - using the reddcoind. Any ideas?

.autogen.sh couldn't find autoreconfig on my pi, so just for completeness, do this before:

sudo apt-get install autoconf

Excellent write!

Interesting post. Thanks for bringing this to our attention. The future is in blockchain. The issues is that people don't seem to care about the Trustworthiness of the current cryptos. This also happened in the internet boom. Besides coinmarketcap.com there is: https://www.coincheckup.com. I'm using this site that gives in depth reports on every tradable cryto in the market. See: https://www.coincheckup.com/coins/Reddcoin#analysis To see the: Reddcoin Investment research report.

Nice post! I will follow you from now on.

Congratulations @romoto! You have received a personal award!

1 Year on Steemit
Click on the badge to view your Board of Honor.

Do not miss the last post from @steemitboard:
SteemitBoard World Cup Contest - Round of 16 - Day 4


Participate in the SteemitBoard World Cup Contest!
Collect World Cup badges and win free SBD
Support the Gold Sponsors of the contest: @good-karma and @lukestokes


Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Congratulations @romoto! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!