测试机器:腾讯云 2H4G5M
系统: CentOS 7.2 64位
1,上传35boke.zip到根目录(/)
2,安装宝塔
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
3,安装 Nginx1.16、MySQL5.7、PHP5.6 PHPmyadmin
4,关闭防火墙
systemctl stop firewalld.service systemctl disable firewalld.service
6,解压
cd / unzip 35boke.zip
7,给权限
chmod -R 777 /bojue chmod -R 777 /www/wwwroot/35boke
8,安装环境
yum install glibc* -y
输入命令
ldconfig
9,修改数据库root密码为123456
,放行端口1:65530
10,创建网站
指向目录 /www/wwwroot/35boke
域名:IP:81
11,在宝塔-软件商店-MySQL 5.6-设置-配置修改中第26行添加lower_case_table_names=1,然后服务–重启MYSQL
12,创建并导入数据库(这个要等宝塔安装完mysql才可以操作慢慢等)
mysql -uroot -p123456
create database s5001_Bill; create database s5001_Game; create database s5001_Log; create database s5001_Login; create database s80001_Game; create database s80001_Log; create database s80001_Login; create database u3dgame;
use s5001_Bill; set names utf8; source /bojue/sql/s5001_Bill.sql;
use s5001_Game; set names utf8; source /bojue/sql/s5001_Game.sql;
use s5001_Log; set names utf8; source /bojue/sql/s5001_Log.sql;
use s5001_Login; set names utf8; source /bojue/sql/s5001_Login.sql;
use s80001_Game; set names utf8; source /bojue/sql/s80001_Game.sql;
use s80001_Log; set names utf8; source /bojue/sql/s80001_Log.sql;
use s80001_Login; set names utf8; source /bojue/sql/s80001_Login.sql;
use u3dgame; set names utf8; source /bojue/sql/u3dgame.sql;
flush privileges;
exit
回车退出
13,修改IP(替换154.8.161.226为你的)
/bojue/YGame/center/bin/hLoginMS (PS:用UE改 13位IP 或 域名)
/bojue/YGame/center/bin/serverlist.xml
/bojue/YGame/center/bin/config.xml
/bojue/YGame/cross/bin/serverlist.xml
/bojue/YGame/game/bin/serverlist.xml
/bojue/YGame/game/bin/config.xml
/www/wwwroot/35boke/8888/Server/configurl
/www/wwwroot/35boke/8888/Server/Server/info
/www/wwwroot/35boke/8888/Server/Server/list
/www/wwwroot/35boke/8888/Server/Server/selectzone
/www/wwwroot/35boke/5252/Server/configurl
/www/wwwroot/35boke/5252/Server/Server/info
/www/wwwroot/35boke/5252/Server/Server/list
/www/wwwroot/35boke/5252/Server/Server/selectzone
14,启动:
cd /bojue/YGame/center ./q
cd /bojue/YGame/cross ./q
cd /bojue/YGame/game/bin ./q1
停止:
cd /bojue/YGame/center ./t
cd /bojue/YGame/cross ./t
cd /bojue/YGame/game/bin ./t1
查看端口命令
netstat -ltnp
下面是我启动好的做个参考吧
15,客户端修改:154.8.161.226(13位IP)
安卓客户端:
/smali/com/mike/fusionsdk/util/MkUtil.smali
/smali/com/mk/sdk/common/MKMacro.smali
/smali/com/mk/sdk/manager/api/MKPayManager.smali
/smali/com/mk/sdk/manager/api/MKUsersManager.smali
/assets/bin/Data/b1f39d1393ec4324e831bd471f4adbed (PS:用UE改 13位IP 或 域名)
这里我用13位的域名代替 123.00765.net
苹果客户端:hj.bojue.com(13位域名)
/Payload/hjjx.app/Frameworks/PullSDK.framework/PullSDK
/Payload/hjjx.app/Data/resources.assets
这个逼装的我给82分,剩下的用666的方式打给你!
我叫MT1双端觉醒商业版!支付系统+代理系统+在线商城