PostgreSQL Installation
PostgreSQL Instalattion
PostgreSQL Configuration
PostgreSQL Version Check
Verify that you have installed PostgreSQL 11 or later.
Database Creation
Start by invoking the PostgreSQL shell as the system Postgres user.
Within the shell, enter the following commands to create the database and user (role), substituting your own value for the password.
Once complete, enter
\q
to exit the PostgreSQL shell.
Verify Service Status
You can verify that authentication works by executing the
psql
command and passing the configured username and password. (Replacelocalhost
with your database server if using a remote database.).
If successful, you will enter a
netbox
prompt. Type\conninfo
to confirm your connection, or type\q
to exit.
Last updated