【MH回合之经脉斗破修复端】经典怀旧卡通Q萌动作回合手游-2023年6月21日最新打包Linux服务端源码视频架设教程-多功能GM授权后台!
【MH回合之经脉斗破修复端】经典怀旧卡通Q萌动作回合手游-2023年6月21日最新打包Linux服务端源码视频架设教程-多功能GM授权后台!



























测试系统:Centos7.6系统
安装宝塔
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
安装环境
Nginx1.18
php5.4 (删除禁用函数exec)
mysql5.6关闭防火墙
systemctl stop firewalld.service
systemctl disable firewalld.service开放端口1:65535
上传mhxy.zip到服务器根目录
解压
cd /
unzip mhxy.zip给权限
chmod -R 7777 /bin/qd
chmod -R 7777 /home
chmod -R 7777 /www/wwwroot数据库root密码设置为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;
安装
cd /
rpm -ivh jdk-8u144-linux-x64.rpm修改服务端IP
home\home1\sdk_server\sdk.config.xml 修改成自己的IP
www\wwwroot\3w\mhxyserver\liebiao1.html 修改成自己的IP
www\wwwroot\mhxy1\user reg.php 修改成自己的IP创建网站
IP:88
路径 /www/wwwroot/88域名:81
路径 /www/wwwroot/81两个网站都关闭防跨站攻击
启动命令
qd安卓修改
AndroidManifest.xml
lib\armeabi-v7a\libgame.so(位数要求,IP位数不对自己增减文件名字)例如:
123.207.42.5:88/mhxyserver/liebiao1.html后面文件名字改了
www\wwwroot\3w\mhxyserver\这里面的文件名字也要对应游戏注册地址
域名:81/user/reg.php客户端里游戏藏宝阁跳转后台链接修改地址:
/home/home1/game_server/properties/sys.properties 第42行GM后台
域名http://123.207.42.5:81/jl/gm.php
GM密码:syymw.com域名http://123.207.42.5:81/jl/ht/gm.php
GM密码:syymw.com管理后台
域名:81/admin/login.php
账号密码:admin------------------------------------------------------------------------------------
本期教程到此结束。