Skip to content

Sådan installeres Fathom på Ubuntu

Cloud Infrastructure Expert
Sådan installeres Fathom på Ubuntu

 

 

Installation af Fathom på din VPS-server er en enkel proces. Følg trinene nedenfor for at opsætte Fathom til dine webanalysebehov.

Trin 1: Opdater dit system

        sudo apt update && sudo apt upgrade -y
    

Trin 2: Installer nødvendige afhængigheder

Du skal installere Docker og Docker Compose:

        sudo apt install docker.io docker-compose -y
    

Trin 3: Opret en mappe til Fathom

Opret en mappe, hvor Fathom vil blive installeret:

        mkdir ~/fathom
        cd ~/fathom
    

Trin 4: Opret en Docker Compose-fil

Opret en fil med navnet docker-compose.yml i Fathom-mappen:

        nano docker-compose.yml
    

Og tilføj følgende konfiguration:

        version: '3'
        services:
          fathom:
            image: usefathom/fathom
            ports:
              - "8000:8000"
            environment:
              - FATHOM_DB_HOST=db
              - FATHOM_DB_USER=fathom
              - FATHOM_DB_PASSWORD=your_password
              - FATHOM_DB_NAME=fathom
            depends_on:
              - db
          db:
            image: postgres
            environment:
              - POSTGRES_USER=fathom
              - POSTGRES_PASSWORD=your_password
              - POSTGRES_DB=fathom
    

Erstat your_password med en sikker adgangskode.

Trin 5: Start Fathom

Kør følgende kommando for at starte Fathom:

        sudo docker-compose up -d
    

Trin 6: Få adgang til Fathom

Fathom skulle nu køre på din VPS-server. Du kan få adgang til det ved at navigere til http://your_server_ip:8000 i din webbrowser.

Konklusion

Ved at følge disse trin har du succesfuldt installeret Fathom på din VPS-server. Du kan nu begynde at bruge Fathom til privatlivsorienteret webanalyse!

Windows VPS Deutschland

Windows VPS España

Windows VPS Nederland

Windows VPS Italia

Windows VPS Portugal

VPS Windows Italia

Windows VPS

Windows VPS

Windows VPS Sverige

Windows VPS Norge

Windows VPS

Windows VPS Türkiye

Windows RDS (Remote Desktop Services)

Windows VPS

Explore more

More on this topic

Netcloud24
Netcloud24
Cloud Infrastructure Expert · NetCloud24

Comments are closed.