CentOS7 PostgreSQL

    PostgreSQL 외부접속 설정

    PostgreSQL 외부접속 설정

    OS : CentOS7.9 DB : PostgreSQL9.6 [root@localhost ~]# su - postgres -bash-4.2$ psql psql (9.6.20) Type "help" for help. # doit계정 생성 postgres=# create user doit superuser; CREATE ROLE # doit계정 Password 설정 postgres=# alter user doit with password '123123'; ALTER ROLE # doitDB생성 및 doit계정에게 권한 부여 postgres=# create database doitDB with owner doit encoding 'UTF8'; CREATE DATABASE # 생성된 DB확인 (doitDB) p..

    PostgreSQL9.x Install

    PostgreSQL9.x Install

    OS : CentOS7.9 DB : PostgreSQL9.6 소개 PostgreSQL은 현재 높은 인기를 자랑하는 오픈소스 RDMBS이다. 오랜 역사와 많은 레퍼런스를 가지기 때문에 안정성에서도 많은 신뢰를 얻고있다. 국내에서는 MySQL을 많이 사용하지만 기업에서 배포하는 방식으로 사용 시 라이선스 문제가 있음. Postgresql의 경우 BSD와 MIT와 비슷한 Liberal Open Source License를 따름 설치 # yum -y install https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm # yum -y install postgresql96 post..