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
- Refresh the package list
- Install PostgreSQL
- Initialize and start PostgreSQL
- Listen on this server only
- 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.