Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added install on ARM64 instructions #157

Merged
merged 1 commit into from
Mar 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 47 additions & 18 deletions docs/install/repos.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,35 +9,64 @@ To install the software from Percona repositories means to subscribe to them. Pe
<i warning>:material-alert: Warning:</i> 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"

Expand Down
Loading