> 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
```

![](https://1887872165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MfufsGNVhZq1e1oZD1U%2F-Mg-3k3YDxpW9ZDCAia4%2F-Mg-K-a5xlnlVtMw0Dfr%2Fimage.png?alt=media\&token=23b59984-04b8-4e22-8a16-d9eb8c6ac060)

输入n 新建配置

输入d 删除配置

输入s TLS工具箱

输入c WGCF隧道（实验性）

输入r 重启服务

输入u 更新组件
