From 77ce39f23208772c95f8f2e1dc8e17374c0a13ee Mon Sep 17 00:00:00 2001 From: Anastasia Alexadrova Date: Mon, 26 Feb 2024 21:18:16 +0100 Subject: [PATCH] Added install on ARM64 instructions modified: docs/install/repos.md --- docs/install/repos.md | 65 +++++++++++++++++++++++++++++++------------ 1 file changed, 47 insertions(+), 18 deletions(-) diff --git a/docs/install/repos.md b/docs/install/repos.md index 539692e4..c0084b2f 100644 --- a/docs/install/repos.md +++ b/docs/install/repos.md @@ -9,35 +9,64 @@ To install the software from Percona repositories means to subscribe to them. Pe :material-alert: Warning: Run the following commands as root or via the `sudo` command. {.power-number} -1. [Install `percona-release`](https://www.percona.com/doc/percona-repo-config/installing.html). If you have installed it before, [update](https://www.percona.com/doc/percona-repo-config/updating.html) it to the latest version. +### Configure Percona repository -2. Enable the repository +=== "x86_64" - ```{.bash data-prompt="$"} - $ sudo percona-release enable pbm release - ``` + Percona provides the [`percona-release`](https://docs.percona.com/percona-software-repositories/index.html) configuration tool that simplifies operating repositories and enables to install and update both Percona Backup for MongoDB packages and required dependencies smoothly. + + 1. [Install `percona-release`](https://www.percona.com/doc/percona-repo-config/installing.html). If you have installed it before, [update](https://www.percona.com/doc/percona-repo-config/updating.html) it to the latest version. -3. Install Percona Backup for MongoDB packages + 2. Enable the repository - === "On Debian and Ubuntu" + ```{.bash data-prompt="$"} + $ sudo percona-release enable pbm release + ``` - 1. Reload the local package database: +=== "ARM64" - ```{.bash data-prompt="$"} - $ sudo apt update - ``` + === "On Debian and Ubuntu" + + Create the `/etc/apt/sources.list.d/percona-pbm-release.list ` configuration file with the following contents: + + ```ini title='/etc/apt/sources.list.d/percona-pbm-release.list' + deb http://repo.percona.com/pbm/apt OPERATING_SYSTEM main + ``` + + === "On Red Hat Enterprise Linux and derivatives" + + Create the `/etc/yum.repos.d/percona-pbm-release.repo` configuration file with the following contents: + + ```ini title='/etc/yum.repos.d/percona-pbm-release.repo' + [pbm-release-aarch64] + name = Percona Backup MongoDB release/aarch64 YUM repository + baseurl = http://repo.percona.com/pbm/yum/release/$releasever/RPMS/aarch64 + enabled = 1 + gpgcheck = 1 + gpgkey = file:///etc/pki/rpm-gpg/PERCONA-PACKAGING-KEY + ``` - 2. Install Percona Backup for MongoDB: +### Install Percona Backup for MongoDB packages - ```{.bash data-prompt="$"} - $ sudo apt install percona-backup-mongodb - ``` +=== "On Debian and Ubuntu" - === "On Red Hat Enterprise Linux and derivatives" + 1. Reload the local package database: ```{.bash data-prompt="$"} - $ sudo yum install percona-backup-mongodb - ``` + $ sudo apt update + ``` + + 2. Install Percona Backup for MongoDB: + + ```{.bash data-prompt="$"} + $ sudo apt install percona-backup-mongodb + ``` + +=== "On Red Hat Enterprise Linux and derivatives" + + ```{.bash data-prompt="$"} + $ sudo yum install percona-backup-mongodb + ``` --8<-- "install-result.md"