CentOS PostgreSQL 클라이언트 설치

Jmnote (토론 | 기여)님의 2015년 9월 22일 (화) 10:29 판 (→‎참고 자료)

1 개요

리눅스 postgresql 클라이언트 설치
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 참고 자료