filebrowser文档
This commit is contained in:
2024-04-13 15:55:22 +08:00
parent 811604bd14
commit 97c7799f0a
7 changed files with 99 additions and 4 deletions

View File

@@ -0,0 +1,54 @@
---
sidebar_position: 8
---
# 文件管理器 Filebrowser
默认登陆用户名和密码 **_admin_** **_admin_**
默认首页操作路径位置: /home/ubuntu/files
如果要更改操作路径位置,请参考下图:
设置--用户管理--编辑--目录范围(比如管理挂载盘/mnt/sda1
![](img/filebrowser1.png)
## 用户认证
> **`请注意,如果盒子存在外网访问需求的,强烈建议请勿关闭认证,文件管理器不仅可以上传、下载、编辑文件,还可以执行系统命令,造成的后果自负。`**
复制下面命令前往命令行窗口执行即可
1. 关闭
```shell
systemctl stop filebrowser
/opt/filebrowser/filebrowser config set --auth.method=noauth
systemctl start filebrowser
```
2. 开启
```shell
systemctl stop filebrowser
/opt/filebrowser/filebrowser config set --auth.method=json
systemctl start filebrowser
```
另外,建议这个文件管理器搭配 h5ai 做分享网盘系统,分享给家人的,和自己私密的文件进行分类,简直完美。
更多配置请自行前往 [filebrowser 官网](https://filebrowser.org/)查询