修复唤灵功能
修复副本退出问题
修复炸服问题
修复后台
其实还是会炸,但是多少修了点问题
- 仙剑奇侠传 Linux 搭建教程
- 测试系统:Centos 7.6
- 安装宝塔:
- yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
- 安装环境:
- Nginx 1.24
- Mysql 5.7
- Php 7.2 (禁用函数删除:pcntl_fork)重启PHP
- 关闭防火墙
- systemctl stop firewalld.service
- systemctl disable firewalld.service
- 上传服务端xj.zip到服务器根目录
- 解压
- cd /
- unzip -o xj.zip
- 给权限:
- chmod -R 777 /home
- chmod -R 777 /data
- 修改数据库root密码为:t9gm.com
- 重启数据库
- 导入数据库
- cd /home
- ./sk
- 重启nginx
- 配置环境
- cd /data/game/gmt_src
- ./deploy_env.sh
- cd /data/game/gmt_src
- ./deploy_game.sh
- 创建软链接
- ln -s /home/game/conf /home/game/bin/conf
- ln -s /home/game/sprotocols /home/game/bin/sprotocols
- ln -s /home/game/lua /home/game/bin/lua
- ln -s /home/game/sql /home/game/bin/sql
- 修改服务端文件IP:替换:193.112.101.67
- /data/game/gmt_src/deploy_game.sh
- /home/game/conf/baselist.conf
- /home/game/conf/connectserver.conf
- /home/game/conf/pk_connectserver.conf
- /data/t9gm.com/public/serverlist.dat
- 启动网站
- /usr/local/openresty/nginx/sbin/nginx -c /usr/local/openresty/nginx/conf/nginx.conf
- 启动游戏
- cd /home/game
- ./qd
- cd /home/game
- ./kf
- cd /home/game
- ./pk
- GM后台:
- http://IP:82/gm/index
- 修改客户端:
- assets/StaticAssets/Lua/Manager/LoginMgr.lua.bytes
复制代码
|
大佬,别默默的看了,快登录帮我点评一下吧!:)
登录 立即注册