Initial set-up

Install and set-up (the default is v10.23 as of 2023-10-13)

  • Last tested on 2023-10-13 (RHEL 8.8 (Ootpa))
$ sudo yum module list | grep postgresql
$ sudo yum install @postgresql
$ sudo postgresql-setup --initdb

to install a specific version

$ sudo yum install @postgresql:9.6

Resources

Introduction to PostgreSQL for MySQL Users