Kubernetes 이야기

CentOS8 Postgres 12 설치 본문

Database/Postgres

CentOS8 Postgres 12 설치

kmaster 2022. 10. 1. 17:13
반응형

설치

repo 등록

dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
dnf -qy module disable postgresql

설치

dnf install -y postgresql12-server

init

# /usr/pgsql-12/bin/postgresql-12-setup initdb
Initializing database ... OK

enable

systemctl enable postgresql-12

start

 systemctl start postgresql-12

psql

# su - postgres
$ psql
psql (12.12)
Type "help" for help.

postgres=#

 

반응형
Comments