Saturday, September 02, 2017
Install Dash node from sources on Centos 6
As root:
cat /etc/centos-release
CentOS release 6.9 (Final)
yum -y install wget
yum update -y && reboot
yum groupinstall 'Development Tools'
yum install pkgconfig
rpm --import http://linuxsoft.cern.ch/cern/slc6X/x86_64/RPM-GPG-KEY-cern
wget -O /etc/yum.repos.d/slc6-devtoolset.repo http://linuxsoft.cern.ch/cern/devtoolset/slc6-devtoolset.repo
yum install devtoolset-2-gcc devtoolset-2-binutils devtoolset-2-gcc-c++
Install Berkeley DB
wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
tar -xzvf db-4.8.30.NC.tar.gz
cd ./db-4.8.30.NC
cd build_unix
../dist/configure --prefix=/usr --enable-compat185 --enable-dbm --disable-static --enable-cxx
make
make install
Install ZeroMQ (from sources)
wget https://archive.org/download/zeromq_4.1.4/zeromq-4.1.4.tar.gz
tar xzvf zeromq-4.0.3.tar.gz
cd zeromq-4.0.3
./configure
make
make install
yum install boost boost-doc
wget http://repo.enetres.net/enetres.repo -O /etc/yum.repos.d/enetres.repo
yum install boost-devel
yum install openssl openssl-devel
wget ftp://mirror.switch.ch/pool/4/mirror/centos/6.9/os/x86_64/Packages/libevent2-devel-2.0.21-2.el6.x86_64.rpm
yum install libevent2-devel
useradd dash
passwd dash
Login as dash:
mkdir dashcore
cd dashcore
git clone https://github.com/dashpay/dash -b v0.12.2.x
cd dash
add m4_pattern_allow(PKG_CONFIG_LIBDIR) to configure.ac
./autogen.sh
source scl_source enable devtoolset-2
export PKG_CONFIG_PATH=/usr/lib/pkgconfig/ (for ZeroMQ lib)
./configure
you need to make sure you have more than 5Go free RAM
make
cat /etc/centos-release
CentOS release 6.9 (Final)
yum -y install wget
yum update -y && reboot
yum groupinstall 'Development Tools'
yum install pkgconfig
rpm --import http://linuxsoft.cern.ch/cern/slc6X/x86_64/RPM-GPG-KEY-cern
wget -O /etc/yum.repos.d/slc6-devtoolset.repo http://linuxsoft.cern.ch/cern/devtoolset/slc6-devtoolset.repo
yum install devtoolset-2-gcc devtoolset-2-binutils devtoolset-2-gcc-c++
Install Berkeley DB
wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
tar -xzvf db-4.8.30.NC.tar.gz
cd ./db-4.8.30.NC
cd build_unix
../dist/configure --prefix=/usr --enable-compat185 --enable-dbm --disable-static --enable-cxx
make
make install
Install ZeroMQ (from sources)
wget https://archive.org/download/zeromq_4.1.4/zeromq-4.1.4.tar.gz
tar xzvf zeromq-4.0.3.tar.gz
cd zeromq-4.0.3
./configure
make
make install
yum install boost boost-doc
wget http://repo.enetres.net/enetres.repo -O /etc/yum.repos.d/enetres.repo
yum install boost-devel
yum install openssl openssl-devel
wget ftp://mirror.switch.ch/pool/4/mirror/centos/6.9/os/x86_64/Packages/libevent2-devel-2.0.21-2.el6.x86_64.rpm
yum install libevent2-devel
useradd dash
passwd dash
Login as dash:
mkdir dashcore
cd dashcore
git clone https://github.com/dashpay/dash -b v0.12.2.x
cd dash
add m4_pattern_allow(PKG_CONFIG_LIBDIR) to configure.ac
./autogen.sh
source scl_source enable devtoolset-2
export PKG_CONFIG_PATH=/usr/lib/pkgconfig/ (for ZeroMQ lib)
./configure
you need to make sure you have more than 5Go free RAM
make