BITG coin masternode – Build latest version from source on Centos 7

BITG coin masternode
Build latest version from source on Centos 7

First of all you have to  update your centos system and install dependencies for centos 7 .You can find it at below link

How to install dependencies for setup masternode on Centos 7

Don’t start here without doing ” install dependencies for centos 7 ” step.If you did it before you can skip it. Lets Begin .

Solve ” fatal error: chiabls/bls.hpp: No such file or directory
#include <chiabls/bls.hpp> ” error

[root@thrift1 testdelete]# wget https://cmake.org/files/v3.6/cmake-3.16.0.tar.gz
[root@thrift1 testdelete]# tar -zxvf cmake-3.16.0.tar.gz
[root@thrift1 testdelete]# cd cmake-3.16.0
[root@thrift1 cmake-3.6.2]# sudo ./bootstrap –prefix=/usr/local
[root@thrift1 cmake-3.6.2]# sudo make
[root@thrift1 cmake-3.6.2]# sudo make install
[root@thrift1 cmake-3.6.2]# vi ~/.bash_profile
PATH=/usr/local/bin:$PATH:$HOME/bin
[root@thrift1 ~]# cmake –version
cmake version 3.16.0
 
——————————————

wget https://github.com/codablock/bls-signatures/archive/v20181101.zip
unzip v2018*

Solve ” configure A compiler with support for C++14 language features is required. ” error

1. # yum install centos-release-scl
2. # yum install devtoolset-7-gcc-c++
Every time I want gcc to default to using GCC 7, I run the following:

1. $ scl enable devtoolset-7 bash

Download, Build and Install BITG daemon from source

Connect to your centos 7 system with putty or any other terminal screen and login. Write or copy/paste below commands to run on your terminal .

cd /usr/src

sudo git clone https://github.com/bitgreen/bitgreen.git

cd bitgreen

sudo chmod +x share/genbuild.sh

sudo chmod +x autogen.sh

chmod +x configure.ac

chmod +x configure

sudo chmod 755 src/leveldb/build_detect_platform

./autogen.sh

./configure --prefix=/opt/bitg PKG_CONFIG_PATH=/opt/openssl/lib/pkgconfig LIBS=-Wl,-rpath,/opt/openssl/lib --disable-tests --disable-bench

make

make install
  1. After make install finished , your builded daemon files will be copied to /opt/bitg/bin/  directory. You can see the files with commands below;
cd /opt/bitg/bin/

ls

If you dont want to use ” make install ” , you can find builded daemon files on this path;

/usr/src/bitgreen/src/bitgreend
/usr/src/bitgreen/src/bitgreen-cli
/usr/src/bitgreen/src/bitgreen-tx

Copy your daemon files before cleanout your system !!!!!

Clean out unrequired files from system

We builded and installed bitgreen masternode daemon to our centos 7 system. Now we can delete unrequired files from system, you don’t need them anymore. These are the cleaning commands;

cd /usr/src/

rm -rfd bitgreen

Open required port on firewall

Commands below are for open required port on firewall for communication. If you don’t open the port, your wallet doesn’t sync and doesn’t work !!!

firewall-cmd --zone=public --add-port=9333/tcp --permanent

firewall-cmd --reload

Most used daemon commands:

./bitgreend -daemon   // starts the masternode daemon
./bitgreen-cli stop   // stops the masternode daemon
./bitgreen-cli getinfo   // get general info
./bitgreen-cli getblockcounts  // shows last block number
./bitgreen-cli masternode status   // shows masternode status
./bitgreen-cli mnsync status   // shows maternode syncronisation  status

Links :

Required coin to run a masternode :  2500 BITG

Website : https://bitg.org/

Github : https://github.com/bitgreen/bitg

Explorer 1 : https://explorer.bitg.org

Explorer 2 : https://www.coinexplorer.net/BITG

Masternode setup : https://medium.com/bitgreen/masternode-setup-guide-how-to-deploy-a-masternode-80a974cb447a

Coinmarketcap : https://coinmarketcap.com/currencies/bitgreen/

Exchanges : 

 

14 thoughts on “BITG coin masternode – Build latest version from source on Centos 7”

  1. I every time used to read piece of writing in news papers but now as I am
    a user of internet therefore from now I am using net for content, thanks to web.

  2. Hello, I think your site might be having browser compatibility issues.
    When I look at your blog in Safari, it looks fine but
    when opening in Internet Explorer, it has some overlapping.
    I just wanted to give you a quick heads up! Other then that, wonderful blog!

  3. Greetings from Idaho! I’m bored to death at work so I decided to check out
    your blog on my iphone during lunch break.

    I really like the knowledge you present here and can’t wait to take a look when I get home.
    I’m shocked at how quick your blog loaded on my mobile
    .. I’m not even using WIFI, just 3G .. Anyways, excellent site!

  4. Hi there all, here every one is sharing these knowledge,
    so it’s pleasant to read this weblog, and I used to
    pay a visit this weblog all the time.

  5. Good day! This is my first visit to your blog! We are a collection of volunteers and starting a new project in a community
    in the same niche. Your blog provided us useful information to work on. You have done a extraordinary job!

  6. Hello there, just became aware of your blog through Google, and found that
    it is truly informative. I am gonna watch out for brussels.
    I will appreciate if you continue this in future. Lots of people
    will be benefited from your writing. Cheers!

  7. I am sure this article has touched all the internet visitors,
    its really really pleasant article on building up new website.

  8. It’s hard to find knowledgeable people on this topic, however, you
    sound like you know what you’re talking about! Thanks

  9. My spouse and I stumbled over here from a different web page and thought I might as well check things
    out. I like what I see so now i am following you.

    Look forward to going over your web page yet again.

  10. I was suggested this website by my cousin. I am not sure whether this post is written by him as nobody else
    know such detailed about my trouble. You are amazing! Thanks!

  11. I have read so many articles concerning the blogger lovers except this paragraph is in fact a nice piece of writing, keep it up.

  12. My brother recommended I may like this website. He was totally right.
    This post actually made my day. You cann’t consider simply how a lot time I had
    spent for this info! Thank you!

Comments are closed.

Scroll to Top