添加完整 PC Server 部署指南
Some checks failed
Android CI / build (push) Has been cancelled

- pc-server/README.md 重写:从零开始的全流程部署说明
- 包含 conda 环境创建、MinerU/OCRmyPDF/Tesseract/Ghostscript 安装步骤
- main.py 配置项说明:哪些需要改、哪些自动检测
- 模型下载指令、国内网络镜像方案
- 常见故障排查表
- 根 README 简化部署章节,指向详细文档

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
MobKBK
2026-06-04 17:22:59 +08:00
parent 2cc6fd34eb
commit 9002563e75
2 changed files with 229 additions and 19 deletions

View File

@@ -64,18 +64,9 @@
## PC 服务器部署
### 环境要求
**详细部署指南**[pc-server/README.md](pc-server/README.md)
| 组件 | 说明 |
|------|------|
| Conda 环境 | `MinerU`Python 3.10, PyTorch 2.6, CUDA 12.4 |
| MinerU | v3.0.9markdown 处理) |
| OCRmyPDF | v15.4.4ocrpdf 处理) |
| Tesseract | 5.5.2 + chi_sim / eng 语言包 |
| Ghostscript | 10.07.1 |
| GPU | NVIDIA RTX 4060 8GB推荐 |
### 启动
### 快速启动(环境已配好)
```bash
conda activate MinerU
@@ -85,6 +76,17 @@ python main.py
服务启动在 `http://0.0.0.0:2026`
### 环境一览
| 组件 | 版本 | 用途 |
|------|------|------|
| Python | 3.10 | conda 环境 `MinerU` |
| PyTorch | 2.6 + CUDA 12.4 | GPU 推理 |
| MinerU | git clone + pip install -e | markdown 处理 |
| OCRmyPDF | v15.4.4 | 可搜索双层 PDF |
| Tesseract | 5.5.2 + chi_sim/eng | OCR 引擎 |
| Ghostscript | 10.07.1 | PDF 后处理 |
### API 端点
| 端点 | 方法 | 功能 |