Zum Inhalt

Setting up a PFS-Server

This document describes the setup of a PFS server. It is useful to become familiar with the concepts and features of PFS before installing an own server. Therefore, see the Concepts documentation page.

Installation

Navigate to the directory where the server should be installed and install PFS with TomatenPack:

tomatenpack install protectedfileserver

This also installs all dependencies, as well as TomatenHTTP.

random.txt

To enhance the security of TomatenHTTP's random generator, you can optionally create a file named random.txt in the installation directory and fill it with some random content. For example, this content can be generated by pressing random keys on your keyboard. The presence of the random.txt file improves the generation of random data such as session cookies.

Configuration

To configure a PFS instance, you have to create a TomatenHTTP app and configure it. By default, the TomatenPack package provides an example configuration at apps/pfs.toml. Adjust the configuration so that it matches your needs.

Therefore, see the Server Configuration page.