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

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


Transaction Summary
Transaction Summary
================================================================================
=====================================================================================================
Install      1 Package(s)
Install      1 Package(s)
Upgrade      1 Package(s)
Upgrade      1 Package(s)
33번째 줄: 33번째 줄:
... (생략)
... (생략)
Installed:
Installed:
   postgresql.x86_64 0:8.4.20-2.el6_6                                           
   postgresql.x86_64 0:8.4.20-5.el6_7                                                               


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


Complete!
Complete!

2016년 3월 23일 (수) 14:51 판

1 개요

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

2 확인

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

3 설치

[root@zetawiki ~]# yum install postgresql
... (생략)
=====================================================================================================
 Package                     Arch               Version                    Repository           Size
=====================================================================================================
Installing:
 postgresql                  x86_64             8.4.20-5.el6_7             updates             2.6 M
Updating for dependencies:
 postgresql-libs             x86_64             8.4.20-5.el6_7             updates             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-5.el6_7                                                                 

Dependency Updated:
  postgresql-libs.x86_64 0:8.4.20-5.el6_7                                                            

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 참고 자료