User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
services:filebrowser [2024/03/22 07:59] – created willyservices:filebrowser [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-===== Fileserver access via Browser ===== 
  
-There are a few software out there, but i like [[https://filebrowser.org/|File Browser]] a lot because it's lightweight, don't get in the way, is flexible and simple to use, but i do not like the default installation method of FileBrowser because it will install system-wide. I will show you how to install in a more customized way. 
- 
-//FileBrowser// will run as the **fileserver** user that you created above. You will need to create the following folders architecture in your *fileserver* home folder: 
-- bin: where the FileBrowser binary will be located 
-- data/db: where the FileBrowser databases files will be stored 
-- data/logs: where the various log files will be created 
- 
-You need to set the //umask// for the user to **0002** so that any new files created by it will be writable by the users. 
- 
-Then, as //fileserver// user, get the software package and decompress it. The default install approach is based on a auto executable web link ([[https://raw.githubusercontent.com/filebrowser/get/master/get.sh|here]]) which i do not recommend to use directly. Instead go to [[https://github.com/filebrowser/filebrowser/releases/|here]] and download the proper package for your architecture. Then: 
-<code bash> 
-su - fileserver 
-echo "umask 0002" >> ~/.bashrc 
-source ~/.bashrc 
-mkdir bin data data/logs data/db 
-cd bin 
-tar xvf ../linux-amd64-filebrowser.tar.gz 
-</code> 
- 
-Now, you will need to start a copy of FileBrowser for each share you want to have, and it must be owned by the user that want file permissions on that share. To achieve this, you will be using a special script called **fileserver.sh** which i will show you at the end, because it will contain also the WebDAV start stuff in it.