일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
Tags
- ceph
- grafana-loki
- archlinux
- pacman
- OpenStack
- awx
- cephadm
- golang
- ceph-ansible
- kolla-ansible
- ubuntu
- Ansible
- repository
- kolla
- Kubernetes
- HTML
- yum
- Docker
- Octavia
- Kubeflow
- libvirt
- i3
- k8s
- Linux
- KVM
- cloud-init
- terraform
- nfs-provisioner
- Arch
- port open
Archives
- Today
- Total
YJWANG
[DB] postgreSQL 12 설치 (CentOS 8.x) 본문
refer to
설치
https://www.postgresql.org/download/linux/redhat/
[root@kube62_deploy_0 postgreSQL]# dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
...
[root@kube62_deploy_0 postgreSQL]# dnf -qy module disable postgresql
[root@kube62_deploy_0 postgreSQL]# dnf install -y postgresql12-server
...
[root@kube62_deploy_0 postgreSQL]# /usr/pgsql-12/bin/postgresql-12-setup initdb
Initializing database ... OK
[root@kube62_deploy_0 postgreSQL]# systemctl enable postgresql-12
Created symlink /etc/systemd/system/multi-user.target.wants/postgresql-12.service → /usr/lib/systemd/system/postgresql-12.service.
[root@kube62_deploy_0 postgreSQL]# systemctl start postgresql-12
DB 접속
[root@kube62_deploy_0 postgreSQL]# su - postgres
[postgres@kube62_deploy_0 ~]$ psql
psql (12.5)
Type "help" for help.
postgres=#
반응형