From 75e5d79654fbd537b7d07adc74ba797785d0906e Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Tue, 31 Jul 2018 10:53:04 +0900 Subject: [PATCH] doc: update Debian installation instructions 2ndQuadrant repository structure has changed. --- doc/install-packages.sgml | 54 ++++++++++++++++----------------------- 1 file changed, 22 insertions(+), 32 deletions(-) diff --git a/doc/install-packages.sgml b/doc/install-packages.sgml index e71b9ebf..6797b2fd 100644 --- a/doc/install-packages.sgml +++ b/doc/install-packages.sgml @@ -76,8 +76,7 @@ For example, for PostgreSQL 10 on CentOS, execute: -curl https://dl.2ndquadrant.com/default/release/get/10/rpm | sudo bash - +curl https://dl.2ndquadrant.com/default/release/get/10/rpm | sudo bash Verify that the repository is installed with: @@ -166,52 +165,43 @@ $ yum install repmgr10 Beginning with repmgr 4.0.5, 2ndQuadrant provides a - public apt repository for 2ndQuadrant software, + public apt repository for 2ndQuadrant software, including &repmgr;. General instructions for using this repository can be found on its - homepage. Specific instructions + homepage. Specific instructions for installing &repmgr; follow below. + Installation - If not already present, install the apt-transport-https package: - -sudo apt-get install apt-transport-https + Install the repository definition for your distribution and PostgreSQL version + (this enables the 2ndQuadrant repository as a source of &repmgr; packages) by executing: + +curl https://dl.2ndquadrant.com/default/release/get/deb | sudo bash - + + + This will automatically install the following additional packages, if not already present: + + + lsb-release + + + apt-transport-https + + + + + - - - Create /etc/apt/sources.list.d/2ndquadrant.list as follows: - -sudo sh -c 'echo "deb https://apt.2ndquadrant.com/ $(lsb_release -cs)-2ndquadrant main" > /etc/apt/sources.list.d/2ndquadrant.list' - - - - - - Install the 2ndQuadrant repository key: - -sudo apt-get install curl ca-certificates -curl https://apt.2ndquadrant.com/site/keys/9904CD4BD6BAF0C3.asc | sudo apt-key add - - - - - - - Update the package list - - sudo apt-get update - -