本产品信息:Java开发的币币交易平台源码/虚拟货币源码/数字货币源码/交易所源码/区块链源码/otc场外交易/带app
java币币交易平台源码配置说明:
0、jdk1.8 glassfish
1、mongodb 4.x 要求127.0.0.1 能用admin:admin登录
db.createUser({user: "root",pwd: "root",roles: [ { role: "userAdminAnyDatabase", db: "admin" } ]})
db.createUser({user: "admin",pwd: "admin",roles: [ { role: "dbOwner", db: "bccoin" } ]})
mongo --port 27017 -u "admin" -p "admin" --authenticationDatabase "admin"
mongod --dbpath C:\MongoDB\data\db --port 27017 --bind_ip=127.0.0.1
2、mysql 5.6 要求能用admin:admin进行登录
3、redis集群6个,端口开始6379 登录密码root 版本4.x
https://blog.csdn.net/zsg88/article/details/73715947?tdsourcetag=s_pcqq_aiomsg
redis-trib.rb create --replicas 1 127.0.0.1:6379 127.0.0.1:6380 127.0.0.1:6381 127.0.0.1:6382 127.0.0.1:6383 127.0.0.1:6384
./redis-cli -c -p 6379
config set masterauth root
config set requirepass root
auth root
config rewrite
4、kafka 端口9092,版本2.1x,集成zookeeper 3.4x
https://blog.csdn.net/u010054969/article/details/70241478
解决错误:https://blog.csdn.net/u012931508/article/details/55211390
5、nginx 开发80端口,做如下反向代理配置。原来的server删掉,以下全加进去。
server {
listen 8181 default_server;
listen [::]:80 default_server;
root /home/web/admin;
server_name _;
location / {
try_files $uri $uri/ =404;
}
}
server {
listen 80;
listen [::]:80;
server_name a;
root /home/web/front;
index index.html;
location / {
try_files $uri $uri/ =404;
}
}
server
{
listen 9595;
server_name server.pro;
location /uc
{
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:6001;
}
location /market
{
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:6004;
}
location /exchange
{
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:6003;
}
location /otc
{
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:6006;
}
}
商品介绍
原生开发移动端Android和ios
冷热钱包分离,钱包接口支持BTC、ETH、USDT、EOS、ERC20等币种,后台直接添加代币
模块化开发 支持后期灵活扩展
运营级源码,JAVA开发,Redis集群,独立运行的撮合引擎,每秒百万级交易高并发处理能力
支持币币交易、otc交易。支持中文英文
数据库:Mysql、Mongodb
其他:nginx、redis、kafka、OSS
前端:Vue、iView、less
网站入口:Web、IOS和Android
后端:Spring、SpringMVC、SpringData、SpringCloud、SpringBoot
0 (0%) 好评 | 0 (0%) 中评 | 0 (0%) 差评 |