일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- Octavia
- Kubernetes
- grafana-loki
- yum
- ceph
- golang
- nfs-provisioner
- KVM
- Linux
- Ansible
- kolla-ansible
- Kubeflow
- OpenStack
- repository
- cloud-init
- ceph-ansible
- awx
- archlinux
- cephadm
- i3
- pacman
- kolla
- k8s
- Arch
- terraform
- HTML
- ubuntu
- port open
- libvirt
- Docker
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=#
반응형