PostgreSQLのインストール

カテゴリ:データベース

CentOS/Ubuntu 両対応

yumコマンドを使って、PostgreSQLと拡張モジュールをインストールします。

CentOS 7 の場合:

# yum -y install postgresql-server
# yum -y install postgresql-devel
# yum -y install postgresql-contrib

CentOS 8 以降の場合:

# dnf -y install postgresql-server
# dnf -y install postgresql-devel
# dnf -y install postgresql-contrib

Ubuntu の場合:

# apt -y install postgresql
# apt -y install libpq-dev
# apt -y install postgresql-contrib

公開日時:2014年08月09日 08:34:01
最終更新日時:2022年03月10日 21:17:09

なお、VPS選びで迷ったらこちらの記事で主要VPSのメモリ容量ごとの月額、年額料金を比較していますので、是非参考にしてみてください。

データベースに戻る

このページのトップに戻る