Piecoin Masternode on Linux (Ubuntu)

in #cryptocurrency7 years ago (edited)

Starting September 29, 2017, Piecoin will be enabling masternode functionality.
I'm using Vultr's hosting service to create Ubuntu 16.04 instance.
I use 20G SSD, 1CPU, 512MB instance.

Dependencies

Install Boot Libraries

sudo apt-get install -y libboost-system1.58.0 libboost-filesystem1.58.0 
sudo apt-get install -y libboost-thread1.58.0 libboost-program-options1.58.0 
sudo apt-get install -y libminiupnpc10

Install BerkeleyDB for Wallet Functionality.

sudo apt-get install -y libdb5.3 libdb5.3++

Install Binary

wget http://piecoin.net/download/PieCoind.zip -C /usr/local/bin
sudo chmod 755 /usr/local/bin/PieCoind
sudo chown root: /usr/local/bin/PieCoind

Configuration

touch $HOME/.Piecoin/Piecoin.conf

Contents of the file

# $HOME/.Piecoin/PieCoin.conf
rpcuser=PieCoinrpc
rpcpassword=C9VkTA2jzWGgaAZzgoch4HMH5CxZRnpxGXEYVGchEMTp

Run Daemon

PieCoind -daemon

Generate a Wallet Address for your Masternode

PieCoind masternode 0

Generate a Private Key

PieCoind masternode genkey