找回密码
 立即注册

微信登录

只需一步,快速开始

QQ登录

只需一步,快速开始

image.png image.png image.png image.png image.png


  1. 天空西游 Linux 搭建教程

  2. 测试系统: CentOS 7.6安装宝塔

  3. yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh

  4. 输入y回车确认安装

  5. 安装环境
  6. Nginx1.8
  7. Mysql8.0
  8. redis6.2
  9. pm2管理器(Node版本选择12.22.2)
  10. Nodejs

  11. 关闭防火墙

  12. systemctl stop firewalld.service
  13. systemctl disable firewalld.service

  14. 上传hlqk.zip到服务器跟目录

  15. 解压

  16. cd /
  17. unzip -O GBK hlqk.zip

  18. 给权限

  19. cd /
  20. chmod -R 777 /home

  21. 修改数据库root密码为:t9gm.com

  22. 创建网站

  23. 127.0.0.1:3000

  24. 目录指向路径 home/ht/dist

  25. 创建网站
  26. 127.0.0.1:7000

  27. 目录指向路径/www/wwwroot/t9gm.com

  28. 创建网站
  29. 127.0.0.1:10000

  30. 目录指向路径/www/wwwroot/t9gm.cn

  31. 使用我整理版本只需要重启nginx

  32. 安装后端启动环境

  33. cd /
  34. sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm

  35. sudo yum install dotnet-sdk-5.0

  36. 验证版本:

  37. dotnet –list-sdks

  38. 显示:5.0.408 [/usr/share/dotnet/sdk]

  39. 修改服务端ip 搜索:62.234.40.174

  40. /home/ht/dist/_nuxt/37e2f84.js
  41. /home/ht/package.json
  42. /home/ht/.nuxt/axios.js
  43. /home/server/Ddxy.GameServer/appsettings.json
  44. /www\wwwroot/rg/ios/project.manifest
  45. /www\wwwroot/rg/ios/version.manifest
  46. /www/wwwroot/rg/ios/assets/main/index.js
  47. /www/wwwroot/rg/ios/assets/resources/import/06/06f16db6-2e26-45b9-a15e-5ed6baafc53e.json
  48. /www/wwwroot/rg/ios/assets/resources/native/4b/4be5a163-72a3-481c-bb73-2fa45a143603.manifest
  49. /www/wwwroot/rg/ios/assets/resources/native/7a/7ac0a827-5eea-455a-8bc2-a5876981ef4b.manifest
  50. /www/wwwroot/rg/ios/src/settings.js

  51. /home/sql/ddxy.sql

  52. 导入数据库
  53. cd /home
  54. ./sk

  55. 首次启动会报错

  56. cd /home/server/Ddxy.GameServer
  57. dotnet run

  58. 首次错误处理方式

  59. ctrl+c 退出

  60. cp /etc/pki/tls/cert.pem /usr/local/openssl/cert.pem

  61. 正式启动

  62. cd /home/server/Ddxy.GateServer
  63. nohup dotnet run &

  64. cd /home/server/Ddxy.GameServer
  65. nohup dotnet run &

  66. 邀请码:123456

  67. 后台地址:http://IP:3000/login

  68. 账号:dhxy1

  69. 密码:123456

  70. 客户端修改: 替换:62.234.40.174

  71. 安卓:
  72. \assets\assets\main\index.js
  73. \assets\assets\resources\import\06\06f16db6-2e26-45b9-a15e-5ed6baafc53e.json
  74. \assets\assets\resources\native\4b\4be5a163-72a3-481c-bb73-2fa45a143603.manifest
  75. \assets\assets\resources\native\7a\7ac0a827-5eea-455a-8bc2-a5876981ef4b.manifest
  76. \assets\src\settings.js

  77. 苹果:
  78. \Payload\rxjh-mobile.app\assets\main\index.js
  79. \Payload\rxjh-mobile.app\assets\resources\import\06\06f16db6-2e26-45b9-a15e-5ed6baafc53e.json
  80. \Payload\rxjh-mobile.app\assets\resources\native\4b\4be5a163-72a3-481c-bb73-2fa45a143603.manifest
  81. \Payload\rxjh-mobile.app\assets\resources\native\7a\7ac0a827-5eea-455a-8bc2-a5876981ef4b.manifest
  82. \Payload\rxjh-mobile.app\src\settings.js
复制代码