centos7.X
安装宝塔
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
==================================================================
外网面板地址: http://121.5.11.60:8888/b1c9798c
内网面板地址: http://10.0.16.13:8888/b1c9798c
username: 3synojfc
password: 72fa58bc
If you cannot access the panel,
release the following panel port [8888] in the security group
若无法访问面板,请检查防火墙/安全组是否有放行面板[8888]端口
安装环境
MySQL 5.6
Nginx 1.18
MongoDB 4.4.6
PHP5.6 (php扩展 Redis mongo )
Redis 6.2.5
放行端口 1:65535
===================================================================================
数据库密码设置123456
数据库名称注意大小写
修改数据库文件 (修改ip和游戏区名) 小仙源码网
SSUserCenter.sql
搜121.5.11.60
创建数据库并导入
FSthinkPortal
SSUserCenter
user
===================================================================================
上传wudiliucom.zip到服务器根目录解压
cd /
unzip wudiliucom.zip
===================================================================================
创建网站
81口 目录 /www/wwwroot/wudiliucom
设置伪静态
location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last; break;
}
}
===================================================================================
服务端修改IP
/www/wwwroot/wudiliucom/fs/gm/api.php
===================================================================================
给权限
chmod -R 7777 /data
chmod -R 7777 /www/wwwroot/wudiliucom
===================================================================================
设置MongoDB 密码
mongo
use admin
db.createUser({user:’root’,pwd:’123456′,roles:[‘userAdminAnyDatabase’]})
db.auth(‘root’,’123456′)
exit
===================================================================================
启动游戏服务
cd /data/FSUserCenter
./run.sh
回车
cd /data/FSServer
./run.sh
回车
关闭游戏服务
cd /data/FSUserCenter
./stop.sh
cd /data/FSServer
./stop.sh
===================================================================================
客户端修改 IP
安卓路径
assets\src\gconfig\global.lua
苹果路径
\Payload\FSB-release.app\src\gconfig\global.lua
===================================================================================
CDK生成后台
http://IP:81/fs/cdk GM码wudiliu.com
玩家激活后台
http://IP:81/fs/pay
玩家后台地址
http://IP:81/fs/gm
运营后台
http://IP:81/admin.php/Public/login.html
账号 wudiliu.com 密码 wudiliu.com
============================================
感谢你的来访!QQ交流群:970786861
2.若您需要商业运营或用于其他商业活动,请您购买正版授权并合法使用。
3.如果本站有侵犯、不妥之处的资源,请在网站最下方联系我们。将会第一时间解决!
4.本站所有内容均由互联网收集整理、网友上传,仅供大家参考、学习,不存在任何商业目的与商业用途。
5.本站提供的所有资源仅供参考学习使用,版权归原著所有,禁止下载本站资源参与商业和非法行为,请在24小时之内自行删除!处理。
暂无评论内容