- 天之禁Linux架设教程
- 系统:Centos 7.6
- -----------------------------------------------------------------------
- 安装宝塔:
- yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
- Nginx 1.24
- Mysql 5.6
- Php 5.6
- 关闭防火墙:
- systemctl stop firewalld
- systemctl disable firewalld
- -----------------------------------------------------------------------
- tzj.zip并上传到服务器根目录★如果无法传根目录,随便找个目录传进去,再剪切到根目录来★
- 解压服务端:
- cd /
- unzip -o tzj.zip
- 给权限:
- chmod -R 777 /home
- -----------------------------------------------------------------------
- 修改文件中的159.75.168.238修改为你的服务器公网IP地址
- /home/sql/tzj_backend.sql
- /home/sql/tzj_gm.sql
- /home/sql/tzj_platformkits.sql
- 修改数据库密码:t9gm.com
- 重启mysql
- 导入数据库:
- cd /home
- ./sk
- -----------------------------------------------------------------------
- 重启nginx
- -----------------------------------------------------------------------
- 安装环境:遇到提示输入y
- yum install -y java-1.8.0-openjdk-devel
- cd /opt/tomcat/
- tar -zxvf apache-tomcat-8.5.42.tar.gz
- echo 'export CATALINA_HOME=/opt/tomcat/apache-tomcat-8.5.42' >> /etc/profile
- echo 'export PATH=$PATH:$CATALINA_HOME/bin' >> /etc/profile
- source /etc/profile
- -----------------------------------------------------------------------
- 启动服务端:
- cd /home
- ./start
- -----------------------------------------------------------------------
- 多个运营后台:
- IP:8080/GameManager
- 用户名:admin
- 密 码:admin123
- IP:8080/PlatformKits
- 用户名:admin
- 密 码:admin123
- IP:8080/TzjBackend
- 用户名:admin
- 密 码:admin
- -----------------------------------------------------------------------
- CDK授权后台:
- CDK生成:
- IP:81/ht/cdk
- GM码:t9gm.com
- CDK激活:
- IP:81/ht/pay
- 玩家后台:
- IP:81/ht/vip
- -----------------------------------------------------------------------
- 修改客户端:将下方文件中的159.75.168.238修改为你的服务器公网IP地址
- assets/bin/Data/Managed/Metadata/global-metadata.dat ★使用dat修改工具★
- assets/GameAssets/Resources/Config/LocalVersion.xml
复制代码
|
大佬,别默默的看了,快登录帮我点评一下吧!:)
登录 立即注册