viabtc / viabtc_exchange_server

A trading engine with high-speed performance and real-time notification
MIT License
2.68k stars 1.49k forks source link

请问项目编译顺序是什么? #120

Open wbm0701 opened 6 years ago

yin273642232 commented 6 years ago

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)

xtuyaowu commented 6 years ago

建了一个交易所撮合交流群: 862266237

lealife commented 5 years ago

Install it on Centos: https://github.com/lealife/viabtc_exchange_server/issues/1

gyk001 commented 4 years ago

可以参考,一键启动 https://github.com/gyk001/viabtc_exchange_server_docker