Files
xxxigcc/llmdoc/architecture/installation-architecture.md
Wang Defa 20935a6c89
All checks were successful
Build and Release / build-and-test (arm64, alpine) (push) Successful in -11s
Build and Release / build-and-test (amd64, alpine) (push) Successful in -4s
Build and Release / build-and-test (arm64, ubuntu) (push) Successful in 1s
Build and Release / build-and-test (amd64, ubuntu) (push) Successful in 10s
Build and Release / release (push) Successful in 44s
添加 llmdoc 文档系统,升级版本至 3.4.8-xg1
- 初始化 llmdoc 文档系统(overview/architecture/guides/reference)
- 创建 9 个核心文档,涵盖项目概览、安装架构、配置系统等
- 升级 CI 工作流和构建脚本版本号至 3.4.8-xg1
- 添加 .gitignore 文件
2025-12-25 09:06:01 +08:00

44 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 安装架构
## 1. 身份
- **本质**XXXigCC 的安装机制设计
- **目的**:实现跨平台、高度可配置的软件部署
## 2. 核心组件
- [script/install.sh](../../script/install.sh):主安装脚本,处理下载、解压、配置和服务创建
- [script/uninstall.sh](../../script/uninstall.sh):通用卸载脚本
- [debian/build-deb.sh](../../debian/build-deb.sh)Debian 包构建脚本
## 3. 执行流程
### 3.1 版本选择
- 支持指定版本或自动获取最新版本
- 通过 Gitea Generic Package Registry 下载
### 3.2 依赖检查
- 动态安装 curl、jq、file 等必要工具
- 支持 apt-get 和 apk 包管理器
### 3.3 安装前准备
- 检测操作系统Alpine 或 Ubuntu/Debian
- 识别系统架构amd64/arm64
- 卸载现有版本
### 3.4 软件部署
- 下载并解压软件包
- 设置执行权限
- 创建配置文件
### 3.5 服务管理
- 使用 OpenRCAlpine或 systemdUbuntu/Debian
- 自动创建服务配置文件
- 启用并启动服务
## 4. 设计原理
- **高度参数化**:通过命令行选项实现灵活配置
- **跨平台兼容性**:适配不同 Linux 发行版
- **自动化服务管理**:简化部署和运维流程