【九州仙侠传魂骨版】Q萌仙侠类角色扮演剧闯关三网H5手游-2023年4月14日最新打包Linux服务端源码视频架设教程-GM总运营后台-附带清理背包授权后台工具!
【九州仙侠传魂骨版】Q萌仙侠类角色扮演剧闯关三网H5手游-2023年4月14日最新打包Linux服务端源码视频架设教程-GM总运营后台-附带清理背包授权后台工具!












































测试系统 CentOS 7.6
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
输入y回车确认安装
输入n取消安装SSL搭建环境:
CENTOS 7以上系统
nginx1.18
php5.6 这里是编译安装 (PHP安装 redis swoole 拓展)
mysql5.6
redis这里不单独演示,参考之前的 “宝塔安装通用视频”.
1、关闭防火墙、开放端口
systemctl stop firewalld
systemctl disable firewalld
防火墙不关闭也行
宝塔放行端口:1:65535
或单独打开
PS:如果使用腾讯云或阿里云记得把控制台的端口也打开
2、上传jz.tar.gz 到服务器根目录(根目录不是root目录!!使用WinSCP或其他工具上传数据,也可以直接宝塔传!!)
解压jz.tar.gz
cd /
tar zxvf jz.tar.gz给予 777权限
chmod -R 777 /home/3.环境配置
安装所需环境 命令运行
yum install bzip2 bzip2-devel readline-devel libxml2-devel libxml2 openssl openssl-devel gcc make curl-devel -y编译 libmcrypt 命令运行
cd /root
tar zxvf libmcrypt-2.5.7.tar.gzcd libmcrypt-2.5.7
./configure --prefix=/usr/localmake && make install
找到目录 /etc/ld.so.conf配置文件 添加 /usr/local/lib 存在的话就不管
ldconfig 命令运行
修改PHP/php.ini 文件
/www/server/php/56/etc/php.ini
在最后加入
[msgpack]
extension = /www/server/php/56/lib/php/extensions/no-debug-non-zts-20131226/msgpack.so
宝塔软件商店
重载PHP配置
重启php解压:命令运行
cd /root
tar -xvf node-v10.16.3-linux-x64.tar.xz -C /usr/local/添加目录 命令运行
ln -s /usr/local/node-v10.16.3-linux-x64/bin/node /usr/bin/node
ln -s /usr/local/node-v10.16.3-linux-x64/bin/npm /usr/bin/npm4、设置数据库密码为:root(在宝塔直接设置)
修改数据库/home/sql/backstage.sql 将里面的IP 192.168.200.129 替换为你自己服务器的IP
命令行输入
cd /home
./sk数据库创建结束。可以通过宝塔查看是否创建成功。(数据库 - 点击 从服务器获取 获取到1个就正确的)
运行后为了安全可以把 sk 文件删除
6、搭建网站
创建网站、网站关闭防跨站
IP:88端口配置到 home/www/web 前端代码位置 修改你ip
127.0.0.1:82端口配置到home/admin_www/api/sdk 前端与服务端链接 复制创建
gm.syymw.com:81端口配置到home/admin_www/center 游戏后台 复制创建
重启php
---------------------------------------------------------------------
7、服务端和网站修改 192.168.200.129 修改为你的IP修改IP:
\home\admin_www\center\includes\Config.php
\home\admin_www\center\includes\db.php
\home\www\web\game.html
\home\www\web\init_utils.js
\home\www\web\loading.php
\home\www\web\loading.html到此算服务端就可以了
7、启动游戏服务
启动游戏
cd /home/server/publish/tool
node start 启动游戏服
node start_cross 启动子跨服
node start_cross_t 启动跨服大区启动后可以通过
端口查看命令 netstat -lntp游戏地址:http://IP:88
可以正常登陆。
好了。本期教程到此结束。
祝君好运。。。。
其他自行研究吧。。。
PS:
简单介绍下GM后台使用
直接输入
总后台地址:http://IP:81
账号:syymw
密码:syymwcom888GM后台:http://IP:81/gm/gm.php
GM码:syymw.com玩家后台:http://IP:81/gm/
========================================================
------------------------------------------------------------------------------------
本期教程到此结束。
20734.html
1、本站资源都是白菜价出售,同样的东西,我们不卖几百,也不卖几十,甚至才卖几块钱,一个永久会员能下载全站100%源码了,所以单独购买也好,会员也好均不提供相关技术服务。
2、如果源码下载地址失效请/联系站长QQ进行补发。
3、本站所有资源仅用于学习及研究使用,请必须在24小时内删除所下载资源,切勿用于商业用途,否则由此引发的法律纠纷及连带责任本站和发布者概不承担。资源除标明原创外均来自网络整理,版权归原作者或本站特约原创作者所有,如侵犯到您权益请联系本站删除!
4、本站站内提供的所有可下载资源(软件等等)本站保证未做任何负面改动(不包含修复bug和完善功能等正面优化或二次开发);但本网站不能保证资源的准确性、安全性和完整性,用户下载后自行斟酌,我们以交流学习为目的,并不是所有的源码都100%无错或无bug;同时本站用户必须明白,【源码源码ui网】对提供下载的软件等不拥有任何权利(本站原创和特约原创作者除外),其版权归该资源的合法拥有者所有。
5、请您认真阅读上述内容,购买即以为着您同意上述内容。
一站网 » 【九州仙侠传魂骨版】Q萌仙侠类角色扮演剧闯关三网H5手游-2023年4月14日最新打包Linux服务端源码视频架设教程-GM总运营后台-附带清理背包授权后台工具!