【修仙伏魔录】H5手游【九曲封神】优化版Linux手工架设服务端+教程等
内容介绍
本资源同版本虚拟机镜像一键启动服务端:
【修仙伏魔录】H5手游【九曲封神】优化版虚拟机镜像一键启动服务端+启动教程等
http://bbs.523play.com/thread-7909-1-1.html
测试系统:CentOS 7.6
安装宝塔直接运行命令即可。
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
输入y回车确认安装
安装环境:
Nginx 1.18
MySQL 5.1
PHP 5.6
宝塔放行端口:1-65535
关闭防火墙
systemctl stop firewalld
systemctl disable firewalld
上传fm.zip到服务器根目录(根目录不是root目录!!使用WinSCP或其他工具上传数据,也可以直接宝塔传!!)
解压
cd /
unzip fm.zip
给予 777权限
chmod -R 777 /data/
chmod -R 777 /root/
chmod -R 777 /www/wwwroot/game/
环境配置
cd /root && ./install
设置数据库root密码
修改数据库配置文件第25、26行:
max_connections = 9000
max_connect_errors = 3000
重启数据库:
service mysqld restart
导入数据库
cd /root && ./sk
创建网站
IP:81
网站目录设置为:\www\wwwroot\game
修改服务端文件IP: 替换:192.168.200.128
\data\release\bxfr\conf\server_info.json
\www\wwwroot\game\bxfr\serverList.php
\www\wwwroot\game\ryxx\index.html
\www\wwwroot\game\ryxx\version.js
启动游戏服务
启动服务端:
cd /root && ./start
启动后可以通过命令:netstat -lntp 查看启动端口
看到12181端口就可以了!
端口启动了仍卡加载,就重新注册个账号!
关闭游戏:
cd /root && ./stop
游戏地址:http://IP:81/ryxx
GM特权注册后台:
http://IP:81/gm
GM码:Www.523Play.Com
内容截图
附件下载 (如果本资源侵犯到您的权益,请联系在线管理员QQ:1589479632处理!)
http://img.setyun.cn/ad/yindao.png
页:
[1]