From f3941ceab04c62ff185d3c6d6680f8c0f37cb62f Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Fri, 20 Apr 2018 10:31:42 +0900 Subject: [PATCH] doc: Improve CentOS package-related documentation --- doc/appendix-packages.sgml | 97 ++++++++++++++++++++++++-------------- doc/install-packages.sgml | 7 ++- 2 files changed, 68 insertions(+), 36 deletions(-) diff --git a/doc/appendix-packages.sgml b/doc/appendix-packages.sgml index c322ebcf..d0438ca2 100644 --- a/doc/appendix-packages.sgml +++ b/doc/appendix-packages.sgml @@ -32,26 +32,71 @@ Note these &repmgr; RPM packages are not designed to work with SuSE/OpenSuSE. + + CentOS repositories - - The two tables below list relevant information, paths, commands etc. for the &repmgr; packages on - CentOS 7 (with systemd) and CentOS 6 (no systemd). Substitute the appropriate PostgreSQL major - version number for your installation. - + + &repmgr; packages are available from the 2ndQuadrant repository, and also the PostgreSQL + community repository. The 2ndQuadrant repository is updated immediately after each + &repmgr; release. + + + + 2ndQuadrant repository + + + + Repository URL: + http://packages.2ndquadrant.com/repmgr/ + + + Repository documentation: + https://repmgr.org/docs/4.0/installation-packages.html#INSTALLATION-PACKAGES-REDHAT-2NDQ + + + +
+ + + PostgreSQL community repository (PGDG) + + + + Repository URL: + https://yum.postgresql.org/repopackages.php + + + Repository documentation: + https://yum.postgresql.org/ + + + +
+ +
+ + + CentOS package details - - For PostgreSQL 9.6 and lower, the CentOS packages use a mixture of 9.6 - and 96 in various places to designate the major version; e.g. the - package name is repmgr96, but the binary directory is - /var/lib/pgsql/9.6/data. + The two tables below list relevant information, paths, commands etc. for the &repmgr; packages on + CentOS 7 (with systemd) and CentOS 6 (no systemd). Substitute the appropriate PostgreSQL major + version number for your installation. - - From PostgreSQL 10, the first part of the version number (e.g. 10) is - the major version, so there is more consistency in file/path/package naming - (package repmgr10, binary directory /var/lib/pgsql/10/data). - - + + + + For PostgreSQL 9.6 and lower, the CentOS packages use a mixture of 9.6 + and 96 in various places to designate the major version; e.g. the + package name is repmgr96, but the binary directory is + /var/lib/pgsql/9.6/data. + + + From PostgreSQL 10, the first part of the version number (e.g. 10) is + the major version, so there is more consistency in file/path/package naming + (package repmgr10, binary directory /var/lib/pgsql/10/data). + + @@ -59,15 +104,6 @@ - - Repository URL: - https://yum.postgresql.org/repopackages.php - - - - Repository documentation: - https://yum.postgresql.org/ - Package name example: @@ -128,15 +164,6 @@ - - Repository URL: - https://yum.postgresql.org/repopackages.php - - - - Repository documentation: - https://yum.postgresql.org/ - Package name example: @@ -192,6 +219,6 @@
- +
diff --git a/doc/install-packages.sgml b/doc/install-packages.sgml index 41f733e1..314c4acd 100644 --- a/doc/install-packages.sgml +++ b/doc/install-packages.sgml @@ -9,7 +9,7 @@ installation - on Redhat/CentOS/Fedora etc. + on Red Hat/CentOS/Fedora etc. RedHat/Fedora/CentOS @@ -26,6 +26,11 @@ at the same time as each &repmgr; release, as it can take some days for them to become available via the main PGDG repository. See following section for details: + + For more information on the package contents, including details of installation + paths and relevant service commands, + see the appendix section . +