#
Install Filebrowser on Linux
By
Adrien
#
System Specification
#
Steps to follow
- Create a Filebrowser user
sudo adduser filebrowser
sudo passwd filebrowser
sudo groupadd filebrowser
sudo usermod -aG filebrowser filebrowser
sudo su - filebrowser
- Install Filebrowser
curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash
- Configure Filebrowser
filebrowser config init -a **http://192.168.1.xxx** -p **80** -r **/path/files**
- 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
- Enable SystemCtl
systemctl start filebrowser
systemctl enable filebrowser
- 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