PostgreSQL13 Install
1.
dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
2.
dnf -qy module disable postgresql
dnf -qy module disable postgresql
3.
dnf install -y postgresql13-server
dnf install -y postgresql13-server
4.
選択
* PGSETUP_INITDB_OPTIONS="-E UTF8 --locale=C" /usr/pgsql-13/bin/postgresql-13-setup initdb
* /usr/pgsql-13/bin/postgresql-13-setup initdb
5.
systemctl enable postgresql-13
6.
systemctl start postgresql-13
su postgres
psql
\l
alter role postgres with password 'dbPasswd123';
create database testdb1;
\q
firewall-cmd --add-port=5432/tcp --zone=public --permanent
firewall-cmd --reload
systemctl restart postgresql-13