• 追加された行はこの色です。
  • 削除された行はこの色です。
* CentOSでユーザーコミュニティリポジトリを使う [#wcc7672b]

** PostgreSQLコミュニティレポジトリ設定ファイルの追加 [#q18c6eea]
 wget http://yum.postgresql.org/9.3/redhat/rhel-6-i386/pgdg-centos93-9.3-1.noarch.rpm
 rpm -ivh pgdg-centos93-9.3-1.noarch.rpm

http://yum.postgresql.org/repopackages.php

** 標準レポジトリ設定ファイルの修正して標準パッケージのPostgreSQLをインストールから除外する [#cc7213e7]
 vi /etc/yum.repos.d/CentOS-Base.repo

 [base]
 (略)
 exclude=postgresql*
 
 [updates]
 (略)
 exclude=postgresql*

*** 標準パッケージが除外された事を確認する [#h4bbf6c4]
 yum info postgresql-server
見つからなければOK。

*** 補足:どのレポジトリを修正するか? [#jcf0ac35]
 yum search postgresql
 yum info postgresql-server
上の結果で"Repo: updates"と"Repo: base"を確認して、/etc/yum/repos.d/以下の該当箇所を探す。

** PostgreSQLのインストール [#c3dfd0fb]
*** パッケージ名の確認 [#f2e2d534]
 yum search postgresql
*** パッケージのインストール [#yce8a09a]
 yum install postgresql93-server

** 参考 [#xc6cee30]
http://lets.postgresql.jp/documents/tutorial/yum/yum



トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS