|
| 1 | +# Install {{eol}} packages |
| 2 | + |
| 3 | +This document provides guidelines on installing Percona Server packages for MySQL from Percona repositories. For more information, see [{{post}}](https://www.percona.com/mysql-8-0-eol-support/). |
| 4 | + |
| 5 | +Version {{release}} contains fixes as part of the [MySQL 8.0 post-EOL support from Percona], available to paying customers. |
| 6 | + |
| 7 | +Community members can [build this release from the source](compile-percona-server.md) from publicly available source code, which is released quarterly. |
| 8 | + |
| 9 | +For instructions for binary tarballs, see [Download a {{eol}} binary tarball](tarball-eol.md). |
| 10 | + |
| 11 | +## Procedure |
| 12 | + |
| 13 | +1. Request access to the {{post}} repository from [Percona Support](https://www.percona.com/services/support/mysql-support) to receive the client ID and the access token needed to download the packages. |
| 14 | + |
| 15 | +2. Configure the repository and install Percona Server for MySQL packages |
| 16 | + |
| 17 | + === "Using apt (Debian, Ubuntu)" |
| 18 | + |
| 19 | + 1. Download the Percona `gpg` key: |
| 20 | + |
| 21 | + ```{.bash .data-prompt="$"} |
| 22 | + $ wget https://github.com/percona/percona-repositories/raw/main/deb/percona-keyring.gpg |
| 23 | + ``` |
| 24 | + |
| 25 | + 2. Add the Percona `gpg` key to `trusted.gpg.d` directory: |
| 26 | + |
| 27 | + ```{.bash .data-prompt="$"} |
| 28 | + $ sudo cp percona-keyring.gpg /etc/apt/trusted.gpg.d/ |
| 29 | + ``` |
| 30 | + |
| 31 | + 3. Create the `/etc/apt/sources.list.d/post-eol.list` configuration file with the following contents with your [CLIENTID] and [TOKEN]. |
| 32 | + |
| 33 | + To get the `OPERATING_SYSTEM` value, run `lsb_release -sc`. |
| 34 | + |
| 35 | + ```ini title="/etc/apt/sources.list.d/post-eol.list" |
| 36 | + deb http://repo.percona.com/private/[CLIENTID]-[TOKEN]/ps-80-eol/apt/ OPERATING_SYSTEM main |
| 37 | + ``` |
| 38 | + |
| 39 | + 4. Update the local cache |
| 40 | + |
| 41 | + ```{.bash .data-prompt="$"} |
| 42 | + $ sudo apt update |
| 43 | + ``` |
| 44 | + |
| 45 | + 5. Install Percona Server for MySQL packages |
| 46 | + |
| 47 | + ```{.bash .data-prompt="$"} |
| 48 | + $ sudo apt install -y percona-server-server |
| 49 | + ``` |
| 50 | + |
| 51 | + Install other required packages. |
| 52 | + |
| 53 | + === "Using yum (RHEL and other yum-based derivatives)" |
| 54 | + |
| 55 | + 1. Create the `/etc/yum.repos.d/post-eol.repo` configuration file with the following contents with your [CLIENTID] and [TOKEN]. |
| 56 | + |
| 57 | + ```ini title="/etc/yum.repos.d/post-eol.repo" |
| 58 | + baseurl=http://repo.percona.com/private/[Clientid]-[Token]/ps-80-eol/yum/release/$releasever/RPMS/x86_64 |
| 59 | + enabled=1 |
| 60 | + gpgkey = https://repo.percona.com/yum/PERCONA-PACKAGING-KEY |
| 61 | + ``` |
| 62 | + |
| 63 | + 2. Install Percona Server for MySQL packages |
| 64 | + |
| 65 | + ```{.bash .data-prompt="$"} |
| 66 | + $ sudo yum install -y percona-server-server |
| 67 | + ``` |
| 68 | + |
| 69 | +[MySQL 8.0 post-EOL support from Percona]: https://www.percona.com/mysql-8-0-eol-support/ |
0 commit comments