Created
October 1, 2018 14:12
-
-
Save 798886844/9d2d4ee6f6fbc0f387e5db35ea0a9dc3 to your computer and use it in GitHub Desktop.
FileBrowser安装与使用
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
搭建环境和前面完全一样,也是Docker环境,镜像:`rastasheep/ubuntu-sshd`。 | |
直接安装,系统环境为: | |
```c | |
apt-get update | |
apt-get install -y wget unzip screen | |
``` | |
在此基础之上直接安装FileBrowser即可: | |
```c | |
cd /root | |
mkdir filebrowser | |
cd filebrowser | |
wget https://github.com/filebrowser/filebrowser/releases/download/v1.5.5/linux-amd64-filebrowser.tar.gz | |
tar -zxvf linux-amd64-filebrowser.tar.gz | |
``` | |
然后用`screen`启动: | |
`screen -dmS filebrowser ./filebrowser --port 666 --scope /home` | |
其中:`666`是端口号,可以任意修改,`scope`后面是管理目录,可以任意修改。 | |
然后访问`http://ip:666/`即可查看你的FileBrowser,默认账号和密码都是`admin`。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment