티스토리 뷰

# PostgreSQL repository 설치
$ rpm -Uvh https://yum.postgresql.org/10/redhat/rhel-7-x86_64/pgdg-centos10-10-2.noarch.rpm

# PostgresQL 설치
$ yum install postgresql10-server postgresql10

# PostgreSQL DB 초기화
$ /usr/pgsql-10/bin/postgresql-10-setup initdb

#PostgreSQL 실행
$ systemctl start postgresql-10.service
$ systemctl enable postgresql-10.service

# postgre 계정 비밀번호 변경
$ su - postgres -c "psql"

psql (10.0)
Type "help" for help.
postgres=# \password postgres

댓글
댓글쓰기 폼
«   2020/08   »
            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          
Total
411,868
Today
20
Yesterday
143
글 보관함