"CentOS PostgreSQL 클라이언트 설치"의 두 판 사이의 차이

잔글 (Jmnote 사용자가 리눅스 PostgreSQL 클라이언트 psql 설치 문서를 CentOS PostgreSQL 클라이언트 psql 설치 문서로 옮겼습니다)
잔글 (Jmnote 사용자가 CentOS PostgreSQL 클라이언트 psql 설치 문서를 CentOS PostgreSQL 클라이언트 설치 문서로 옮겼습니다)
(차이 없음)

2015년 12월 28일 (월) 11:11 판

1 개요

리눅스 postgresql 클라이언트 설치
리눅스 psql 설치
CentOS postgresql 설치

2 확인

[root@zetawiki ~]# psql
-bash: psql: command not found

3 설치

[root@zetawiki ~]# yum install postgresql
... (생략)
================================================================================
 Package                Arch          Version                 Repository   Size
================================================================================
Installing:
 postgresql             x86_64        8.4.20-2.el6_6          base        2.6 M
Updating for dependencies:
 postgresql-libs        x86_64        8.4.20-2.el6_6          base        202 k

Transaction Summary
================================================================================
Install       1 Package(s)
Upgrade       1 Package(s)

Total download size: 2.8 M
Is this ok [y/N]: y
... (생략)
Installed:
  postgresql.x86_64 0:8.4.20-2.el6_6                                            

Dependency Updated:
  postgresql-libs.x86_64 0:8.4.20-2.el6_6                                       

Complete!

4 확인 2

[root@zetawiki ~]# psql
psql: could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

5 같이 보기

6 참고 자료