# 后端安装

推荐系统Debian10+，CentOS7+，Ubuntu20+。

#### 导入密钥：

```
echo "850cb997-0b71-4c1f-92b7-90501065b411" > /usr/local/etc/xray-agent.license
```

\*引号内替换为购买后的密钥。

#### 下载程序：

```
wget https://tool.itoxray.com/files/bin/config-tool && chmod a+x config-tool && ./config-tool
```

![](/files/-Mg-K-a5xlnlVtMw0Dfr)

输入n 新建配置

输入d 删除配置

输入s TLS工具箱

输入c WGCF隧道（实验性）

输入r 重启服务

输入u 更新组件


---

# 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://wiki.itoxray.com/dui-jie-jiao-cheng/hou-duan-an-zhuang.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.
