Skip to content

Commit 4ca11b6

Browse files
authored
Backport: Doc update from 0d46fe5, modified for v14 (#786)
1 parent 05294dc commit 4ca11b6

File tree

2 files changed

+34
-30
lines changed

2 files changed

+34
-30
lines changed

docs/installing.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ Percona Distribution for PostgreSQL is the solution with the collection of tools
44

55
This document aims to guide database application developers and DevOps engineer in getting started with Percona Distribution for PostgreSQL. Upon completion of this guide, you’ll have Percona Distribution for PostgreSQL installed and operational, and you’ll be able to:
66

7-
* Connect to PostgreSQL using the `psql` interactive terminal
7+
* Connect to PostgreSQL using the `psql` interactive terminal
88
* Interact with PostgreSQL with basic psql commands
9-
* Manipulate data in PostgreSQL
9+
* Manipulate data in PostgreSQL
1010
* Understand the next steps you can take as a database application developer or administrator to expand your knowledge of Percona Distribution for PostgreSQL
1111

1212
## Install Percona Distribution for PostgreSQL
1313

14-
You can select from multiple easy-to-follow installation options, but **we recommend using a Package Manager** for a convenient and quick way to try the software first.
14+
You can select from multiple easy-to-follow installation options, however **we strongly recommend using a Package Manager** for a convenient and quick way to try the software first.
1515

1616
=== ":octicons-terminal-16: Package manager"
1717

@@ -24,7 +24,6 @@ You can select from multiple easy-to-follow installation options, but **we recom
2424
[Install via apt :material-arrow-right:](apt.md){.md-button}
2525
[Install via yum :material-arrow-right:](yum.md){.md-button}
2626

27-
2827
=== ":simple-docker: Docker"
2928

3029
Get our image from Docker Hub and spin up a cluster on a Docker container for quick evaluation.
@@ -41,15 +40,13 @@ You can select from multiple easy-to-follow installation options, but **we recom
4140

4241
[Get started with Percona Operator :octicons-link-external-16:](https://docs.percona.com/percona-operator-for-postgresql/2.0/quickstart.html){.md-button}
4342

44-
=== ":octicons-download-16: Manual download"
43+
=== ":octicons-download-16: Tar download (not recommended)"
4544

46-
If you need to install Percona Distribution for PostgreSQL offline or as a non-superuser, check out the link below for a step-by-step guide and get access to the downloads directory.
45+
If installing the package (the **recommended** method for a safe, secure, and reliable setup) is not an option, refer to the link below for step-by-step instructions on installing from tarballs using the provided download links.
4746

48-
Note that for this scenario you must make sure that all dependencies are satisfied.
47+
In this scenario, you must ensure that all dependencies are met. Failure to do so may result in errors or crashes.
48+
49+
!!! note
4950

51+
This method is **not recommended** for mission-critical environments.
5052
[Install from tarballs :material-arrow-right:](tarball.md){.md-button}
51-
52-
53-
54-
55-

docs/tarball.md

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
1-
# Install Percona Distribiution for PostgreSQL from binary tarballs
1+
# Install Percona Distribution for PostgreSQL from binary tarballs
22

3-
You can find the binary tarballs on the [Percona website](https://www.percona.com/downloads). Select the desired version from a version dropdown and _All_ from the Select Platform dropdown.
3+
You can download the tarballs using the links below.
44

5-
There are the following tarballs available for both x86-64 and ARM64 architectures:
5+
!!! note
66

7-
* percona-postgresql-{{dockertag}}-ssl1.1-linux-<architecture>.tar.gz - for operating systems that run OpenSSL version 1.x
8-
* percona-postgresql-{{dockertag}}-ssl3-linux-<architecture>.tar.gz - for operating systems that run OpenSSL version 3.x
7+
Unlike package managers, a tarball installation does **not** provide mechanisms to ensure that all dependencies are resolved to the correct library versions. There is no built-in method to verify that required libraries are present or to prevent them from being removed. As a result, unresolved or broken dependencies may lead to errors, crashes, or even data corruption.
8+
9+
For this reason, tarball installations are **not recommended** for environments where safety, security, reliability, or mission-critical stability are required.
10+
11+
The following tarballs are available for the x86_64 and ARM64 architectures:
12+
13+
* [percona-postgresql-{{dockertag}}-ssl1.1-linux-aarch64.tar.gz](https://downloads.percona.com/downloads/postgresql-distribution-14/{{dockertag}}/binary/tarball/percona-postgresql-{{dockertag}}-ssl1.1-linux-aarch64.tar.gz) - for operating systems on ARM64 architecture that run OpenSSL version 1.x
14+
* [percona-postgresql-{{dockertag}}-ssl1.1-linux-x86_64.tar.gz](https://downloads.percona.com/downloads/postgresql-distribution-14/{{dockertag}}/binary/tarball/percona-postgresql-{{dockertag}}-ssl1.1-linux-x86_64.tar.gz) - for operating systems on x86_64 architecture that run OpenSSL version 1.x
15+
* [percona-postgresql-{{dockertag}}-ssl3-linux-aarch64.tar.gz](https://downloads.percona.com/downloads/postgresql-distribution-14/{{dockertag}}/binary/tarball/percona-postgresql-{{dockertag}}-ssl3-linux-aarch64.tar.gz) - for operating systems on ARM64 architecture that run OpenSSL version 3.x
16+
* [percona-postgresql-{{dockertag}}-ssl3-linux-x86_64.tar.gz](https://downloads.percona.com/downloads/postgresql-distribution-14/{{dockertag}}/binary/tarball/percona-postgresql-{{dockertag}}-ssl3-linux-x86_64.tar.gz) - for operating systems on x86_64 architecture that run OpenSSL version 3.x
917

10-
To check what OpenSSL version you have, run the following command:
18+
To check what OpenSSL version you have, run the following command:
1119

1220
```{.bash data-prompt="$"}
1321
$ openssl version
@@ -36,7 +44,7 @@ The tarballs include the following components:
3644

3745
=== "Debian and Ubuntu"
3846

39-
1. Uninstall the upstream PostgreSQL package.
47+
1. Uninstall the upstream PostgreSQL package.
4048
2. Create the user to own the PostgreSQL process. For example, `mypguser`. Run the following command:
4149

4250
```{.bash data-prompt="$"}
@@ -51,7 +59,7 @@ The tarballs include the following components:
5159

5260
=== "RHEL and derivatives"
5361

54-
Create the user to own the PostgreSQL process. For example, `mypguser`, Run the following command:
62+
Create the user to own the PostgreSQL process. For example, `mypguser`, Run the following command:
5563
5664
```{.bash data-prompt="$"}
5765
$ sudo useradd mypguser -m
@@ -75,7 +83,7 @@ The steps below install the tarballs for OpenSSL 3.x on x86_64 architecture. Use
7583
$ sudo chown mypguser:mypguser /opt/pgdistro/
7684
```
7785

78-
3. Fetch the binary tarball:
86+
3. Fetch the binary tarball.
7987

8088
```{.bash data-prompt="$"}
8189
$ wget https://downloads.percona.com/downloads/postgresql-distribution-{{pgversion}}/{{dockertag}}/binary/tarball/percona-postgresql-{{dockertag}}-ssl3-linux-x86_64.tar.gz
@@ -87,12 +95,12 @@ The steps below install the tarballs for OpenSSL 3.x on x86_64 architecture. Use
8795
$ sudo tar -xvf percona-postgresql-{{dockertag}}-ssl3-linux-x86_64.tar.gz -C /opt/pgdistro/
8896
```
8997

90-
5. If you extracted the tarball in a directory other than `/opt`, copy `percona-python3`, `percona-tcl` and `percona-perl` to the `/opt` directory. This is required for the correct run of libraries that require those modules.
91-
98+
5. If you extracted the tarball in a directory other than `/opt`, copy `percona-python3`, `percona-tcl` and `percona-perl` to the `/opt` directory. This is required for the correct run of libraries that require those modules.
99+
92100
```{.bash data-prompt="$"}
93101
$ sudo cp <path_to>/percona-perl <path_to>/percona-python3 <path_to>/percona-tcl /opt/
94102
```
95-
103+
96104
6. Add the location of the binaries to the PATH variable:
97105

98106
```{.bash data-prompt="$"}
@@ -113,7 +121,7 @@ The steps below install the tarballs for OpenSSL 3.x on x86_64 architecture. Use
113121
```
114122

115123
9. Initiate the PostgreSQL data directory:
116-
124+
117125
```{.bash data-prompt="$"}
118126
$ /opt/pgdistro/percona-postgresql{{pgversion}}/bin/initdb -D /usr/local/pgsql/data
119127
```
@@ -133,7 +141,7 @@ The steps below install the tarballs for OpenSSL 3.x on x86_64 architecture. Use
133141
```
134142

135143
??? example "Sample output"
136-
144+
137145
```{.text .no-copy}
138146
waiting for server to start.... done
139147
server started
@@ -152,15 +160,15 @@ The steps below install the tarballs for OpenSSL 3.x on x86_64 architecture. Use
152160
```
153161
154162
??? example "Sample output"
155-
163+
156164
```{.text .no-copy}
157165
psql ({{dockertag}})
158166
Type "help" for help.
159167
160168
postgres=#
161169
```
162-
163-
## Start the components
170+
171+
### Start the components
164172
165173
After you unpacked the tarball and added the location of the components' binaries to the `$PATH` variable, the components are available for use. You can invoke a component by running its command-line tool.
166174

@@ -171,4 +179,3 @@ $ haproxy version
171179
```
172180

173181
Some components require additional setup. Check the [Enabling extensions](enable-extensions.md) page for details.
174-

0 commit comments

Comments
 (0)