【MH回合之九霄西游新版本-全套源码-赞助攻略掉落说明】站长推荐经典3D剧情任务回合手游-2024年2月19日最新打包Linux服务端源码视频架设教程-多功能GM网页后台工具-多功能GM网页后台-安卓苹果ios双端版本!
【MH回合之九霄西游新版本-全套源码-赞助攻略掉落说明】站长推荐经典3D剧情任务回合手游-2024年2月19日最新打包Linux服务端源码视频架设教程-多功能GM网页后台工具-多功能GM网页后台-安卓苹果ios双端版本!
































测试系统:Centos7.6系统
1、安装宝塔
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
输入y回车确认安装
=========================================================================
2、安装环境
Nginx1.18
mysql5.6
php5.4 宝塔---软件管理----php5.4---设置---禁用函数----删除exec 设置---php服务----重载配置--重启=========================================================================
3、开放端口
添加规则:1-65535
关闭防护墙
systemctl stop firewalld.service
systemctl disable firewalld.service=========================================================================
4、上传mhxy.zip服务端到服务器的根目录
解压服务端
cd /
unzip mhxy.zip=========================================================================
5、建立网站比如IP:88
IP带上88端口 php版本5.4 网站:路径 /www/wwwroot/88
127.0.0.1或者IP 带上81端口 php版本5.4 路径 /www/wwwroot/81
=========================================================================
6、输入宝塔数据库
设置数据库密码为:123456
创建数据库并导入/直接全部复制粘贴就行
cd /
mysql -uroot -p123456grant all privileges on *.* to 'root'@'127.0.0.1' identified by '123456';
grant all privileges on *.* to 'root'@'localhost' identified by '123456';
create database mt91 DEFAULT CHARACTER SET utf8;
flush privileges; #
use mt91
source /mt91.sql
create database Zx_Agent DEFAULT CHARACTER SET utf8;
flush privileges; #
use Zx_Agent
source /Zx_Agent.sql
exit;
=========================================================================
7、安装java, Xshell里执行以下命令,命令需要一条一条的输入,跑完一个再输一个
cd /home
rpm -ivh jdk-8u144-linux-x64.rpmtar zxvf log4cpp-1.1.3.tar.gz
cd log4cpp
./configuremake
make install
yum install -y gcc-c++ log4cpp
ln -s /usr/lib64/liblog4cpp.so.4 /usr/lib64/liblog4cpp.so.5 这条命令如果报错可不管它
=========================================================================
8、给权限
chmod -R 7777 /bin/qd
chmod -R 7777 /home
chmod -R 7777 /www/wwwroot=========================================================================
9、修改服务端ip
\home\mofang3\sdk_server\sdk.config.xml 修改成自己的IP
\www\wwwroot\88\mhxyserver\index111.html 修改成自己的IP 与客户端匹配
\www\wwwroot\81\user\reg.php 修改成自己的IP
=========================================================================
10、启动命令
qd
1
=========================================================================
安卓修改【APKDB反编译】或者其他编译工具
AndroidManifest.xml
\lib\armeabi-v7a\libgame.so 搜:88
123.207.42.5:88/mhxyserver/index111.html
苹果修改
\Payload\mt3.app\mt3 搜:88
=========================================================================
注册地址:http://IP:81/user/reg.php
GM后台:http://IP:81/gm/gm/gm.php
GM码:syymw.com管理后台:http://IP:81/admin
账号:admin
密码:admin