添加 llmdoc 文档系统,升级版本至 3.4.8-xg1
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
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 文档系统(overview/architecture/guides/reference) - 创建 9 个核心文档,涵盖项目概览、安装架构、配置系统等 - 升级 CI 工作流和构建脚本版本号至 3.4.8-xg1 - 添加 .gitignore 文件
This commit is contained in:
43
llmdoc/architecture/installation-architecture.md
Normal file
43
llmdoc/architecture/installation-architecture.md
Normal file
@@ -0,0 +1,43 @@
|
||||
# 安装架构
|
||||
|
||||
## 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 服务管理
|
||||
- 使用 OpenRC(Alpine)或 systemd(Ubuntu/Debian)
|
||||
- 自动创建服务配置文件
|
||||
- 启用并启动服务
|
||||
|
||||
## 4. 设计原理
|
||||
|
||||
- **高度参数化**:通过命令行选项实现灵活配置
|
||||
- **跨平台兼容性**:适配不同 Linux 发行版
|
||||
- **自动化服务管理**:简化部署和运维流程
|
||||
Reference in New Issue
Block a user