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

(새 문서: ==개요== ;리눅스 postgresql 클라이언트 설치 ;CentOS postgresql 설치 ==참고 자료== *http://www.yolinux.com/TUTORIALS/LinuxTutorialPostgreSQL.html 분류: PostgreS...)
 
2번째 줄: 2번째 줄:
;리눅스 postgresql 클라이언트 설치
;리눅스 postgresql 클라이언트 설치
;CentOS postgresql 설치
;CentOS postgresql 설치
==확인==
<source lang='cli'>
[root@zetawiki ~]# psql
-bash: psql: command not found
</source>
==설치==
<source lang='cli'>
[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
</source>
<source lang='cli'>
... (생략)
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!
</source>
==확인 2==
<source lang='cli'>
[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"?
</source>


==참고 자료==
==참고 자료==

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