1、安装依赖
# yum -y install nodejs git wget vim goaccess gcc gcc-c++ autoconf automake make pcre pcre-devel zlib zlib-devel libxml2 libxml2-devel openssl openssl-devel gd libjpeg libjpeg-devel libpng libpng-devel libaio libtool boost boost-devel libevent-devel
2、安装db4
# mkdir /home/libdb4
# cd /home/libdb4/
# wget http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/l/libdb4-4.8.30-13.el7.x86_64.rpm
# wget http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/l/libdb4-devel-4.8.30-13.el7.x86_64.rpm
# wget http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/l/libdb4-cxx-4.8.30-13.el7.x86_64.rpm
# wget http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/l/libdb4-cxx-devel-4.8.30-13.el7.x86_64.rpm
# rpm -ivh libdb4-4.8.30-13.el7.x86_64.rpm
# rpm -ivh libdb4-devel-4.8.30-13.el7.x86_64.rpm
# rpm -ivh libdb4-cxx-4.8.30-13.el7.x86_64.rpm
# rpm -ivh libdb4-cxx-devel-4.8.30-13.el7.x86_64.rpm
3、源码编译安装
# cd /opt/
# git clone https://github.com/OmniLayer/omnicore.git
# cd /opt/omnicore/
# ./autogen.sh
# ./configure
# make && make install
4、启动节点
# cd /opt/omnicore/src/
# ./omnicored -daemon -txconfirmtarget=3 -conf=/opt/.omnicore/bitcoin.conf -datadir=/opt/.omnicore/