Skip to content

How to Build Sumcoin from command line (Ubuntu 16 )

CryptoCloudInc edited this page Jul 1, 2019 · 1 revision

Dependencies:

sudo apt-get update;
sudo apt-get install git;
sudo apt-get -y install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils;
sudo apt-get install -y libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev;
sudo apt-get -y install libboost-all-dev;
sudo apt-get install -y software-properties-common;
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update;
sudo apt-get install -y libdb4.8-dev libdb4.8++-dev;
sudo apt-get install -y libminiupnpc-dev;
sudo apt-get install -y libzmq3-dev;
sudo apt-get install -y libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler;
sudo apt-get install -y libqt4-dev libprotobuf-dev protobuf-compiler;

Next, Clone the project

git clone -b 0.16 https://github.com/sumcoinlabs/sumcoin.git

Change directories into Sumcoin

cd sumcoin

From the Sumcoin Directory, run each command

./autogen.sh

Next,

./configure --enable-upnp-default

last, make the executables

make
  • Make will take some time and you should have a minimum of 2 GB of RAM available for this.

Enable Server (Node)

Create a .conf file called sumcoin.conf within .sumcoin directory (hidden dir). Within, set your Client up as a node.

Typical basic Server mode settings

server=1
daemon=1
rpcuser=pickusername
rpcpassword=setsecurepassword

The RPC (Remote Procedure Call) uses "credentials" to communicate between programs. It's required, and can be a security issue if insecure. Depending on the RPC settings and your firewall, you might expose your wallet to the world - and that would be unwise. Research the subject before randomly changing any settings.

Open ports 3333 for p2p only or 3332 for RPC Operations

  ##     You're done!