# Install Filebrowser on Linux

By
Adrien

# System Specification

Recommanded
Processor 1 vCore
Memory 1GB RAM
Storage 5Go (minimum)

# Steps to follow

  1. Create a Filebrowser user
sudo adduser filebrowser
sudo passwd filebrowser
sudo groupadd filebrowser
sudo usermod -aG filebrowser filebrowser
sudo su - filebrowser
  1. Install Filebrowser
curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash
  1. Configure Filebrowser
filebrowser config init -a **http://192.168.1.xxx** -p **80** -r **/path/files**
  1. Configure SystemCtl
nano /etc/systemd/system/filebrowser.service
[Unit]
Description=Filebrowser
After=network-online.target

[Service]
User=root
Group=root

ExecStart=/usr/local/bin/filebrowser -a 192.168.1.104 -p 80 -r /nfs-user

[Install]
WantedBy=multi-user.target
  1. Enable SystemCtl
systemctl start filebrowser
systemctl enable filebrowser
  1. Startup option

Set PVE option : "start at boot" to yes, "order" to 2

Systemd shutting down on terminal close
https://unix.stackexchange.com/questions/522545/systemd-shutting-down-when-terminal-is-closed