站点图标 度崩网-几度崩溃

天生不凡手游+修复首充VIP+新增坐骑修复其他BUG+本地资源2linux手机端_附教程[游戏源码]

天生不凡手游+修复首充VIP+新增坐骑修复其他BUG+本地资源2linux手机端_附教程[游戏源码]

测试机器:腾讯云 4H8G5M
系统:CentOS 7.2 64位
上传0.zip到根目录(/)
安装宝塔
yum install -y wget && wget -O install.sh http://123.129.198.197/install/install_6.0.sh && sh install.sh
安装 Nginx1.16、MySQL5.6、PHP5.6 PHPmyadmin
关闭防火墙systemctl stop firewalld.service
systemctl disable firewalld.service
宝塔–软件商店–MYSQL5.6数据库设置–配置修改第26行加入
lower_case_table_names =1
保存  服务–重启
宝塔面板数据库root密码改成dameng666
解压
cd /
unzip dameng.zip
给权限
chmod -R 777 /dameng
创建并导入数据库(数据库密码改完之后操作)
mysql -uroot -pdameng666
create database s0001_bill;create database s0001_extgame;
create database s0001_game;
create database s0001_login;
create database s0001_user;
use s0001_bill;
set names utf8;
source /dameng/sql/s0001_bill.sql;
use s0001_extgame;
set names utf8;
source /dameng/sql/s0001_extgame.sql;
use s0001_game;
set names utf8;
source /dameng/sql/s0001_game.sql;
use s0001_login;set names utf8;
source /dameng/sql/s0001_login.sql;
use s0001_user;
set names utf8;
source /dameng/sql/s0001_user.sql;
flush privileges;
exit   回车
创建网站
指向目录/www/wwwroot/dameng
域名:IP:81
设置网站伪静态
location /{
try_files $uri $uri.php$is_args$args;}
服务端修改  替换118.25.79.121
/dameng/LS/bin/config.xml
/dameng/server/bin/config.xml
/dameng/server/bin/serverlist.xml
/www/wwwroot/dameng/9999/configul
/www/wwwroot/dameng/9999/Server/info
/www/wwwroot/dameng/9999/Server/list
/www/wwwroot/dameng/9999/Server/selectzone
/www/wwwroot/dameng/ios1/configul
/www/wwwroot/dameng/ios1/Server/info/www/wwwroot/dameng/ios1/Server/list
/www/wwwroot/dameng/ios1/Server/selectzone
启动游戏
cd /dameng/LS
./q
cd /dameng/server
./q
退出游戏
cd /dameng/LS
./t
cd /dameng/server
./t
查看端口命令
netstat -ltnp
后台地址:IP:81/gm/gm.php玩家后台:IP:81/gm/player.php
GM码:dameng
客户端修改
assetsbinDatab1f39d1393ec4324e831bd471f4adbed   替换118.25.079.121  (注意需要14位IP,如果出现客户端进不去的情况,那就不要补0,直接后面补/)
assetschannel_config.json           替换118.25.79.121