- 时空战场架设教程
- 测试系统centos7.6
- 安装宝塔
- yum install -y wget && wget -O install.sh https://download.bt.cn/install/install_6.0.sh && sh install.sh ed8484bec
- 安装环境
- Nginx-1.24
- Redis-7.2.4
- MongoDB-4.0
- 关闭防火墙:
- systemctl stop firewalld
- systemctl disable firewalld
- 上传服务端到服务器根目录
- 解压
- cd /
- unzip skzc.zip
- 给权限:
- chmod -R 777 /home
- 安装环境:
- yum install -y java-1.8.0-openjdk-devel.x86_64
- 修改服务端IP:159.75.168.238
- /home/sk.js
- /home/t9gm.com/1/Android/version.txt
- /home/t9gm.com/1/IOS/version.txt
- 还原数据库
- cd /home
- mongo sk.js
- 重启ngixn
- 启动
- cd /home/java/gameserver
- nohup java -jar gameSrv-1.0.0.jar > log.file 2>&1 &
- cd /home/java/chatserver
- nohup java -jar chatserver-1.0.0.jar > log.file 2>&1 &
- cd /home/java/loginserver/apache-tomcat-8.5.95/bin
- ./startup.sh
- 关闭
- cd /home/java/loginserver/apache-tomcat-8.5.95/bin
- ./shutdown.sh
- 修改安卓客户端:159.75.168.238
- /assets/bin/Data/c903ed81b528e4c44b1cd995ee46aa72
- /assets/Android/Resources/version.txt
- 修改苹果客户端: 159.75.168.238
- /Payload/game.app/Data/resources.assets
- /Payload/game.app/Data/Raw/IOS/Resources/version.txt
- ps:
- 客户端已修改支持到15位(txt不需要对位)
- 15位ip
- http://159.175.168.238:8082/err
- 14位ip
- http://159.75.168.238:8082//err
- 13位ip
- http://159.75.68.238:8082///err
- 按这个原理以此类推
- 5个的url地址都不相同,注意原理即可
- 或者使用as导出导入无需对位
复制代码
|
大佬,别默默的看了,快登录帮我点评一下吧!:)
登录 立即注册