【神武雷霆传奇之高爆修复版】热血传奇复古版雷霆三网H5手游-2023年1月14日最新整理Linux手工服务端源码视频教程-完善GM授权后台工具!
【神武雷霆传奇之高爆修复版】热血传奇复古版雷霆三网H5手游-2023年1月14日最新整理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
mysql5.6
php5.61、开放端口
宝塔放行端口:1:65535
关闭防火墙
systemctl stop firewalld
systemctl disable firewalldPS:如果使用腾讯云或阿里云记得把控制台的端口也打开
2、上传lt.zip到服务器根目录(根目录不是root目录!!使用WinSCP或其他工具上传数据,也可以直接宝塔传!!)
解压lt.zip
cd /
unzip lt.zip出现提示输入大写A回车
给予 777权限
chmod -R 777 /data/
chmod -R 777 /www/wwwroot/game4、设置数据库密码为:123456(在宝塔直接设置)
修改\data\sql\globaldata.sql文件里面的ip 改成你服务器ip 还有区名
输入命令导入数据库
cd /data
./sk数据库创建结束。可以通过宝塔查看是否创建成功。(数据库 - 点击 从服务器获取 获取到X个就正确的)
运行后为了安全可以把 sk 文件删除
6、搭建网站
新建一个网站-你的ip:端口 或域名:端口
有端口就添加端口这里的端口88
网站目录设置\www\wwwroot\game
7、服务端和网站修改 192.168.200.129 修改为你的IP
网站修改:
\www\wwwroot\game\config.php
\www\wwwroot\game\web\server_list\config.php到此算服务端就可以了
7、启动游戏服务
启动方式1:
cd /data/
./qd根据提示操作
启动方式2:
启动
cd /data/server/s1 && ./run.sh
cd /data/server/s2 && ./run.sh
cd /data/server/s3 && ./run.sh
启动跨服
cd /data/server/s998 && ./run.sh关闭游戏
cd /data/server/s1 && ./stop.sh
cd /data/server/s2 && ./stop.sh
cd /data/server/s3 && ./stop.sh
跨服
cd /data/server/s998 && ./stop.sh查看端口:
netstat -lntp
有9001就可以了可以正常登陆。
好了。本期教程到此结束。
祝君好运。。。。
其他自行研究吧。。。
PS:
简单介绍下GM后台使用
游戏地址:http://ip:88
授权后台:http://ip:88/gm/
账号:admin
密码:syymw.com\www\wwwroot\game\web\gemesnotice.php登录公告修改地址
\www\wwwroot\game\web\server_list\config.php区名友情提示:如果是阿里云或者腾讯云架设 请注意端口是否开放。
1. 本站所有资源来源于用户上传和网络,如有侵权请联系站长!
2. 分享目的仅供大家学习和交流,您必须在下载后24小时内删除!
3. 不得使用于非法商业用途,不得违反国家法律。否则后果自负!
4. 本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解!
5. 如有链接无法下载、失效或广告,请联系管理员处理!
6. 本站资源售价只是赞助,收取费用仅维持本站的日常运营所需!
7. 如遇到加密压缩包,请使用WINRAR解压,如遇到无法解压的请联系管理员!
8. 精力有限,不少源码未能详细测试(解密),不能分辨部分源码是病毒还是误报,所以没有进行任何修改,大家使用前请进行甄别!
教热门 » 【神武雷霆传奇之高爆修复版】热血传奇复古版雷霆三网H5手游-2023年1月14日最新整理Linux手工服务端源码视频教程-完善GM授权后台工具!