> For the complete documentation index, see [llms.txt](https://docs-cn.filswan.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-cn.filswan.com/swan-provider/shi-yong-zhi-nan/qian-ti-tiao-jian.md).

# 前提条件

* Aria2 服务

**启动 Lotus-miner**

在启动 `swan-provider`之前，请确保 `Lotus-miner` 正常运行。您需要使用 `Lotus-miner` 令牌导入订单。

```
lotus-miner auth create-token --perm write
```

注意，请保持 `Lotus-miner` 在后台运行! 生成的令牌位于 `$LOTUS_MINER_PATH/token` 请参考：[Lotus: API tokens](https://lotus.filecoin.io/reference/basics/api-access/)

**Aria2 服务**

```
sudo apt install aria2
```
