SIBCoin - Master Node Setup in VPS

in cryptocurrency •  7 years ago  (edited)

After lot of trail and error the following steps worked for me ... I am not SIB developer so I might not be able to solve all the errors ....let's get started!!!


If you already have a VPS image  you can skip step 1 & 2


Step 1 :-  Create a VPS  ...I installed Ubuntu 16.0.4... please follow the below youtube URL from the Chaincoin channel...who has done a excellent work!!! kudos!!!



Step 2 :- Secure the VPS ... please follow the below youtube URL from the Chaincoin channel.



Step 3 :-  Install dependencies... run the following commands sequentially 


free

sudo chmod 0600 /var/swap.img

sudo chown root:root /var/swap.img

sudo nano /etc/fstab


Append the following line to the end of the file ...Save the file and exit


/var/swap.img none swap sw 0 0


sudo apt-get update

sudo apt-get install automake

sudo apt-get install libdb++-dev

sudo apt-get install build-essential libtool autotools-dev 

sudo apt-get install autoconf pkg-config libssl-dev

sudo apt-get install libboost-all-dev

sudo apt-get install libminiupnpc-dev

sudo apt-get install git

sudo apt-get install software-properties-common

sudo apt-get install python-software-properties

sudo apt-get install g++

sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev

sudo apt-get install libboost-all-dev


sudo apt-get install software-properties-common

sudo add-apt-repository ppa:bitcoin/bitcoin

sudo apt-get update

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



Step 4 :- Compile and Install SIB


cd ~

git clone https://github.com/ivansib/sibcoin.git


cd ~/sibcoin/

./autogen.sh ( should not see any error )

./configure ( should not see any error  )

make

sudo make install


sibcoind &  ( Starting sincoin daemon)

sibcoin-cli getblockcount  ( will list the blockcount  will take few minutes to download the blocks and sync with network)


Step 5 :-  Install SIB Wallet in the Windows and transfer like 1005 sincoin ... I personally prefer to have extra coin to have enough for the tx fee


Step 6 :-  Wait for the windows wallet to sync with network 100% ... Windows and VPS block count ( sibcoin-cli getblockcount ) should match.


Step 7 :- Setup windows wallet


7.1 :-  Tools-> Debug Console 

7.2 :-  getaccountaddress  < alias node name ex: sibnode0 or mn0>  (NOTE DOWN THE GENERATED ADDRESS)

7.3 :-  masternode genkey  ( NOTE DOWN THE GENERATED KEY)

7.4 :-  sendtoaddress < address generated in 7.2 > 1000

7.5 :-  masternode outputs ( NOTE DOWN THE TX-ID and INDEX  PRINTED)


Step 8 :- Modify the masternode.conf in windows


8.1 :-  Windows + R

8.2 :-  %appdata% and click OK

8.3 :-  Open Sibcoin folder

8.4 :-  Open the masternode.conf file

8.5 :-   add the line in following format and save the file

   

             < master node alias name used 7.2>    <VPS IP>:1945 < master node key generated in 7.3> <TX ID printed in 7.5> <TX index printed in 7.5>


8.6 :-  It is better to take a backup of wallet.dat  & masternode.conf from %appdate%\sibcoin



Step 9:-  Update sibcoin.conf in the VPS


9.1 :- Login to VPS

9.2 :- cd ~/.sibcoin/

9.3 :- nano sibcoin.conf

9.4 :- add the following lines in the sibcoin.conf ( modify rpcuser, rpcpassword, masternodeprivkey)


rpcuser=USERNAME

rpcpassword=USERPASSWORD

server=1

listen=1

daemon=1

masternode=1

masternodeprivkey=KEY FROM THE STEP 7.3


9.5 :-  Save and Exit sibcoin.conf

9.6 :-  sudo reboot ( Yeah! I am Windows GUY  !!! )

9.7 :-  login to VPS

9.8 :-  sibcoind &  ( Starting sincoin daemon)


Step 10 :- Start the Masternod in Window


10.1 : - Tools -> Debug Console

10.2 :-  masternode start-alias < Masternode alias name used in 7.2 and configured in masternode.conf >

10.3 :-  you should see a message printed like below...


{

  "alias": "< YOUR MASTERNODE ALIAS NAME>",

  "result": "successful"

}


Step 11 :-  In the VPS run following command


sibcoin-cli masternode status


Step 12 :- you should see the result like this...


{

  "vin": "CTxIn(COutPoint(< TXID from STEP 7.5 >, 1), scriptSig=)",

  "service": "YOUR VPS IP:1945",

  "payee": "YOUR address from STEP 7.2",

  "status": "Masternode successfully started"

}


GOOD LUCK!!!

- mskavim

$SIB - SZSAgde7X5xD67yX4rQ4ry8agTvbZkAQqk

$BTC - 16Y27QrYmckn4PVs9X75YGzDUC4MrM8wLf

$ETH - 0x8f74817ad11bdfa64ad1c6fe387226dd9fdb425b

$LTC - LetZXTeC1AiUpSquoz4yd2SKcKjTSoz16S

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:  

Spacibo bolshoi, thank You for this guide, especially because of providing the git source of sibcoin daemon. I had been looking for it on the net and found Your article here!

Update: You must install the following dependency as well, otherwise make will not work:
sudo apt-get install libevent-dev

@bongoking - Good Catch!!! ... I totally missed to add " libevent-dev" in my list of dependency to be installed... yes that is required.

Thanks for the guide! I keep receiving a 'Watchdog Expired' message. Read it has something to do with installing Sentinel?

I have encountered an error during ./configure:
configure: error: Found Berkeley DB other than 4.8

solution is here
https://michael.mckinnon.id.au/2016/05/13/building-a-namecoin-server-with-ubuntu-16-04/

thanks for post

Congratulations @mskavim! You have received a personal award!

2 Years on Steemit
Click on the badge to view your Board of Honor.

Do not miss the last post from @steemitboard:
SteemitBoard World Cup Contest - Semi Finals - Day 1


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 @mskavim! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 3 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!