[0.8] How do I setup a node on Ubuntu Server 18.04?

applies to Scrypt, Scrypt PoW/PoS and SHA-256
branch 0.8

updated July 30, 2019, 4:01 pm

Use the following instructions to setup a node on Ubuntu Server 18.04.

Install Ubuntu Server 18.04 on a VPS.

Update your Ubuntu machine.

sudo apt-get update
sudo apt-get upgrade

Install the required dependencies.

sudo apt-get install build-essential libdb-dev libdb++-dev libboost-all-dev git libssl1.0-dev
sudo apt-get install libdb-dev libdb++-dev libboost-all-dev libminiupnpc-dev libevent-dev libcrypto++-dev libgmp3-dev

Note: replace “examplecoin” with the name of your coin.
Note: replace “6gs39011kick8xmqutpkrvi92xx5kwev4ykanlv1ls0ouuae5x” with the coinID of your coin.

Download the source code from MyCoin. (Available for a paid coin)

wget "https://dl.walletbuilders.com/download?customer=6gs39011kick8xmqutpkrvi92xx5kwev4ykanlv1ls0ouuae5x&filename=examplecoin-source.tar.gz" -O examplecoin-source.tar.gz

Extract the tar file.

tar -xzvf examplecoin-daemon-linux.tar.gz

Install the daemon.

chmod +x examplecoind
sudo mv examplecoind /usr/bin/

Create the config file.

mkdir $HOME/.examplecoin
nano $HOME/.examplecoin/examplecoin.conf

Paste the following lines in examplecoin.conf.

rpcuser=rpc_examplecoin
rpcpassword=69c863e3356d3dae95df454a1
rpcallowip=127.0.0.1
listen=1
server=1
txindex=1
daemon=1

Start your node with the following command.

examplecoind

Share