Build Hilux HLX coin masternode daemon from source on Centos 7

Spread the love

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 .

Download, Build and Install Hilux 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/swatchie-1/hilux.git

cd hilux

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/hilux PKG_CONFIG_PATH=/opt/openssl/lib/pkgconfig LIBS=-Wl,-rpath,/opt/openssl/lib --disable-tests --disable-bench

make

make install

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

cd /opt/hilux/bin/

ls

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

/usr/src/hilux/src/hiluxd
/usr/src/hilux/src/hilux-cli
/usr/src/hilux/src/hilux-tx

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

Clean out unrequired files from system

We builded and installed hilux 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 hilux

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=7979/tcp --permanent

firewall-cmd --reload

Most used daemon commands:

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

Links :

Required coin to run a masternode :  1000 HLX

Website 

Github 

Explorer 1 

Explorer 2

Explorer 3

Masternode setup 1 

Masternode setup 2 

Coinmarketcap 

Sentinel install

Exchanges :