Skip to main content

Install with Snap

FMD Server is published as a snap on the Snap Store.

The snap is intended for easy installation with minimal configuration. This makes it ideal for beginners who are new to self-hosting. If you require more control, please consider the Docker or native Linux installation methods instead.

Install the snap daemon

The snap daemon (snapd) is required to install and run snaps. On Ubuntu, the snap daemon is installed by default. On other distributions, you need to install the snap daemon manually.

Install the FMD Server snap

To install the snap, run:

sudo snap install fmd-server

This will install FMD Server and launch the server as a background service.

Managing the service

To stop, start, or restart the background service:

sudo snap stop fmd-server
sudo snap start fmd-server
sudo snap restart fmd-server

You can also disable/enable the service. By default, the service is enabled, which means that it will start automatically at boot.

sudo snap disable fmd-server
sudo snap enable fmd-server

To view general info and the logs:

sudo snap info fmd-server

# The latest fraction of the logs.
sudo snap logs fmd-server

# All logs. Navigate with the "page up/down" keys.
sudo journalctl -u snap.fmd-server.fmd-server.service

Configuration

FMD Server can be configured using a config.yml file. For the snap-based install, you can edit this file as follows:

sudo nano /var/snap/fmd-server/common/config.yml

Edit the file and save it. For the changes to take effect, please restart FMD Server:

sudo snap restart fmd-server

Backups

The snap stores its data in /var/snap/fmd-server/common/. You should back up this directory.

Uninstall

To install the snap, run:

sudo snap remove fmd-server
danger

The uninstallation deletes all user data!

Next steps

The FMD Server web interface should now be available at http://localhost:8080.

Next, continue to set up a reverse proxy.