# 使用 AList 搭建直链网盘（可选）

{% hint style="info" %}
此教程目的是为了配合 [客户端内自动更新](/panel/auto-update.md)  ，针对不会做下载服务器的用户。
{% endhint %}

### 1、安装

```
curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s install
```

### 2、修改密码

安装成功后提示如下：

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

进入AList安装目录修改密码

```
cd /opt/alist   # 进入默认目录
./alist admin random   # 随机生成一个密码
./alist admin set NEW_PASSWORD  # 手动设置一个密码,`NEW_PASSWORD`是指你需要设置的密码

```

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

### 3、配置

登录

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

登陆后主界面

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

点击下方居中的`管理`按钮

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

添加存储

<figure><img src="/files/8jzbjXKC6UhZnjPmq66D" alt=""><figcaption></figcaption></figure>

编辑配置

<figure><img src="/files/32HMW1dXNYDYk0A3D8rg" alt=""><figcaption></figcaption></figure>

点击保存，回到主页

<figure><img src="/files/42I1pe3Lug5cSTAfcIHi" alt=""><figcaption></figcaption></figure>

回到首页后看到挂载文件夹了！，然后我们上传创建文件夹。（如下图内左下角位置）

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

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

新建了一个demo文件夹以及 Windwos文件夹

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

然后把Windows客户端放在里面去

<figure><img src="/files/5EWdQquTfwXlsXkiXeRP" alt=""><figcaption></figcaption></figure>

客户端文件直接拖入上传窗口

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

上传完成后会有上传好的文件

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

点击这个文件，可以看到复制链接

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

```
http://13.114.142.177:5244/d/demo/Windows/Vortex%20Demo%20Setup%201.2.1.exe
```

> 这个就是直链

### 4、以V2board为例，管理app版本号

进入v2b后台 点击系统配置 再点击APP

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

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

{% hint style="info" %}
上方是版本号，客户端低于该版本会自己提示更新到最新。用户点击更新会自动更新。下方是网盘的客户端直链！
{% endhint %}

### 5、AList配置权限

回到管理页面 点击下方的管理按钮

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

点击用户

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

编辑游客权限

<figure><img src="/files/9TRmt8heb8FLXoO1G1QH" alt=""><figcaption></figcaption></figure>

勾选`游客无需密码访问`  ，停用记得关闭

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

修改一下游客能查看的路径，如只给他们看demo文件夹。设置后点击保存

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


---

# 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.vtx.team/others/cloud-storage-with-alist.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.
