Run FileBrowser Quantum natively on Linux using the binary releases.
Download link
- Go to releases page
- Download the appropriate binary (stable or beta):
linux-amd64-filebrowser (64-bit)linux-arm64-filebrowser (64-bit)linux-armv6-filebrowser (32-bit)linux-armv7-filebrowser (32-bit)
Make Executable link
1
| chmod +x filebrowser-linux-amd64
|
Optional: Install FFmpeg link
1
2
3
4
5
6
7
8
| # Debian/Ubuntu
sudo apt install ffmpeg
# RHEL/CentOS/Fedora
sudo dnf install ffmpeg
# Arch Linux
sudo pacman -S ffmpeg
|
Create Configuration link
Interactive setup:
1
| ./filebrowser-linux-amd64 setup
|
Or create config.yaml:
1
2
3
4
5
6
7
8
| server:
port: 80
sources:
- path: "/home/user/files"
config:
defaultEnabled: true
auth:
adminUsername: admin
|
Run FileBrowser link
1
| ./filebrowser-linux-amd64 -c config.yaml
|
Access at http://localhost:80
Run as Systemd Service link
Step 1: Move Binary link
1
2
| sudo mv filebrowser-linux-amd64 /usr/local/bin/filebrowser
sudo chmod +x /usr/local/bin/filebrowser
|
Step 2: Create Service File link
Create /etc/systemd/system/filebrowser.service:
1
2
3
4
5
6
7
8
9
10
11
12
13
| [Unit]
Description=FileBrowser Quantum
After=network.target
[Service]
Type=simple
User=filebrowser
WorkingDirectory=/opt/filebrowser
ExecStart=/usr/local/bin/filebrowser -c /opt/filebrowser/config.yaml
Restart=on-failure
[Install]
WantedBy=multi-user.target
|
Step 3: Create User and Directory link
1
2
3
| sudo useradd -r -s /bin/false filebrowser
sudo mkdir -p /opt/filebrowser
sudo chown filebrowser:filebrowser /opt/filebrowser
|
Step 4: Move Config link
1
2
| sudo mv config.yaml /opt/filebrowser/
sudo chown filebrowser:filebrowser /opt/filebrowser/config.yaml
|
Step 5: Enable and Start link
1
2
3
| sudo systemctl daemon-reload
sudo systemctl enable filebrowser
sudo systemctl start filebrowser
|
Check Status link
1
| sudo systemctl status filebrowser
|
Next Steps link