Siberian Chervonets Masternode Setup on Ubuntu 16.04 VPS
Step 1 : Setting up swap
free -m
sudo chmod 0600 /var/swap.img
sudo chown root:root /var/swap.img
sudo nano /etc/fstab
If the swap file does not exist, enter:
touch /var/swap.img
dd if=/dev/zero of=/var/swap.img bs=1M count=1024
Then run the commands above
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 fstab file ...Save the file and exit
/var/swap.img none swap sw 0 0
Step 2:
Now it is time to install all of the dependencies
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 libevent-dev
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 3:- Compile and Install SIB
cd ~
git clone https://github.com/ivansib/sibcoin.git
cd ~/sibcoin/
./autogen.sh
./configure
If you see any errors, most likely you are missing a dependency above. Go back and make sure you didn’t miss any. If you are good, what error is it. Packages change all the time and new versions come out. You might need to rollback a package. Google is your friend.
make
sudo make install
Step 4: firewall
sudo ufw allow OpenSSH
sudo ufw allow 1945
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw enable
Step 5: launching Sibcoin
sibcoind &
After about 10 minutes, issue the following to get the blockcount. Once fully sync’d you won’t see huge changes in this number
sibcoin-cli getblockcount
You can also issue the command to see the progress of syncing
sibcoin-cli getinfo
Step 6: Setup account
sibcoin-cli getaccountaddress < masternode name >
I use mn01 for my masternode name
Write down the address. This is the address you need to send exactly 1,000 SIB coins to. You can do this now. I will wait for you ;)
Once you have deposited the 1,000 SIB coins, you need to wait for them to have 15 confirmations.
Once the transaction is confirmed, you need to generate a private key.
sibcoin-cli masternode genkey
Write this down.
To generate a transaction output,
sibcoin-cli masternode outputs
Write down the txhash and the 0 or 1 at the end
Step 7: Configuring the conf files
cd ~/.sibcoin
nano masternode.conf
mn01 127.0.0.1:1945 < privkey from above> < txhash from above> < output number from above>
Ctrl-x to exit, then save
nano sibcoin.conf
rpcuser=< username, anything works>
rpcpassword=<password, letters, numbers okay>
masternode=1
daemon=1
listen=1
server=1
masternodeprivkey=< priv key from step 6>
externalip=< your external IP address>:1945
ctrl-x and save
sudo reboot
Step 8: starting masternode
Log back in via ssh and issue the following commands:
sibcoind &
sibcoin-cli masternode start
It should tell you that the masternode has successfully started. After 5-10 minutes, you can issue a status check
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"
}
ETH - 0x01B3f2D41D1e060B6c834e9F58ABA300C6679034
Congratulations @brbillionaire! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Do not miss the last post from @steemitboard:
Vote for @Steemitboard as a witness to get one more award and increased upvotes!