(交易所源码搭建)公司技术QQ:34401713,最新版源码
很多朋友在寻找的一款可以控制开盘数据的交易所,现在它来了。
六国语言,可控秒合约,K线正常,安装即可运营。
搭建文本:
centos7.6
安装宝塔
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
Nginx 1.2
mysql8.0
PHP7.2 Redis扩展
supervisor
PHP禁用函数全部删除
网站运行目录/public
安装:supervisor
yum -y install supervisor
配置supervisor:
/etc/supervisord.conf
将files = relative/directory/*.ini改为files = /www/wwwroot/ebite/supervisor/*.conf
命令
supervisord -c /etc/supervisord.conf
supervisorctl restart all
伪静态:laravel5
nginx websocket端口转发配置:
location /ws {
proxy_pass http://127.0.0.1:7272;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection “Upgrade”;
proxy_set_header X-Real-IP $remote_addr;
rewrite /ws/(.*) /$1 break;
proxy_redirect off;
}
172.17.0.1
常用命令
supervisorctl status
supervisorctl stop ispec
supervisorctl start ispec
supervisorctl restart ispec
supervisorctl reread
supervisorctl update
supervisorctl reload
/usr/bin/python /usr/bin/supervisord -c /etc/supervisord.conf
前端为uniapp,后端为php,附带教程,详情如下:
评论(0)