> For the complete documentation index, see [llms.txt](https://wiki.itoxray.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.itoxray.com/dui-jie-jiao-cheng/hou-duan-an-zhuang.md).

# 后端安装

推荐系统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 更新组件
