【口袋战争手游】整理+linux学习手工端+安卓+管理后台+文字教程
系统:Centos7.X
系统 1h2g 测试成功能跑,建议使用 2h4g 服务器
先准备一台服务器并预装系统Centos7.X
安装宝塔,宝塔安装成功后,安装环境
安装环境:
Nginx 1.18
MySQL 5.7
php 5.6
宝塔设置:
放行端口1:65535
设置数据库密码:PQbwA5Wa
上传kdzz.zip到服务器根目录并解压:
cd /
unzip -o kdzz.zip
修改IP文件
/data/plat/eagle.conf
/data/plat/config.xml
/data/zone/eagle.conf
/data/zone/config.xml
/www/backup/database/wy_plat.sql
/www/backup/database/wy_zone_001.sql
/www/backup/database/wy_game_config.sql
/www/wwwroot/gudu/html/Common/Conf/config.php
/www/wwwroot/gudu/html/loginlist.xml
/www/wwwroot/gudu/html/gm/user/config.php
启动游戏:
cd /data/RedisDB
bash lanuchRedis.sh
cd /data/plat
./eagle start
cd /data/zone/
./eagle start
如果进入游戏出现分区维护就等一会,此时不要乱修改服务端文件(低配置服务器等15分钟左右)
666