This is an old revision of the document!
dnf install postgresql-server
postgresql-setup initdb
systemctl enable –now postgresql
sudo su - postgres
$ createuser bacula
$ psql
psql (10.14)
Type “help” for help.
postgres=# ALTER USER bacula PASSWORD 'bacula';
ALTER ROLE
postgres=# ALTER USER bacula LOGIN SUPERUSER CREATEDB CREATEROLE;
ALTER ROLE
postgres=# \q
$ exit
logout