【大天使之剑】西方魔幻三网H5手游10月3日最新整理Linux手工服务端源码视频架设教程+完善GM后台工具!
【大天使之剑】西方魔幻三网H5手游10月3日最新整理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.5 mysql5.5 php5.6
------------------------------------------------------------------------------------------------------
关闭防火墙、开放端口
使用PPTY运行或其他命令行工具运行 以下命令
systemctl stop firewalld.service
systemctl disable firewalld.service宝塔放行端口:1:65535
------------------------------------------------------------------------------------------------------
安装bc
yum install bc
所有提示都按Y
------------------------------------------------------------------------------------------------------
上传fwd.zip到服务器根目录
解压
cd /
unzip fwd.zip------------------------------------------------------------------------------------------------------
新建网站端口81 目录选择\www\wwwroot\syymwcom
------------------------------------------------------------------------------------------------------
设置数据库密码:0987abc123
mysql -u root -p0987abc123
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '0987abc123' WITH GRANT OPTION;
FLUSH PRIVILEGES;
quit------------------------------------------------------------------------------------------------------
修改文件夹权限
chmod -R 777 /data
chmod -R 777 /www/wwwroot导入数据库
cd /data
./sk------------------------------------------------------------------------------------------------------
把下面所有文件里面的192.168.200.128修改成你自己的IP
\www\wwwroot\syymwcom\login.php
\www\wwwroot\syymwcom\app1.php
\www\wwwroot\syymwcom\config.php
\www\wwwroot\syymwcom\game.php
\www\wwwroot\syymwcom\login\cqlb\server.php
\www\wwwroot\syymwcom\resource\main.min.js
\www\wwwroot\syymwcom\login_bt.json修改数据库H5-sever 里面ip
------------------------------------------------------------------------------------------------------
启动游戏
cd /data/server
sh start_server.shIP:81
------------------------------------------------------------------------------------------------------
GM后台
地址IP:81/gm
可以正常登陆游戏,教程到此结束.
1. 本站所有资源来源于用户上传和网络,如有侵权请联系站长!
2. 分享目的仅供大家学习和交流,您必须在下载后24小时内删除!
3. 不得使用于非法商业用途,不得违反国家法律。否则后果自负!
4. 本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解!
5. 如有链接无法下载、失效或广告,请联系管理员处理!
6. 本站资源售价只是赞助,收取费用仅维持本站的日常运营所需!
7. 如遇到加密压缩包,请使用WINRAR解压,如遇到无法解压的请联系管理员!
8. 精力有限,不少源码未能详细测试(解密),不能分辨部分源码是病毒还是误报,所以没有进行任何修改,大家使用前请进行甄别!
教热门 » 【大天使之剑】西方魔幻三网H5手游10月3日最新整理Linux手工服务端源码视频架设教程+完善GM后台工具!