「Apt レポジトリ」の版間の差分
(ページの作成:「Pgpool-IIのDebian/Ubuntuパッケージは、[https://wiki.postgresql.org/wiki/Apt PostgreSQL apt repository]から入手できます。 Aptリポジトリを使用し…」) |
(相違点なし)
|
2022年3月18日 (金) 03:41時点における版
Pgpool-IIのDebian/Ubuntuパッケージは、PostgreSQL apt repositoryから入手できます。
Aptリポジトリを使用してパッケージをインストールする手順は以下の通りです。
- Create the file repository configuration:
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
- Import the repository signing key:
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
- Update the package lists:
sudo apt-get update
- Install the latest version of Pgpool-II. Specify the specific version of PostgreSQL which you are using, e.g. postgresql-14-pgpool2:
sudo apt-get -y install pgpool2 libpgpool2 postgresql-14-pgpool2