系统: CentOS 7.2 64位
本端需13位ip
注意:修改BL20166.zip压缩包里/bl20166/YGame/center/bin/hLoginMS 的111.67.207.60为你的ip 放回压缩包再上传
上传BL20166.zip到根目录
安装宝塔
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
安装 Nginx1.16、MySQL5.7、PHP5.6 PHPmyadmin
关闭防火墙
systemctl stop firewalld.service
systemctl disable firewalld.service
解压
BL20166.zip
给权限
chmod -R 777 /bl20166
chmod -R 777 /www/wwwroot/20166
安装环境
yum install glibc* -y
输入命令
ldconfig
修改数据库root密码为123456
创建网站
指向目录 /www/wwwroot/20166
域名:IP:81
在宝塔-软件商店-MySQL 5.6-设置-配置修改中
第26行添加lower_case_table_names=1,然后服务–重启MYSQL
创建并导入数据库(这个要等宝塔安装完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 /bl20166/sql/s5001_Bill.sql;
use s5001_Game;
set names utf8;
source /bl20166/sql/s5001_Game.sql;
use s5001_Log;
set names utf8;
source /bl20166/sql/s5001_Log.sql;
use s5001_Login;
set names utf8;
source /bl20166/sql/s5001_Login.sql;
use s80001_Game;
set names utf8;
source /bl20166/sql/s80001_Game.sql;
use s80001_Log;
set names utf8;
source /bl20166/sql/s80001_Log.sql;
use s80001_Login;
set names utf8;
source /bl20166/sql/s80001_Login.sql;
use u3dgame;
set names utf8;
source /bl20166/sql/u3dgame.sql;
flush privileges;
exit 回车退出
修改IP(替换154.8.161.226为你的)
/bl20166/YGame/center/bin/serverlist.xml
/bl20166/YGame/center/bin/config.xml
/bl20166/YGame/cross/bin/serverlist.xml
/bl20166/YGame/game/bin/serverlist.xml
/bl20166/YGame/game/bin/config.xml
/www/wwwroot/20166/8888/Server/configurl
/www/wwwroot/20166/8888/Server/Server/info
/www/wwwroot/20166/8888/Server/Server/list
/www/wwwroot/20166/8888/Server/Server/selectzone
/www/wwwroot/20166/5252/Server/configurl
/www/wwwroot/20166/5252/Server/Server/info
/www/wwwroot/20166/5252/Server/Server/list
/www/wwwroot/20166/5252/Server/Server/selectzone
启动:
cd /bl20166/YGame/center
./q
cd /bl20166/YGame/cross
./q
cd /bl20166/YGame/game/bin
./q1
停止:
cd /bl20166/YGame/center
./t
cd /bl20166/YGame/cross
./t
cd /bl20166/YGame/game/bin
./t1
查看端口命令
netstat -ltnp
客户端修改: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
苹果客户端:123.456.789.0(13位域名)
/Payload/hjjx.app/Frameworks/PullSDK.framework/PullSDK
/Payload/hjjx.app/Data/resources.assets
授权后台:IP:81/gm/gm.php
校验码:20166
玩家后台:IP:81/gm/