Web 文件管理器 File Browser

Web 文件管理器 File Browser

0927

File Browser

File Browser is a create-your-own-cloud-kind of software where you can install it on a server,
direct it to a path and then access your files through a nice web interface.
You have many available features!

文件浏览器是一种创建自己的云类型的软件,你可以在服务器上安装它,
引导它到一个路径,然后通过一个漂亮的网络界面访问你的文件。
您有许多可用的功能!

Clear and simple interface

Allows these operations over the files:
        Upload
        Download
        Delete
        Edit
        Preview

User administration
        You can create multiple users and each user have their own directory

Easy to install

Username: admin
Password: admin
图片[1]-Web 文件管理器 File Browser - 梁大路seo-梁大路seo
安装

Brew
brew tap filebrowser/tap
brew install filebrowser

Unix

curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash

windows

iwr -useb https://raw.githubusercontent.com/filebrowser/get/master/get.ps1 | iex

Docker

docker run \
    -v /path/to/root:/srv \
    -v /path/filebrowser.db:/database.db \
    -v /path/.filebrowser.json:/.filebrowser.json \
    --user $(id -u):$(id -g)
    -p 80:80 \
    filebrowser/filebrowser

启动

mkdir /storage
nohup filebrowser -a IP -b / -p 8000 -r /storage/ &

服务

sudo adduser --system --group --HOME /var/lib/filebrowser/ --shell /usr/sbin/nologin --no-create-home filebrowser
mkdir -p /var/lib/filebrowser/storage
sudo chown -Rc filebrowser:filebrowser /var/lib/filebrowser
sudo mkdir /etc/filebrowser
sudo touch /etc/filebrowser/.filebrowser.toml
sudo touch /var/log/filebrowser.log
sudo chown -c filebrowser:filebrowser /var/log/filebrowser.log
address  = "Put here your IP or URL"
port          = 8080
root          = "/var/lib/filebrowser/storage"
database = "/var/lib/filebrowser/filebrowser.db"
log          = "/var/log/filebrowser.log"

sudo systemctl edit --force --full filebrowser

[Unit]
Description=Web File Browser
After=network.target

[Service]
Type=simple
ExecStart=/usr/local/bin/filebrowser
User=filebrowser
Group=filebrowser

[Install]
WantedBy=multi-user.target
$ sudo systemctl enabled filebrowser

$ sudo systemctl start filebrowser

$ sudo systemctl stop filebrowser

$ sudo systemctl status filebrowser

© 版权声明
THE END
喜欢就支持以下吧
点赞7
分享
评论 抢沙发
wangjianjilei的头像-梁大路seo

昵称

取消
昵称