Skip to content
Shellbay

Databases · about 3 min · 5 steps

PostgreSQL

Installs PostgreSQL from your distribution, listening on this server only.

Runs on

  • Debian / Ubuntu: supported
  • RHEL / Fedora: supported
  • Alpine: supported

What it changes on your server

  • Installs the PostgreSQL server and initializes its data directory if needed.
  • Sets listen_addresses to localhost and starts it at boot.

What Shellbay asks you

Nothing. This workflow needs no details from you.

Steps

  1. Refresh the package list
  2. Install PostgreSQL
  3. Initialize and start PostgreSQL
  4. Listen on this server only
  5. Check PostgreSQL answers

Shellbay checks the server before the first step, and stops at the first step that fails.

When it's done

  • PostgreSQL is running on this server only. Use sudo -u postgres psql to create databases and users.