> For the complete documentation index, see [llms.txt](https://ayakaleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ayakaleaf-pro.ayaka.space/on-premises/zh-cn/an-zhuang/introduction.md).

# 简介

与 Overleaf Server Pro 类似，我们的 Ayakaleaf Pro 以 Docker 容器形式提供，并可直接替换部署；此外还包含诸如通过 LDAP 和 SAML2 提供的 SSO、增强的安全性、修订跟踪、评论、我们优化版的 TeX Live、模板和管理面板等功能。

* 如果你之前从未部署过任何版本的 Overleaf，请参阅 [设置 Docker](/on-premises/zh-cn/an-zhuang/setup-docker.md) 先安装 Docker Engine，然后安装 Overleaf [使用 Toolkit](/on-premises/zh-cn/an-zhuang/using-the-toolkit.md).
* 如果你已经部署过 Overleaf Community Edition，请参阅 [从现有版本迁移](/on-premises/zh-cn/an-zhuang/cong-xian-you-ban-ben-qian-yi.md) 以迁移到 Ayakaleaf-Pro。
* 如果你是现有的 Server Pro 用户，请先提交一个 issue 让我们知晓，然后再迁移到 AyakaLeaf Pro，因为模板数据的存储格式略有不同。
* 有时，如果你厌倦了我们的 AyakaLeaf Pro 并想切换回官方的 Overleaf Community Edition，这完全受支持。你的任何数据都不会丢失。对于使用官方 Overleaf Toolkit 的用户，只需移除你的 override YAML 文件即可。对于使用 ayaka-notes toolkit 的用户，请禁用 `SERVER_PRO` 选项。之后一切都会回退到标准的 Community Edition。

### 硬件要求

* 安装 AyakaLeaf Pro 的最低硬件要求是 2 核 CPU 和 3 GB 内存。
* 由于我们的 TeX Live 镜像体积较大，要启用沙盒编译至少需要 40 GB 存储空间。
* 如果你想安装 2020 到 2026 年的完整 TeX Live 镜像集，请确保你至少有 150 GB 可用磁盘空间。

以下是不同使用场景的一些推荐硬件配置：

| 使用场景                | 推荐配置                    |
| ------------------- | ----------------------- |
| 个人使用，偶尔协作           | 2 核 CPU，4 GB 内存         |
| 小型团队，最多 10 名用户，轻度协作 | 2 核 CPU，8 GB 内存         |
| 中型团队，最多 100 名用户     | 4 核 CPU，16 GB 内存        |
| 大规模或大学部署            | 分布式集群部署；如果你需要部署协助，请联系我们 |

### 软件要求

对于软件要求，我们建议使用较新的 Ubuntu 版本，并搭配最新稳定版 Docker。

我们不建议在 Windows 或其他不受支持的操作系统上部署 AyakaLeaf Pro，因为你在安装和运行过程中可能会遇到兼容性问题或意外问题。

### LaTeX 性能

LaTeX 是单线程程序，这意味着它一次只能使用一个 CPU 核心。CPU 也是编译单个文档时的主要限制因素。因此，你的 CPU 单核性能越快，编译文档的速度就越快。只有当你尝试编译的文档数量超过空闲 CPU 核心数量时，更多核心才会带来帮助。

以 [ThuThesis 模板](https://www.overleaf.com/latex/templates/thuthesis-tsinghua-university-thesis-latex-template/cfwgcxtvkbsx) 为例，在 Intel Core i9-14900K（5.6 GHz）上，编译时间大约为 6 秒，而在由 AMD EPYC 7763（3.2 GHz）提供支持的 Azure Standard D2as v5 实例（2 vCPU，8 GiB 内存）上则大约需要 13 秒。

当然，实际编译性能取决于你的硬件配置。大多数服务器 CPU 的运行时钟频率都不会像 14900K 那么高，因此你需要在成本和编译速度之间做出权衡。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ayakaleaf-pro.ayaka.space/on-premises/zh-cn/an-zhuang/introduction.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
