Server Dock

PORADNIKI · GRY I USŁUGI · postgresql

Jak uruchomić serwer PostgreSQL Database Server

Dedykowany serwer PostgreSQL Database Server zarządzany przez Server Dock (Windows · Linux). Automatyczna instalacja, konsola na żywo, konfiguracja i kopie zapasowe.

System: Windows · LinuxRAM: od 2 GBDysk: od 5 GBIzolowany kontener aplikacji

Kalkulator realnego zużycia · PostgreSQL Database Server

Oszacuj rzeczywiste zużycie RAM, CPU i dysku dla graczy, mapy i klastra.

Realnie potrzebny RAM
~2.5 GB
Maksimum katalogowe: 2 GB
Zalecane CPU
2 vCPU
Dysk (z kopiami)
12 GB
Polecany VDS
VDS Starter (2 vCPU · 4 GB RAM)

Dla małych grup (2–10 osób) realne zużycie jest często znacznie niższe niż maksimum.

Instrukcja instalacji krok po kroku

  1. 1. Zainstaluj agenta Server Dock na PC, Steam Deck lub Linux VPS

    Załóż darmowe konto na server-dock.net. Pobierz instalator ze strony Pobierz i uruchom go na Windows 10/11 (x64) lub Linux / VPS / Steam Deck (x86-64). W kreatorze kliknij „Подключить мой аккаунт” (Połącz moje konto) i wpisz na stronie 8-znakowy kod. Python jest już w pakiecie.

    # Windows (PowerShell)
    irm https://server-dock.net/install.ps1 | iex
    
    # Linux
    curl -fsSL https://server-dock.net/install.sh | bash

    All installers: Windows, Linux, Steam Deck, VDS

  2. 2. Utwórz serwer „PostgreSQL Database Server” z katalogu

    Otwórz „Gry i usługi” w panelu → znajdź „PostgreSQL Database Server” → wybierz urządzenie. Panel sprawdzi wolną pamięć (zalecane 2 GB+ RAM) oraz miejsce na dysku (5 GB+).

  3. 3. Przygotowanie i instalacja (Izolowany kontener aplikacji)

    Wdrażany w izolowanym kontenerze bez ingerencji w biblioteki systemu.

  4. 4. Skonfiguruj parametry i uruchom serwer

    Ustaw nazwę serwera, hasło, mapę/świat i porty (5432 (Port serwera)) w zakładce „Ustawienia”, a następnie kliknij Start. Konsola na żywo pokaże gotowość serwera.

  5. 5. Zaproś znajomych na serwer

    Otwórz zakładkę „Połączenie”: przekieruj porty (5432 (Port serwera)) na routerze/VPS lub włącz Porthole, Playit albo kreator VPS (bez publicznego IP). Wyślij znajomym link zaproszenia 1 kliknięciem.

Porty sieciowe · PostgreSQL Database Server

Aby znajomi mogli łączyć się bezpośrednio, przekieruj te porty na routerze lub w zaporze VPS. Masz CGNAT? Włącz Porthole, Playit lub kreator tunelu VPS w Server Dock.

PrzeznaczenieDomyślny portOpis
Port serwera5432Domyślny port sieciowy serwera.

Główne ustawienia w panelu

ParametrDomyślnieOpis
Port serwera5432Konfigurowalne w panelu webowym przed uruchomieniem.
Listen Addresses—Konfigurowalne w panelu webowym przed uruchomieniem.
Max Connections100Konfigurowalne w panelu webowym przed uruchomieniem.
Shared Buffers128Konfigurowalne w panelu webowym przed uruchomieniem.
Work Mem4Konfigurowalne w panelu webowym przed uruchomieniem.
Effective Cache Size4096Konfigurowalne w panelu webowym przed uruchomieniem.

Kopie zapasowe i zapisy

Podczas tworzenia kopii zapasowej Server Dock automatycznie archiwizuje: data, data/postgresql.conf.

Oficjalna dokumentacja

Dodatkowe parametry gry opisano w oficjalnej dokumentacji PostgreSQL Database Server ↗.

PostgreSQL Database Server Server FAQ

  1. How do I host a PostgreSQL Database Server dedicated server on my own PC?

    Sign up for Server Dock, install the lightweight Windows or Linux agent, pick PostgreSQL Database Server from the catalog, and click Create. Server files and dependencies are installed automatically.

  2. What are the RAM, disk, and OS requirements for a PostgreSQL Database Server server?

    Recommended minimum: 2 GB RAM and 5 GB free disk space. Supported platforms: Windows · Linux.

  3. Which ports does PostgreSQL Database Server use, and can friends join without port forwarding?

    Default PostgreSQL Database Server ports: 5432. You can forward them on your router or enable the built-in Playit / Porthole tunnel in one click with zero router changes.

  4. Is Server Dock free for hosting a PostgreSQL Database Server server?

    Yes. Server Dock Free is free forever and keeps all PostgreSQL Database Server worlds, mods, and backups locally on your own PC or VPS.

Ready to host your PostgreSQL Database Server server?

Create a free account or sign in to Server Dock—our agent downloads PostgreSQL Database Server, configures ports, and launches your world in minutes.

Więcej poradników w kategorii „Gry i Usługi”