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

잔글 (봇: 자동으로 텍스트 교체 (-== 참고 자료 == +==참고==))
 
(사용자 2명의 중간 판 14개는 보이지 않습니다)
1번째 줄: 1번째 줄:
==개요==
==개요==
;리눅스 postgresql 클라이언트 설치
;리눅스 postgresql 클라이언트 설치
;리눅스 psql 설치
;CentOS postgresql 설치
;CentOS postgresql 설치


==확인==
==확인==
<source lang='cli'>
<source lang='console'>
[root@zetawiki ~]# psql
[root@zetawiki ~]# psql -V
-bash: psql: command not found
-bash: psql: command not found
</source>
</source>


==설치==
==설치==
<source lang='cli'>
<source lang='console'>
[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)
29번째 줄: 30번째 줄:
Is this ok [y/N]: y
Is this ok [y/N]: y
</source>
</source>
<source lang='cli'>
<source lang='console'>
... (생략)
... (생략)
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!
41번째 줄: 42번째 줄:


==확인 2==
==확인 2==
<source lang='cli'>
<source lang='console'>
[root@zetawiki ~]# psql
[root@zetawiki ~]# psql -V
psql: could not connect to server: No such file or directory
psql (PostgreSQL) 8.4.20
Is the server running locally and accepting
contains support for command-line editing
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
</source>
</source>


==참고 자료==
==같이 보기==
*[[우분투 PostgreSQL 클라이언트 설치]]
*[[CentOS PostgreSQL 서버 설치]]
*[[리눅스 psql]]
*[[PHP에서 PostgreSQL 사용]]
*[[PostgreSQL]]
 
==참고==
*http://www.yolinux.com/TUTORIALS/LinuxTutorialPostgreSQL.html
*http://www.yolinux.com/TUTORIALS/LinuxTutorialPostgreSQL.html


[[분류: PostgreSQL]]
[[분류: PostgreSQL]]
[[분류: yum 설치]]
[[분류: yum 설치]]

2017년 6월 27일 (화) 01:52 기준 최신판

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 -V
psql (PostgreSQL) 8.4.20
contains support for command-line editing

5 같이 보기[ | ]

6 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}