if [ ! -f /usr/lib64/libmysqlclient.so ] ; then
ln -s /usr/lib64/mysql/libmysqlclient.so /usr/lib64/libmysqlclient.so
fi
install curl
install http-parser
install jansson
install mpdecimal
installlibev
install librdkafka
make viabtc_exchange_server
cd viabtc_exchange_server/depends/hiredis/
make
cd viabtc_exchange_server/network/
make
cd viabtc_exchange_server/utils/
make
cd viabtc_exchange_server/accesshttp/
make
cd viabtc_exchange_server/accessws/
make
cd viabtc_exchange_server/alertcenter/
make
cd viabtc_exchange_server/marketprice/
make
cd viabtc_exchange_server/matchengine/
make
cd viabtc_exchange_server/readhistory/
make
Install Must Service
install mysql
install redis + redis-sentinel (Cannot set auth pass)
for Centos 7.5
install rpm
rpm -ivh --force --nodeps --replacepkgs mysql57-community-release-el7-11.noarch.rpm rpm -ivh --force --nodeps --replacepkgs rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
install libdevel
yum -y install rpmforge-release libgcc glibc-common glibc-static glibc libstdc++ mpfr xmlrpc-c xmlrpc-c-client cpp libstdc++-devel openssl openssh bind-libs libgomp kernel-headers glibc-headers glibc-devel gcc gcc-c++ bind-utils openssh-clients openssh-server make cmake libpcap curl cyrus-sasl cyrus-sasl-devel zlib-static cyrus-sasl-lib openssl-devel openssl-static lz4-static lz4-devel mysql-community-client mysql-community-devel mysql-community-libs psmisc tree
check libmysqlclient.so
if [ ! -f /usr/lib64/libmysqlclient.so ] ; then ln -s /usr/lib64/mysql/libmysqlclient.so /usr/lib64/libmysqlclient.so fi
install curl
install http-parser
install jansson
install mpdecimal
installlibev
install librdkafka
make viabtc_exchange_server
cd viabtc_exchange_server/depends/hiredis/ make cd viabtc_exchange_server/network/ make cd viabtc_exchange_server/utils/ make cd viabtc_exchange_server/accesshttp/ make cd viabtc_exchange_server/accessws/ make cd viabtc_exchange_server/alertcenter/ make cd viabtc_exchange_server/marketprice/ make cd viabtc_exchange_server/matchengine/ make cd viabtc_exchange_server/readhistory/ make
Install Must Service
install mysql
install redis + redis-sentinel (Cannot set auth pass)
install java
install zookeeper
install kafka
install nginx (proxy WebSocket)