# Linux 一键部署教程

{% hint style="info" %}
本文难度：**中**

建议使用海外服务器
{% endhint %}

为了避免在你的 Linux 服务器上装一大票软件污染环境，我们使用了 Docker 来帮助你管理程序。

你需要准备的有：一台版本比较新的 Linux 系统，它可以是 Ubuntu、 CentOS 或者是其他有 Docker 的系统。

你的服务器至少需要的软件： curl

## 0x00 获取最新版本的 Linux 一键部署脚本

打开项目的发布页面：<https://github.com/lss233/chatgpt-mirai-qq-bot/releases>

排在最顶部的版本通常旁边有一个蓝色的 `Latest` 标识，这就说明它是项目的最新版本。

<figure><img src="/files/VlS1TdNkLABSaox7chU9" alt=""><figcaption></figcaption></figure>

你要做的就是复制这里面的命令，然后粘贴到你的 Linux 终端中并回车，它就会开始安装。

## 0x01 启动一键部署脚本

接下来你可以参考 Windows 快速部署教程来完成安装。


---

# Agent Instructions: 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:

```
GET https://chatgpt-qq.lss233.com/bu-shu-jiao-cheng/kuai-su-bu-shu-jiao-cheng/linux-yi-jian-bu-shu-jiao-cheng.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
