본문 바로가기

노력/회사

PostgreSQL 설치

오픈소스 데이터베이스인 PostgreSQL를 설치해봅시다.

 

https://www.postgresql.org/

 

PostgreSQL: The world's most advanced open source database

PostgreSQL is a powerful, open source object-relational database system with over 30 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance. There is a wealth of information to be found descr

www.postgresql.org

먼저, PostgreSQL의 공식홈페이지에 접속합니다.

 

다운로드를 눌러서 인스톨러에 접근합니다.

 

저는 윈도우를 사용하기 때문에 윈도우 인스톨러를 다운로드 하겠습니다.

 

https://www.enterprisedb.com/downloads/postgres-postgresql-downloads

 

PostgreSQL Database Download | EnterpriseDB

PostgreSQL Database Download

www.enterprisedb.com

 

설치를 시작하면 자동으로 필요한 기능들을 다운로드 받아줍니다.

 

 

그대로 몇 번 Next를 눌러주면 설치가 진행됩니다.

 

언어를 고르는 탭이 있어서 Korean, Korea를 선택합니다.

 

 

저는 학습 용도로 활용할 계획이라서 추가적인 기능은 설치하지 않도록 하겠습니다.

 

 

Finish를 누르면 설치는 완료가 됐습니다.

 

학습을 위해서 몇가지 설정을 하도록 하겠습니다.

 

C:\Program Files\PostgreSQL\9.4\data\postgresql.conf

 

다운로드 받은 경로의 data\postgresql.conf에서

 

listen_address = '*'을

 

listen_address = 'localhost'로 변경해줍니다.

 

이렇게 하고 나면 로컬호스트의 접근만 허용하도록 설정된 PostgreSQL의 설치가 완료됩니다.