How to install dependencies for setup masternode on Centos 7

Spread the love

How to install dependencies for setup masternode on Centos 7

If you want to setup a cryptocoin masternode on Centos 7, first of all you must update your system and install required dependencies. These dependencies works with many cryptocoin masternodes.

1 – How to update Centos 7

Open your terminal screen and login to your centos 7 server with Putty or any other terminal programs. You can download putty from this link . Also we need to install epel-release .

On the terminal screen run these commands:

sudo yum install https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm -y

sudo yum update -y

2 – Installing dependencies

sudo yum groupinstall "Development Tools" -y

sudo yum install autoconf automake gcc-c++ libdb4-cxx libdb4-cxx-devel libevent libevent-devel boost boost-devel openssl-devel protobuf protobuf-devel qt qt-devel qt5-qttools qt5-qttools-devel desktop-file-utils bzip2-devel python-devel miniupnpc miniupnpc-devel qrencode qrencode-devel zeromq zeromq-devel wget git unzip nano -y

sudo yum install gmp gmp-devel libdb-cxx libdb-cxx-devel -y

3 – Building and installing OpenSSL

cd /usr/src

wget https://www.openssl.org/source/openssl-1.0.1l.tar.gz

tar zxvf openssl-1.0.1l.tar.gz

cd openssl-1.0.1l

export CFLAGS="-fPIC"

./config --prefix=/opt/openssl shared enable-ec enable-ecdh enable-ecdsa

make all

make install

rm -rf openssl-1.0.1l.tar.gz

rm -rf openssl-1.0.1l

If you have any works, save and reboot the centos 7. And now your Centos 7 system is ready to setup and run any masternode.

reboot