【梦幻诛仙之逍遥仙境仿官版14职业】站长推荐经典Q萌剧情回合手游-2024年6月3日最新打包Linux服务端源码视频架设教程-新版多功能GM网页后台工具-安卓苹果IOS双端版本!
【梦幻诛仙之逍遥仙境仿官版14职业】站长推荐经典Q萌剧情回合手游-2024年6月3日最新打包Linux服务端源码视频架设教程-新版多功能GM网页后台工具-安卓苹果IOS双端版本!

























测试系统 centos 7.6
安装宝塔直接运行命令即可。
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh ed8484bec
输入y回车确认安装
安装环境
nginx1.18
mysql5.6
php5.6宝塔放行端口:1-65535
关闭防火墙
systemctl stop firewalld.service
systemctl disable firewalld.service上传mhzx.zip到服务器根目录/(根目录不是root目录!!!!){使用WinSCP或其他工具上传数据}
上传好后,解压
cd /
unzip mhzx.zip给予 777权限
chmod -R 777 /home
chmod -R 777 /root
chmod -R 777 /www
chmod -R 777 /usr/bin/mz安装环境
cd /root
./jdk-6u21-linux-x64-rpm.bin修复运行库(出现8002错误)
cd /usr/lib64
ln -s libpcre.so.1.2.0 libpcre.so.0创建网站,端口88
网站目录指向:/www/wwwroot/game/宝塔设置数据库密码为:syymw.com
导入数据库
cd /home
./sk修改服务端IP
/home/mhzx/zdir/android/meta → servers.xml
/home/mhzx/zdir/android/meta → version.xml/home/mhzx/zdir/ios/meta → servers.xml
/home/mhzx/zdir/ios/meta → version.xml启动
mzqd
mz
qdht
手动 启动游戏
cd /home/mhzx/au
./start.shcd /home/mhzx/matcher
./start.shcd /home/mhzx/mhzx_4095/ghubd
./starthub.shcd /home/mhzx/mhzx_4095/
./run.shcd /home/mhzx/mhzx_4095/gs
./rungs.shcd /home/mhzx/zdir/android
./service.sh startcd /home/mhzx/zdir/ios
./service.sh start关闭游戏
killall gdeliverd
killall zdir_android
killall zdir_ios
killall ghubd
killall java
killall zlogd
killall logservice
killall glinkd
killall gs
启动后台
cd
nohup /root/jre1.8.0_181/bin/java -jar /root/gm.jar &关闭后台
cd
ps -ef | grep gm.jar | grep -v grep | awk '{print $2}' | xargs kill -9后台地址:IP:58861
查看后台地址:
/root/application-houtai.yml
后台提权去数据库houtai把user表里面的privilege设置到10就行了,然后重启后台。
客户端修改:
安卓客户端:
\assets\config\all_platform_config.xml
苹果客户端:
\Payload\mhzx.app\Data\Raw\config\all_platform_config.xml