Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Modified from Sky's video to my needs : https://www.youtube.com/watch?v=InumRwIy67I
- The first few minutes is to get the box running on Vultr. Once done, follow these steps.
- ---- START STEPS / INSTRUCTIONS -----
- Login as 'root' user first then...
- Add User:
- useradd -m -s /bin/bash ubuntu
- echo "ubuntu:YOUR_OWN_PASSWORD" | chpasswd
- visudo
- Add the following to the end:
- root ALL=(ALL) ALL
- ubuntu ALL=(ALL) ALL
- Make Swap:
- sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024
- sudo /sbin/mkswap /var/swap.1
- sudo chmod 600 /var/swap.1
- sudo /sbin/swapon /var/swap.1
- sudo nano /etc/fstab
- And add to bottom:
- /var/swap.1 swap swap defaults 0 0
- Rest of these steps can be done as 'ubuntu' user...
- Commands to compile wallet:
- sudo apt-get update
- sudo apt-get upgrade
- Important!:
- sudo reboot
- sudo apt-get install -y build-essential libssl-dev libdb++-dev libboost-all-dev libqrencode-dev
- Get the latest .tar.gz link here and replace below : https://github.com/B3-Coin/B3-CoinV2
- wget https://github.com/B3-Coin/B3-CoinV2/archive/3.0.0.4.tar.gz
- tar zxvf 3.0.0.4.tar.gz
- mv B3-CoinV2-3.0.0.4 B3-CoinV2
- cd B3-CoinV2/src/leveldb
- make clean
- make libmemenv.a libleveldb.a
- cd ..
- make -f makefile.unix (This guy take a while, go make some coffee, or pour yourself a nice whiskey!!)
- ~/B3-CoinV2/src/b3coind
- Keep note of the rpcuser and rpcpassword the wallet outputs on first run then proceed...
- Edit ~/.B3-CoinV2/b3coin.conf (Part where I config initially to sync wallet):
- sudo nano ~/.B3-CoinV2/b3coin.conf
- Add these lines:
- rpcuser=RANDOM_USERNAME
- rpcpassword=RANDOM_PASSWORD
- daemon=1
- server=1
- Start Wallet:
- ~/B3-CoinV2/src/b3coind
- Check Sync Progress (KEEP RUNNING THIS TO MONITOR SYNC)
- ~/B3-CoinV2/src/b3coind getblockcount
- keep using above command to track sync, match to https://chainz.cryptoid.info/b3/
- When fully SYNCED, Import Key (KEY YOU GOT FROM YOUR WINDOWS WALLET DUMPPRIVKEY)
- ~/B3-CoinV2/src/b3coind importprivkey YOUR_PRIV_KEY_HERE
- and wait some more...takes a few...another whiskey? :)
- Generate Key:
- ~/B3-CoinV2/src/b3coind fundamentalnode genkey
- Copy the above key, you will need it next
- sudo nano ~/.B3-CoinV2/b3coin.conf
- Make sure your file looks like this:
- rpcuser=RANDOM_USERNAME
- rpcpassword=RANDOM_PASSWORD
- daemon=1
- server=1
- staking=0
- fundamentalnode=1
- fundamentalnodeprivkey=YOUR_GEN_KEY
- fundamentalnodeaddr=IP:5647
- promode=1
- listen=1
- Open FW:
- sudo ufw allow 5647
- sudo reboot
- ~/B3-CoinV2/src/b3coind
- ~/B3-CoinV2/src/b3coind fundamentalnode start
- to check connections
- ~/B3-CoinV2/src/b3coind fundamentalnode count
- Open FW in Vultr for your VM (port 22 and port 5647) as shown in the video.
- https://www.youtube.com/watch?v=InumRwIy67I
- ---- END STEPS / INSTRUCTIONS -----
- after all this your FN should be up and running. To double check, use a windows wallet to check if your IP is listed
- use debug console and use : fundamentalnodelist status IP
- Upgrade wallet:
- rm -rf ~/B3-CoinV2/ && git clone https://github.com/B3-Coin/B3-CoinV2.git ~/B3-CoinV2
- sudo apt-get -y update && sudo apt-get -y install build-essential libssl-dev libdb++-dev libboost-all-dev libqrencode-dev
- cd ~/B3-CoinV2/src/leveldb
- chmod +x build_detect_platform
- make clean
- make libmemenv.a libleveldb.a
- cd ..
- make -f makefile.unix (This guy take a while, go make some coffee, or pour yourself a nice whiskey!!)
- sudo reboot
- --DO a complete resync
- cd ~/.B3-CoinV2/
- sudo rm peers.dat
- sudo rm blk0001.dat
- sudo rm fncache.dat
- sudo rm -rf database
- sudo rm -rf txleveldb
- ~/B3-CoinV2/src/b3coind
- Check Sync Progress (KEEP RUNNING THIS TO MONITOR SYNC)
- ~/B3-CoinV2/src/b3coind getblockcount
- ~/B3-CoinV2/src/b3coind fundamentalnode start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement