MASTERNODE GUIDE FOR LINUX

Once you purchased a fresh VPS Ubuntu 14.04 Server,

 

Start by copy-pasting the following commands one by one:

(in the console you paste using right click-enter).

 

Do these steps as a root

 

sudo apt-get update

 

apt-get upgrade

 

 

Install Essentials:

------------------

sudo apt-get install build-essential libtool autotools-dev pkg-config libssl-dev libboost-all-dev autoconf automake libdb4.8 libdb4.8-dev libdb4.8++-dev

 

 

Install libsecp256k1 as a root:

--------------------

sudo apt-get install git

git clone https://github.com/bitcoin-core/secp256k1

cd ~/secp256k1

./autogen.sh

./configure --enable-module-recovery

make

./tests

sudo make install  # optional

 

Install libgmp:

---------------

sudo apt-get install libgmp-dev

 

Install Openssl:

---------------

sudo apt-get install openssl

 

Berkeley:

---------------------

sudo apt-get install software-properties-common

 

sudo add-apt-repository ppa:bitcoin/bitcoin

 

sudo apt-get install libdb4.8-dev libdb4.8++-dev

 

 

 

 

 

new messages

 

 

Swap Memory For Memory Allocation:

----------

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

sudo mkswap /var/swap.img

sudo swapon /var/swap.img

sudo chmod 0600 /var/swap.img

sudo chown root:root /var/swap.img

sudo nano /etc/fstab

 

----Note Edit as Nano-----

/var/swap.img none swap sw 0 0

 

##(Save and exit)

 

cd ~

git clone https://Coinnode/Coinnode.git

cd ~/Coinnode/src

make -f makefile.unix # Headless

 

---Note edit as nano------

 

nano ~/.Coinnode/Coinnode.conf

 

##navigate and edit the file to make it look like this:

##(Change username and password)

 

rpcuser=ANYTHINGHERE

rpcpassword=ANYTHINGHERE

listen=1

allowip=127.0.0.1

port=9876

 

##(Save And Exit)

 

 

cd ~/Nodecoincoin/src

 

To run Control Wallet do this

./Coinnoded

 

You should see server starting

 

./Coinnoded getinfo

 

1. ./Coinnoded  getaccountaddress 0

2. ./Coinnoded sendtoaddress “type here the created wallet” 5000

(send 5000 CND to the wallet that was created in step 1)

3. Wait for the 1 confirmation of the transaction

4. ./Coinnoded  masternode genkey (this generates your private key for the masternode)

5. nano ~/.Coinnode/Coinnode.conf

rpcuser=ANYTHINGHERE

rpcpassword=ANYTHINGHERE

listen=1

allowip=127.0.0.1

port=9876

masternode=1

masternodeaddr=YourIP:9876

masternodeprivkey=PRIVATEKEYREPLACETHIS

 

replaced by your data in the corresponding site

 

6. Now save and close the config file.

7. ./Coinnoded   stop

8. ./Coinnoded  (start daemon)

9. Wait for 15 confirmations of the transaction of 5000 coins.

10. ./Coinnoded  masternode start (. You will see the response Masternode started successfully)

11. ./Coinnoded  masternode list

  (You should see your new masternode appear in the list with the status PRE_ENABLE.This will change to ENABLED after a small amount of time. All masternodes need to be active for a certain amount of blocks before they are recognized by the network and eligible for rewards)

 

 

You should see masternode is running!

 

You can check status in the local console by typing masternode status

 

If you get "status" : 1 it's all good!

 

 

Enjoy !

MENU

SOCIAL NETWORKS

CONTACT