在home目录下载
Wget https://github.com/gtsteffaniak/filebrowser/releases/download/v0.8.8-beta/linux-arm64-filebrowser
chmod +x linux-arm64-filebrowse
./linux-arm64-filebrowse 运行程序,可以设置开机启动
/home/./linux-arm64-filebrowser -c /home/config.yaml 可以/etc/rc.local里面设置开机启动
database.db是数据库,默认放在根目录
源的切换:进入web界面,设置,用户管理 ,修改瞄准镜 可以添加多个源
./linux-arm64-filebrowse setup 配置向导
请注意文件缩进
生成配置文件config.yaml
port: 80
database: ./database.db
sources:
– path: /media/udisk1
name: bbb
– path: /media/tf1
name: aaa
logging:
- levels: info|warning|error
apiLevels: info|warning|error
output: stdout
noColors: false
utc: true
frontend:
name: FileBrowser Quantum
auth:
noauth: true 设置免密码登录
adminUsername: admin
adminPassword: admin
userDefaults:
permissions:
api: false
admin: false
modify: true
share: true
realtime: false
多媒体集成
apt install ffmpeg
integrations:
media:
ffmpegPath: “/usr/local/bin” # wherever you have both ffmpeg and ffprobe installed at