【雷霆传奇之猎鹰雷霆2W转H5跨服版】站长推荐三网H5全网通雷霆传奇手游-2024年6月1日最新打包Linux服务端源码视频架设教程-开放多区-开放跨服-多功能GM网页授权后台!
【雷霆传奇之猎鹰雷霆2W转H5跨服版】站长推荐三网H5全网通雷霆传奇手游-2024年6月1日最新打包Linux服务端源码视频架设教程-开放多区-开放跨服-多功能GM网页授权后台!





































这里我们以:CENTOS 7.6 64为例
安装宝塔:
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
输入y回车确认安装
安装环境:
Nginx 1.18
MySQL 5.6
PHP 5.6宝塔放行端口:1-65535
关闭防火墙:
systemctl stop firewalld
systemctl disable firewalld上传服务端“lt.zip”到服务器根目录“/”
解压
cd /
unzip lt.zip给予777权限:
chmod -R 777 /data/
chmod -R 777 /www/wwwroot/game设置数据库密码为:syymw.com(在宝塔直接设置)
修改数据库IP: // 改 “123.207.42.5”
/data/sql/globaldata.sql
导入数据库
cd /data
./sk宝塔添加站点:
IP:81端口
网站目录指向:\www\wwwroot\game
修改服务端IP:// 改 “123.207.42.5”
/www/wwwroot/game/config.php
/www/wwwroot/game/index.js
/www/wwwroot/game/login.min.js
/www/wwwroot/game/web/server_list/config.php
启动服务端
启动一区:
cd /data/server/s1 && ./run.sh
启动二区:
cd /data/server/s2 && ./run.sh
启动跨服:
cd /data/server/s999 && ./run.sh
启动后可以通过命令:netstat -lntp 查看启动端口
关闭一区:
cd /data/server/s1 && ./stop.sh
关闭二区:
cd /data/server/s2 && ./stop.sh
关闭跨服:
cd /data/server/s999 && ./stop.sh
游戏地址:
http://IP:81
GM分级授权后台:
http://IP:81/gm
登录账号:admin
登录密码:syymw.com