【仙变3手游单机服务端】跨服服务端+架设教程+双端APP+后台+补丁

【仙变3手游单机服务端】跨服服务端+架设教程+双端APP+后台+补丁,仙变3单机端,仙变3服务端,仙变3架设教程,仙变3双端APP,仙变3后台

架设教程

系统:Centos7.*配置2核4G
——————————————————————————-
安装宝塔yuminstall-ywget&&wget-Oinstall.shhttp://download.bt.cn/install/install_6.0.sh&&shinstall.sh
——————————————————————————-
安装环境Nginx-1.16MySQL5.6插入lower_case_table_names=1保存重启数据库PHP5.6
——————————————————————————-
宝塔上传文件data.zip到主目录/设置777权限并且解压
—————————————–
创建网站端口:81宝塔-网站-添加站点输入IP:81根目录/data/game/center/gateway/site创建WEB后台【需自行配置config】端口:82宝塔-网站-添加站点输入IP:82根目录/data/game/cdnhttp://服务器IP:82/admin/admintool/1区账号:admin密码:123456http://服务器IP:82/admin1/admintool/2区账号:admin密码:123456http://服务器IP:82/gm/授权后台GM码:123456宝塔-数据库-root密码输入123456提交
—————————————–
宝塔-安全-放行端口-添加3306mysql-uroot-p123456
—————————————–
创建数据库用户GRANTALLPRIVILEGESON*.*TO’root’@’127.0.0.1’IDENTIFIEDBY’123456’WITHGRANTOPTION;FLUSHPRIVILEGES;GRANTALLPRIVILEGESON*.*TO’root’@’localhost’IDENTIFIEDBY’123456’WITHGRANTOPTION;FLUSHPRIVILEGES;GRANTALLPRIVILEGESON*.*TO’root’@’%’IDENTIFIEDBY’123456’WITHGRANTOPTION;FLUSHPRIVILEGES;quit
—————————————–
导入数据库【PS:根据自己操作习惯,不同方式导入】dev_s1devb_s1dev_s2devb_s2dev_crossyx03_cn_countlyyx03_cn_gatewayyx03_cn_manager
——————————————————————————-
关闭防火墙systemctlstopfirewalld.servicesystemctldisablefirewalld.service
——————————————————————————-
服务端修改IP/data/game/server/config/cross.xml/data/game/server/publish_release/serverconfig.xml/data/game/server1/config/cross.xml/data/game/server1/publish_release/serverconfig.xml/data/game/cross/config/cross.xml/data/game/cross/publish_release/serverconfig.xml
——————————————————————————-
网站修改/data/game/htdocs/center/gateway/site/cdn/yx03/cn/and/yx03_cn_a1/luajit/init【UE修改,位数不符,域名替代】/data/game/htdocs/center/gateway/site/cdn/yx03/cn/ios/yx03_cn_a1/lua/init【UE修改,位数不符,域名替代】/data/game/htdocs/center/gateway/site/cdn/yx03/cn/ios/yx03_cn_a1/lua/game/setting【UE修改,位数不符,域名替代】/data/game/htdocs/center/gateway/site/dev/az1.txt【没有,复制一个】/data/game/htdocs/center/gateway/site/dev/az.txt
——————————————————————————-
安装环境echo”includeld.so.conf.d/*.conf/data/lib”>/etc/ld.so.conf&&ldconfig
——————————————————————————-
设置权限chmod-R777/data
——————————————————————————-
虚拟网卡【PS:只针对内网的云服务器需要的命令】ifconfigeth0:0XX.XX.XX.XXnetmask255.255.255.0upXX.XX.XX.XX【改为公网IP】
——————————————————————————-
启动跨服区cd/data/game/./cross_start.sh启动1区cd/data/game/./server_start.sh启动2区不开可以不用启动cd/data/game/./server1_start.sh关闭跨服区cd/data/game/./cross_stop.sh关闭1区cd/data/game/./server_stop.sh关闭2区cd/data/game/./server1_stop.sh
——————————————————————————-
安卓客户端【改之理少月增强版】【PS:UE修改,位数不符,域名替代】com.ys.dw\assets\AssetBundle\luajit\init-48270f7995779a74548b6bb9d05fe52e苹果客户端\Payload\dev.app\Data\Raw\AssetBundle\lua\init-3c9f719e7d9142a7043a247c490d9899\Payload\dev.app\Data\Raw\AssetBundle\lua\game\setting-9d40443952511dc95c03f4078669cdfb
——————————————————————————-
查看端口netstat-ltnp
——————————————————————————-
然后就可以【体验游戏】了

原文链接:https://vuesite.cn/8179.html,转载请注明出处。
0
显示验证码
没有账号?注册  忘记密码?