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,41 @@
---
sidebar_position: 18
---
# selenium 教程
## 1、安装 pip
内存占用 148MB
```shell
apt install pip
```
## 2、安装 firefox 浏览器
内存占用 273MB
```shell
apt install firefox
```
## 3、安装 geckodriver
内存占用 78MB
[点击下载 armv7 的版本](https://ali.any168.net/armv7/geckodriver)
[点击下载 arm64 的版本](https://ali.any168.net/arm64/geckodriver)
将 geckodriver 拷贝到目录/usr/local/bin 目录中
```shell
#给予执行权限
chmod +x /usr/local/bin/geckodriver
#查看版本信息,测试是否可用
geckodriver --version
```
## 4、安装 selenium
```shell
pip3 install selenium
```

View File

@@ -1,5 +1,5 @@
---
sidebar_position: 9
sidebar_position: 10
---
# 定时任务

View File

@@ -1,5 +1,5 @@
---
sidebar_position: 10
sidebar_position: 11
---
# 个人博客

View File

@@ -1,5 +1,5 @@
---
sidebar_position: 11
sidebar_position: 12
---
# 扩容到外置磁盘

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/)查询

View File

@@ -1,5 +1,5 @@
---
sidebar_position: 8
sidebar_position: 9
---
# 局域网音频广播

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB