【三国策略之放开那三国巅峰白金版】站长推荐经典稀有三国策略卡牌回合手游-2024年4月12日最新打包Linux服务端源码视频架设教程-多功能CDK网页授权后台-GM网页物品后台-安卓苹果IOS双端版本!
【三国策略之放开那三国巅峰白金版】站长推荐经典稀有三国策略卡牌回合手游-2024年4月12日最新打包Linux服务端源码视频架设教程-多功能CDK网页授权后台-GM网页物品后台-安卓苹果IOS双端版本!






























测试系统:Centos 6.8
关闭selinux和iptables:
setenforce 0
chkconfig iptables off
service iptables stop安装压缩组件:
yum -y install wget unzip -y
上传服务端“F3.zip”到服务器根目录“/”(根目录不是root目录!!使用WinSCP或其他工具上传数据,也可以直接宝塔传!!)
解压
cd /
unzip F3.zipPS:遇到提示输入大写的A回车
安装服务端组件:
yum -y install mysql mysql-devel
yum -y install libevent libpng
yum -y install httpd php php-devel php-mysql php-mbstring
yum -y install gcc make
创建用户:
useradd pirate
chown -R pirate:pirate /home/pirate
chmod -R 777 /home/pirate/
chmod -R 644 /home/pirate/programs/mysql/etc/my.cnf
修改服务端IP:// 改外网 “122.51.27.223” // 改内网 “10.0.4.15”
PS:没有内网全部改外网!
/home/pirate/lcserver/conf/game4009001.xml // 改为自己的内网IP
/home/pirate/lcserver/conf/game696001.xml // 改为自己的内网IP
/home/pirate/lcserver/conf/game696002.xml // 改为自己的内网IP
/home/pirate/html/phone/get3dVersion/index.php // 改为自己服务器外网IP
/home/pirate/html/phone/serverlistnotice6/index2.html // 改为自己服务器外网IP
全部操作好后重启服务器
reboot
重新连接服务器
启动游戏服务
启动Nginx:
cd /home/pirate/programs/nginx
./run.sh启动游戏(su pirate使切换用户,必须切到$用户才能启动游戏)
su pirate
/home/pirate/start.sh
启动二区:
cd /home/pirate/lcserver && sh run.sh start game696002
启动后可以通过端口查看命令:netstat -lntp
看到 9001 9002 88 3306 这些基本就差不多了
关闭游戏:
su pirate
/home/pirate/stop.sh关闭二区:
cd /home/pirate/lcserver && sh run.sh stop game696002
修改数据库IP:// 改 “ip”
用N11连接数据库:
连接选择SSH--勾选使用SSH通道
主机名或IP地址:输入自己服务器IP
端口:22
用户名:root
验证方法:密码
密码:输入自己服务器密码
找到数据库【sanguo_ly】【t_serverlist表】修改里面的IP为自己服务器IP
修改客户端IP:// 改 “ip”
安卓:
\assets\script\platform\config\config_Android_zyx.lua
苹果:
\Payload\CardSango-apple.app\script\platform\config\config_apple.lua
\Payload\CardSango-apple.app\script\platform\config\config_Android_zyx.lua
CDK生成:
http://IP:88/gm/gm.php
GM码:syymw.com
玩家后台:
http://IP:88/gm
http://ip:88/gmcx/gm.php
1. 本站所有资源来源于用户上传和网络,如有侵权请联系站长!
2. 分享目的仅供大家学习和交流,您必须在下载后24小时内删除!
3. 不得使用于非法商业用途,不得违反国家法律。否则后果自负!
4. 本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解!
5. 如有链接无法下载、失效或广告,请联系管理员处理!
6. 本站资源售价只是赞助,收取费用仅维持本站的日常运营所需!
7. 如遇到加密压缩包,请使用WINRAR解压,如遇到无法解压的请联系管理员!
8. 精力有限,不少源码未能详细测试(解密),不能分辨部分源码是病毒还是误报,所以没有进行任何修改,大家使用前请进行甄别!
教热门 » 【三国策略之放开那三国巅峰白金版】站长推荐经典稀有三国策略卡牌回合手游-2024年4月12日最新打包Linux服务端源码视频架设教程-多功能CDK网页授权后台-GM网页物品后台-安卓苹果IOS双端版本!