How to Setup a BitF Masternode on Ubuntu

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@bitf·
0.000 HBD
How to Setup a BitF Masternode on Ubuntu
<center>https://cdn.steemitimages.com/DQmYUFjozHQVgL7ho3Q8oamKbgSPjSgqpwGFfa5xHRUwdG6/bitf.png</center>

<h1>Requirements:</h1>

BitF Wallet on local PC - Download Here:  <a href="http://blockexplorer.bitf.cc/downloads/BitF-Windows.zip">Windows</a> | <a href="http://blockexplorer.bitf.cc/downloads/BitF-linux.tar.gz">Linux</a> | <a href="http://blockexplorer.bitf.cc/downloads/BitF-OSX.dmg">Mac OSX</a>
1 Ubuntu VPS with 1 CPU & 1GB RAM
5,000 BitF Tokens Available Here: <a href="https://crex24.com/?refid=ys7lrfrxvab1rq5i7j28">https://crex24.com/exchange/BITF-BTC</a>


<h1>On Your Local Wallet</h1>

This guide assumes you have already downloaded the qt-wallet and have 5,000 BitF Tokens available.

Open the debug console by clicking Tools->Debug console

Enter this command substituting whatever name you wish to use `getaccountaddress yournamehere`

You should get back an address like this `fR41drjbyUqvUm13XEiyKSFX3tvBVRDv3u` copy that somwhere for later.

Enter this command `masternode genkey`

You should get back a masternode private key that looks like this `2ZzTpJ2smMzFcnJw2Ce1xzrZ3zsWSkSmyFvzLZwz2BxJ2H4V4NG` copy that somewhere for later.

Use the wallet to send 5,000 BitF tokens to the account address you copied down from earlier. After the transaction has gone through find it in under the Transactions tab and double click on the transaction. Copy the Transaction ID and Output index # which you will need for the masternode.conf in the next step


Click Tools->Open Masternode Configuration File

Add a line at the bottom of file as the example shows above using the information you've copied down from previous steps.
`yourmasternodename masternodeipaddress:7337 masternodeprivatekey transactionid transactionindex`

which should look something like:
`mn1 127.0.0.2:7337 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0`

Save the file.

Click Tools->Open Wallet Configuration File

Edit the file to look like the following but substitute your own username and password which can be anything you want.
<code>
rpcuser=madeupusername
rpcpassword=madeuppassword
rpcallowip=127.0.0.1
port=7337
listen=0
server=1
daemon=1
logtimestamps=1
maxconnections=256
</code>

Save the file. Restart the wallet. Now move on to setting up the linux vps.



<h1>Installing and Configuring a BitFd Masternode on Ubuntu</h1>

As a super user logged into your linux vps enter the following commands
<code>
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils git

sudo apt-get update 

sudo apt-get install libboost*

sudo add-apt-repository ppa:bitcoin/bitcoin

sudo apt-get update

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

sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler libzmq3-dev libminiupnpc-dev libqt4-dev libevent-pthreads-2.0-5

mkdir ~/.BitF

cd ~/.BitF

wget http://blockexplorer.bitf.cc/downloads/BitF-linux.tar.gz

tar -zxvf BitF-linux.tar.gz

chmod 755 *
</code>

create a BitF.conf file with your preferred text editor eg. `nano BitF.conf` or `vi BitF.conf`

Put in the following text making sure to substitute your masternode's IP address and masternode private key.
<code>
rpcuser=yourmadeusername
rpcpassword=yourmadepassword
rpcallowip=127.0.0.1
server=1
daemon=1
logtimestamps=1
maxconnections=256
masternode=1
externalip=your_ip_address_here
masternodeaddr=your_ip_address_here:7337
masternodeprivkey=your_private_key_here
</code>

Now startup the server with `./BitFd` and you should see a message that says the server has started.  You can watch what's going on using the command `tail -f debug.log`  and `ctrl+c` to quit watching the log.

<h1>Enable the Masternode Remotely on Your Local</h1>

Go to the Masternodes tab in the wallet on your local machine.  Right click on your masternode and click on Start alias.  Click Ok on the dialog box.

Congratulations your masternode should now be enabled!

<center><h1>Learn More and Get Involved</h1></center>
<center>
Twitter: <a href="https://twitter.com/BitFdev">@BitfDev</a>

Discord: https://discord.gg/4pH2YVV

Github: https://github.com/BitFdev

Website: https://www.bitf.cc

Market: <a href="https://crex24.com/?refid=ys7lrfrxvab1rq5i7j28">https://crex24.com/exchange/BITF-BTC</a>

Wallets: <a href="http://blockexplorer.bitf.cc/downloads/BitF-Windows.zip">Windows</a> | <a href="http://blockexplorer.bitf.cc/downloads/BitF-linux.tar.gz">Linux</a> | <a href="http://blockexplorer.bitf.cc/downloads/BitF-OSX.dmg">Mac OSX</a>

Email: info@bitf.cc
</center>
👍 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,