【新西游大圣轮回之忆梦王者版】经典Q萌卡通回合三网H5手游-2022年10月28日最新打包整理Linux服务端源码视频架设教程-完美GM授权后台工具!
【新西游大圣轮回之忆梦王者版】经典Q萌卡通回合三网H5手游-2022年10月28日最新打包整理Linux服务端源码视频架设教程-完美GM授权后台工具!
https://www.bilibili.com/video/BV1rV4y1g7Wa/






























安装宝塔直接运行命令即可。
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
搭建环境:
CENTOS 7以上系统
Nginx1.14
mysql5.6
php5.61、关闭防火墙、开放端口
宝塔放行端口:1:65535
systemctl stop firewalld
systemctl disable firewalldPS:如果使用腾讯云或阿里云记得把控制台的端口也打开
2、上传xy.tar.gz到服务器根目录(根目录不是root目录!!使用WinSCP或其他工具上传数据,也可以直接宝塔传!!)
解压xy.tar.gz
cd /
tar zxvf xy.tar.gz给予 777权限
chmod 777 -R /root
chmod 777 -R /www/wwwroot/game/gm3.环境配置
更新动态库(一般不用操作,如果服务运行不起来在执行)
ldconfig
yum install gcc* -y
yum install libtocmalloc* -y4、设置数据库密码为:syymw.com(在宝塔直接设置)
命令行输入导入数据库
cd /root
./sk数据库创建结束。可以通过宝塔查看是否创建成功。(数据库 - 点击 从服务器获取 获取到1个就正确的)
运行后为了安全可以把 sk 文件删除
6、搭建网站
新建一个网站-你的ip:端口 或域名:端口
有端口就添加端口这里的端口81
网站目录设置\www\wwwroot\game
---------------------------------------------------------------------
7、服务端和网站修改 192.168.200.129 修改为你的IP服务端修改:
网站修改:
game/index1.php
到此算服务端就可以了,下面看看客户端
7、启动游戏服务
启动
cd /root/H5/server/sh1
./gamectl.sh startall关闭游戏
cd /root/H5/server/sh1
./gamectl.sh stop启动后可以通过
端口查看命令 netstat -lntp通过查看端口 看到5201 基本就没大问题了
可以正常登陆。
好了。本期教程到此结束。
祝君好运。。。。
其他自行研究吧。。。
PS:
简单介绍下GM后台使用
http://ip:81/gm
账号:admin
密码:syymw.com可以正常登陆,教程到此结束。
祝君好运
1. 本站所有资源来源于用户上传和网络,如有侵权请联系站长!
2. 分享目的仅供大家学习和交流,您必须在下载后24小时内删除!
3. 不得使用于非法商业用途,不得违反国家法律。否则后果自负!
4. 本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解!
5. 如有链接无法下载、失效或广告,请联系管理员处理!
6. 本站资源售价只是赞助,收取费用仅维持本站的日常运营所需!
7. 如遇到加密压缩包,请使用WINRAR解压,如遇到无法解压的请联系管理员!
8. 精力有限,不少源码未能详细测试(解密),不能分辨部分源码是病毒还是误报,所以没有进行任何修改,大家使用前请进行甄别!
教热门 » 【新西游大圣轮回之忆梦王者版】经典Q萌卡通回合三网H5手游-2022年10月28日最新打包整理Linux服务端源码视频架设教程-完美GM授权后台工具!