{"id":34753372,"url":"https://github.com/yulinzhihou/gstlenv","last_synced_at":"2025-12-25T05:27:33.090Z","repository":{"id":46470007,"uuid":"386949016","full_name":"yulinzhihou/gstlenv","owner":"yulinzhihou","description":"天龙八部服务器自动环境部署，只需要一条命令即可享用。Automatic environment deployment for TLBB servers, with just one command to enjoy，auto install tlbb server env ","archived":false,"fork":false,"pushed_at":"2025-12-21T07:42:26.000Z","size":32276,"stargazers_count":59,"open_issues_count":0,"forks_count":28,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-12-22T23:43:55.243Z","etag":null,"topics":["centos","debian","docker","docker-compose","gstlenv","shell","tlbb","ubuntu"],"latest_commit_sha":null,"homepage":"https://gsgameshare.com/deploy/1.html","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yulinzhihou.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-07-17T13:45:37.000Z","updated_at":"2025-12-21T07:41:43.000Z","dependencies_parsed_at":"2024-03-27T10:47:17.162Z","dependency_job_id":"deba1474-00c9-4bbd-9876-752eb3224822","html_url":"https://github.com/yulinzhihou/gstlenv","commit_stats":null,"previous_names":[],"tags_count":146,"template":false,"template_full_name":null,"purl":"pkg:github/yulinzhihou/gstlenv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yulinzhihou%2Fgstlenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yulinzhihou%2Fgstlenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yulinzhihou%2Fgstlenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yulinzhihou%2Fgstlenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yulinzhihou","download_url":"https://codeload.github.com/yulinzhihou/gstlenv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yulinzhihou%2Fgstlenv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28020659,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-25T02:00:05.988Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["centos","debian","docker","docker-compose","gstlenv","shell","tlbb","ubuntu"],"created_at":"2025-12-25T05:27:32.868Z","updated_at":"2025-12-25T05:27:33.081Z","avatar_url":"https://github.com/yulinzhihou.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 项目支持\n\n查看支持的服务器系统版本 \n\n| Platform                                       | x86_64 / amd64 | arm64 / aarch64 | arm (32-bit) | ppc64le | s390x |\n| :--------------------------------------------- | :------------: | :-------------: | :----------: | :-----: | :---: |\n| [CentOS](centos.md)                            |       ✅       |       ✅        |              |   ✅    |       |\n| [Debian](debian.md)                            |       ✅       |       ✅        |      ✅      |   ✅    |       |\n| [Fedora](fedora.md)                            |       ✅       |       ✅        |              |   ✅    |       |\n| [Raspberry Pi OS (32-bit)](raspberry-pi-os.md) |                |                 |      ✅      |         |       |\n| [RHEL](rhel.md)                                |       ✅       |       ✅        |              |         |  ✅   |\n| [SLES](sles.md)                                |                |                 |              |         |  ✅   |\n| [Ubuntu](ubuntu.md)                            |       ✅       |       ✅        |      ✅      |   ✅    |  ✅   |\n| [Binaries](binaries.md)                        |       ✅       |       ✅        |      ✅      |         |       |\n\n| Ubuntu                   | CentOS            | RHEL   | Debian                         | Fedora    |\n| ------------------------ | ----------------- | ------ | ------------------------------ | --------- |\n| Ubuntu Oracular 24.10    | CentOS 9 (stream) | RHEL 8 | Debian Bookworm 12 (stable)    | Fedora 40 |\n| Ubuntu Noble 24.04 (LTS) |                   | RHEL 9 | Debian Bullseye 11 (oldstable) | Fedora 41 |\n| Ubuntu Jammy 22.04 (LTS) |                   |        |                                |           |\n| Ubuntu Focal 20.04 (LTS) |                   |        |                                |           |\n\n- 本教程支持各种云服务器，虚拟机系统，可在线，可离线\n- 增加敏感配置项可以自定义，简单方便。如：数据库密码，端口等\n- 集成分步调试开服的命令，可以更好的排错\n- 本操作手册仅供学习使用，请勿用于商业用途，如有侵权，请与本人联系！\n\n### 前期准备\n\n- 安装好指定条件环境的服务器系统\n- 关闭防火墙，默认需要在安全组开放指定端口 **`51888`  `33061` `13580` `15680` `21818`** \n- 如果想自己定义相应端口，则需要自己去开放对应的安全组端口号\n\n## 快速入门\n\n### 视频教程(小白新手快速从0到1)\n- [第一课：服务器环境安装（虚拟机+云主机）](https://www.bilibili.com/video/BV1oN411y7r7/)\n- [第二课：本机运行环境的准备工作](https://www.bilibili.com/video/BV1Jh411c7ud/)\n- [第三课：安装 GS 环境并架设服务端程序](https://www.bilibili.com/video/BV1eu4y1f7Pd/)\n- [第四课：安装客户端及更新补丁](https://www.bilibili.com/video/BV1Cz4y1B7RU/)\n- [第五课：GM工具使用](https://www.bilibili.com/video/BV1Gh411c7GD/)\n- 第六课：其他功能介绍与展示\n\n### 一、环境安装步骤以及服务端上传启动（服务端）\n\n- 第 1 步：下载部署环境的项目，使用 `root` 用户登录，**否则可能会出现报错，建议安装到 `root` 根目录**\n\n```bash\ncurl -sSL https://gitee.com/yulinzhihou/gstlenv/raw/master/gsenv.sh | bash\n```\n或者\n```bash\ncurl -sSL https://raw.githubusercontent.com/yulinzhihou/gstlenv/master/gsenv.sh | bash\n```\n或者\n```bash\ncurl -sSL https://gsgameshare.com/gsenv | bash\n```\n\n- 第 2 步：**如果想使用默认配置(默认的端口，默认的数据库密码等)，可以跳过此步骤**\n\n```bash\n# 执行此命令，进入交互配置界面\nsetconfig\n```\n\n- 第 3 步：上传服务端到 `/root` 下，服务端的名称只能是  `tlbb.tar.gz` 或者 `tlbb.zip` 否则后面的操作会报错\n\n```bash\n# 第一种方式：点击 `xshell` 软件的 `sftp` 按钮，进行 `sftp` 命令行传输模式 \n# 第二种方式：用 `winscp` 软件或者其他上传软件都行，只要把服务端上传到 `/root` 目录下即可（此方法需要输入以下命令）\n\n# 此命令只适用于 xshell 软件的 sftp 命令行窗口，请仔细查看\ncd ~\nput\n```\n\n- 第 4 步：解压上传的服务端 **（不需要考虑是哪种格式，使用此命令即可完成解压操作）**\n\n```bash\nuntar\n```\n\n- 第 5 步：设置配置文件 **（将配置文件进行覆盖，此配置文件会按照 `.env` 文件里面定义的进行替换，没有更改的话则使用默认值）**\n\n```bash\nsetini\n```\n\n- 第 6 步：开启服务端，等待结果\n\n```bash\nruntlbb\n```\n\n- 第 7 步：使用命令查看服务端运行状态\n\n```bash\nruntop\n```\n\n\u003e   恭喜你！到此，服务端已经正确开启。\n\u003e\n\u003e   至此，服务器服务端版本开启已经完成 ，下列命令不需要逐条执行，如遇到其他问题才需要进行分步调试\n\u003e\n\u003e   只有在修改版本与调试功能的时候才需要使用下列命令进行分步开服，正常启动不需要使用以下命令。\n\n\n### 二、安装步骤（客户端）\n\n- 安装最新官方[客户端](http://tl.changyou.com/download/index.shtml) ,或者下载指定版本的[客户端](https://qm.qq.com/cgi-bin/qm/qr?k=U88GIGoFjAcy9kkX3hJ-Xv0qRvSXB3ej) （进技术交流群:902281567 获取）\n\n- 解压补丁包\n- 更新补丁\n- 配置单机测试使用的登录器\n- 联网登录器\n\n### 三、网站配置（服务端）\n\n- 准备网站源代码文件，有能力的自己写。\n- 先运行 `upow` 命令后，按指定参数配置好\n- 将文件上传到 **`/tlgame/www/ow`**  这个目录下面\n\n### 四、内部集成命令\n- 使用 `gs` 命令进入命令帮助提示\n\n### 五、最后有如果感觉项目对你有点帮助，请支持一下我们\n| 支付宝扫码捐赠    | 交流群（QQ） | 微信支付捐赠         |\n| ----------------- | -------------------- | -------------------- |\n| \u003cimg src=\"images/alipay.png\" style=\"zoom:50%;\" /\u003e | \u003cimg src=\"images/qqgroup.png\" style=\"zoom:40%;\" /\u003e | \u003cimg src=\"images/wechatpay.png\" alt=\"w\" style=\"zoom:50%;\" /\u003e |\n\n### 六、提供免费环境配套的视频教程。适合新手小白以及想了解本环境的流程的朋友\n\n-   技术交流群：902281567(原群被封)\n-   有需要可以进电报群（PS:不经常看）[https://t.me/gstlenv](https://t.me/gstlenv)\n\n### 七、常见问题集合（不定期查看，欢迎反馈，我们一起把环境壮大）\n\n- [https://github.com/yulinzhihou/gstlenv/wiki](https://github.com/yulinzhihou/gstlenv/wiki)\n- [https://gitee.com/yulinzhihou/gstlenv/wiki](https://gitee.com/yulinzhihou/gstlenv/wiki)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyulinzhihou%2Fgstlenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyulinzhihou%2Fgstlenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyulinzhihou%2Fgstlenv/lists"}