【雷霆传奇之新UI雷霆龙尊神武魂环附带安卓版本】站长推荐三网H5全网通雷霆传奇手游-2023年11月18日最新打包Linux服务端源码视频架设教程-多功能GM网页授权后台!
【雷霆传奇之新UI雷霆龙尊神武魂环附带安卓版本】站长推荐三网H5全网通雷霆传奇手游-2023年11月18日最新打包Linux服务端源码视频架设教程-多功能GM网页授权后台!


















































这里我们以:CENTOS 7.6 64为例
教程演示虚拟机地址:123.207.42.5 外网和局域网类似
安装宝塔直接运行命令即可。
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
输入y回车确认安装
输入n取消安装SSL搭建环境:
Nginx 1.22
mysql5.6
php5.61、关闭防火墙、开放端口
systemctl stop firewalld
systemctl disable firewalld
防火墙不关闭也行
宝塔放行端口:1:65535
或单独打开
PS:如果使用腾讯云或阿里云记得把控制台的端口也打开
2、上传lt.zip到服务器根目录(根目录不是root目录!!使用WinSCP或其他工具上传数据,也可以直接宝塔传!!)
解压lt.zip
cd /
unzip lt.zip给予 777权限
chmod -R 777 /data/3.环境配置
无
4、设置数据库密码为:cXG63m2WNSCMjcwy(在宝塔直接设置)
修改 /data/sql/globaldata.sql文件里面的ip 改成你服务器ip 还有区名
导入数据库
命令行输入
cd /data
./sk数据库创建结束。可以通过宝塔查看是否创建成功。(数据库 - 点击 从服务器获取 获取到X个就正确的)
运行后为了安全可以把 sk 文件删除
6、搭建网站
新建一个网站-你的ip:端口 或域名:端口
有端口就添加端口这里的端口88
网站目录设置/data/h5game
---------------------------------------------------------------------
7、服务端和网站修改 123.207.42.5 修改为你的IP网站修改:
/data/h5game/config.php/data/h5game/web/server_list/config.php
到此算服务端就可以了
7、启动游戏服务
启动1区:
cd /data/server/s1&& ./run.sh
启动2区:
cd /data/server/s2&& ./run.sh
启动跨服:
cd /data/server/s999&& ./run.sh
关闭1区:
cd /data/server/s1&& ./stop.sh
关闭2区:
cd /data/server/s2&& ./stop.sh
关闭跨服:
cd /data/server/s999&& ./stop.sh
查看端口:
netstat -lntp
有9001就可以了游戏地址:
http://ip:88
可以正常登陆。
好了。本期教程到此结束。
祝君好运。。。。
其他自行研究吧。。。
PS:
简单介绍下GM后台使用
gm后台:
http://ip:88/gm/
账号admin
密码:syymw.com
========================================================
PS:游戏天数修改
/server/s1/Debug/gameworld/runtime/opentime.txt
其他区一个道理,开放新区和跨服和其他雷霆版本一样
1. 本站所有资源来源于用户上传和网络,如有侵权请联系站长!
2. 分享目的仅供大家学习和交流,您必须在下载后24小时内删除!
3. 不得使用于非法商业用途,不得违反国家法律。否则后果自负!
4. 本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解!
5. 如有链接无法下载、失效或广告,请联系管理员处理!
6. 本站资源售价只是赞助,收取费用仅维持本站的日常运营所需!
7. 如遇到加密压缩包,请使用WINRAR解压,如遇到无法解压的请联系管理员!
8. 精力有限,不少源码未能详细测试(解密),不能分辨部分源码是病毒还是误报,所以没有进行任何修改,大家使用前请进行甄别!
教热门 » 【雷霆传奇之新UI雷霆龙尊神武魂环附带安卓版本】站长推荐三网H5全网通雷霆传奇手游-2023年11月18日最新打包Linux服务端源码视频架设教程-多功能GM网页授权后台!