CentOS 7에서 PostgreSQL 10.2, PostGIS 2.4.3 설치(인터넷 환경)

# postgresql10, postgis YUM 저장소 업데이트 rpm -Uvh https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/pgdg-centos10-10-2.noarch.rpm 위의 url은 변경될 수 있으며 2020년 8월 31일에는 rpm -Uvh https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm로 하여 설치를 진행했으며, postgresql은 10.10.14를, postgis는 3.0.2를 설치하였음. # 데이터베이스 설치 yum install postgresql10-server.x86_64 postgresql10 # 데이터베이스 저장소 생성 cd /usr/pgsql-10/bin/ ./postgresql-10-setup initdb # 서비스 실행 systemctl enable postgresql-10 systemctl enable postgresql-10.service systemctl start postgresql-10.service … CentOS 7에서 PostgreSQL 10.2, PostGIS 2.4.3 설치(인터넷 환경) 계속 읽기