PostgreSQL 12 Installation in RHEL8 Server

[root@testdbsvr01~]# dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
[root@testdbsvr01~]# dnf -qy module disable postgresql

 

[root@testdbsvr01~]# dnf install -y postgresql12-server

[root@testdbsvr01~]# dnf install -y postgresql12-contrib

[root@testdbsvr01~]# /usr/pgsql-12/bin/postgresql-12-setup initdb
Initializing database ... OK

Subscribe to PostgreSQL