はじめに
CentOSの初期設定では、PostgreSQLはbaseリポジトリからインストールされるようになっている。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
$ yum list postgresql* 読み込んだプラグイン:fastestmirror Determining fastest mirrors * base: ftp.tsukuba.wide.ad.jp * extras: ftp.tsukuba.wide.ad.jp * updates: ftp.tsukuba.wide.ad.jp 利用可能なパッケージ postgresql.i686 8.4.20-5.el6_7 updates postgresql.x86_64 8.4.20-5.el6_7 updates postgresql-contrib.x86_64 8.4.20-5.el6_7 updates postgresql-devel.i686 8.4.20-5.el6_7 updates postgresql-devel.x86_64 8.4.20-5.el6_7 updates postgresql-docs.x86_64 8.4.20-5.el6_7 updates postgresql-jdbc.noarch 8.4.704-2.el6 base postgresql-libs.i686 8.4.20-5.el6_7 updates postgresql-libs.x86_64 8.4.20-5.el6_7 updates postgresql-odbc.x86_64 08.04.0200-1.el6 base postgresql-plperl.x86_64 8.4.20-5.el6_7 updates postgresql-plpython.x86_64 8.4.20-5.el6_7 updates postgresql-pltcl.x86_64 8.4.20-5.el6_7 updates postgresql-server.x86_64 8.4.20-5.el6_7 updates postgresql-test.x86_64 8.4.20-5.el6_7 updates |
PostgreSQLのyumリポジトリの追加
PostgreSQLは、公式の yum リポジトリを提供しているので、そのリポジトリを指定してインストールするように設定を変更する。
Continue reading “CentOS 6.7 に PostgreSQL 9.5 を yumでインストールする手順”