PostgreSQLスキルアップノート(自己啓発のための個人サイト)

PostgreSQL9.2のインストール


【一覧に戻る】


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
■■■■ PostgreSQL スキルアップノート
■■■■
■◆■■ PostgreSQL9.2のインストール
■■■■
■■■■
■■■■ 2013/01/13
■■■■ 使用環境:PostgreSQL9.2.2 (CentOS6.2)
                                                                   (C) 2013 ohdb
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━


【マニュアル】


【ダウンロード】

※手順ではyumを使用してインストールするので直接のダウンロードは不要

PostgreSQL RPM Building Project - Yum Repository →●[ダウンロード]


【参考記事】

−



■1■ インストール
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━


1.yumリポジトリのインストール
──────────────────────────────


【□】 rpm -Uvh http://yum.postgresql.org/9.2/redhat/rhel-6-x86_64/pgdg-centos92-9.2-6.noarch.rpm
【参考】関連ページ 

  http://yum.postgresql.org/  の「Repo RPMs」より
  PostgreSQL RPM Building Project - Repository Packages 
  Available Repository RPMs  



2.postgreSQLのインストール
──────────────────────────────

ここではcontribも含めてインストールする。


【□】 yum install postgresql92 postgresql92-server postgresql92-libs postgresql92-contrib




【参考】RPMを入手してインストールする場合
        http://www.postgresql.org/download/
        RPMファイルを任意のディレクトリに格納の上以下により行う。

        cd /download/postgres92    ・・・任意のディレクトリ
        rpm -ivh 〜.rpm            
        ls -lR /usr/pgsql-9.2/     ・・・インストール先




■2■ 参考
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Dependencies Resolved

==========================================================================================
 Package                     Arch          Version                    Repository     Size
==========================================================================================
Installing:
 postgresql92                x86_64        9.2.2-1PGDG.rhel6          pgdg92        959 k
 postgresql92-contrib        x86_64        9.2.2-1PGDG.rhel6          pgdg92        434 k
 postgresql92-libs           x86_64        9.2.2-1PGDG.rhel6          pgdg92        181 k
 postgresql92-server         x86_64        9.2.2-1PGDG.rhel6          pgdg92        3.8 M
Installing for dependencies:
 uuid                        x86_64        1.6.1-10.el6               base           54 k

Transaction Summary
==========================================================================================
Install       5 Package(s)

:
:
:

Installed:
  postgresql92.x86_64 0:9.2.2-1PGDG.rhel6                 postgresql92-contrib.x86_64 0:9.2.2-1PGDG.rhel6
  postgresql92-libs.x86_64 0:9.2.2-1PGDG.rhel6            postgresql92-server.x86_64 0:9.2.2-1PGDG.rhel6

Dependency Installed:
  uuid.x86_64 0:1.6.1-10.el6

Complete!









                                                                                                            
以上
 
inserted by FC2 system