Post

FileBrowser Install - Debian/Ubuntu - Updated

File Browser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit your files. It allows the creation of multiple users and each user can have there own directory.

Update the Server

1
sudo apt update && sudo apt upgrade

Quick Setup

1
2
curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash
filebrowser -r /path/to/your/files  #Change to your root directory here

Stop Filebrowser by typing Ctrl-C

Default Login Credentials

1
2
Username: admin
Password: admin

Configure Systemctl File

1
sudo nano /etc/systemd/system/filebrowser.service

Paste in the following:

1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Filebrowser
After=network-online.target

[Service]
User=root
Group=root
# Change the /path/to/your/files to your file location
ExecStart=/usr/local/bin/filebrowser -r /path/to/your/files -a 0.0.0.0

[Install]
WantedBy=multi-user.target

Enable and then start the service:

1
2
sudo systemctl enable filebrowser.service
sudo systemctl start filebrowser.service

Check to make sure the service is running:

1
systemctl status filebrowser.service

Should be something like this:

1
2
3
4
5
6
7
8
9
* filebrowser.service - Filebrowser
     Loaded: loaded (/etc/systemd/system/filebrowser.service; enabled; preset: enabled)
     Active: active (running) since Mon 2024-07-08 22:01:59 PDT; 6 days ago
   Main PID: 263 (filebrowser)
      Tasks: 6 (limit: 154400)
     Memory: 696.0K (peak: 14.4M swap: 2.7M swap peak: 2.7M)
        CPU: 725ms
     CGroup: /system.slice/filebrowser.service
             `-263 /usr/local/bin/filebrowser -r /

Log In To Filebrowser

1
http://your_server_ip:8080
This post is licensed under CC BY 4.0 by the author.