Skip to content

Commit

Permalink
Merge pull request #6201 from EnterpriseDB/docs/install/rhel9-arm64-e…
Browse files Browse the repository at this point in the history
…pas-pge-pg

Add install instructions for RHEL9 on ARM64 architecture for all products
  • Loading branch information
nidhibhammar authored Nov 26, 2024
2 parents 0866c0f + 2b413d7 commit 29d0f2d
Show file tree
Hide file tree
Showing 114 changed files with 3,030 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,11 @@ Select a link to access the applicable installation instructions:
- [Ubuntu 22.04](linux_x86_64/edb-dms-reader_ubuntu_22), [Ubuntu 20.04](linux_x86_64/edb-dms-reader_ubuntu_20)

- [Debian 12](linux_x86_64/edb-dms-reader_debian_12), [Debian 11](linux_x86_64/edb-dms-reader_debian_11)

## Linux [AArch64 (ARM64)](linux_arm64)

### Red Hat Enterprise Linux (RHEL) and derivatives

- [RHEL 9](linux_arm64/edb-dms-reader_rhel_9)

- [Oracle Linux (OL) 9](linux_arm64/edb-dms-reader_rhel_9)
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
navTitle: RHEL 9 or OL 9
title: Installing EDB Data Migration Service Reader on RHEL 9 or OL 9 arm64
---

## Prerequisites

Before you begin the installation process:

- Set up the EDB repository.

Setting up the repository is a one-time task. If you have already set up your repository, you don't need to perform this step.

To determine if your repository exists, enter this command:

`dnf repolist | grep enterprisedb`

If no output is generated, the repository isn't installed.

To set up the EDB repository:

1. Go to [EDB repositories](https://www.enterprisedb.com/repos-downloads).

1. Select the button that provides access to the EDB repository.

1. Select the platform and software that you want to download.

1. Follow the instructions for setting up the EDB repository.

## Install the package

Install the EDB DMS Reader (packaged as `cdcreader`):

```shell
sudo dnf install cdcreader
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: "Installing EDB Data Migration Service Reader on Linux AArch64 (ARM64)"
navTitle: "On Linux ARM64"
indexCards: none

navigation:
- edb-dms-reader_rhel_9
---

Operating system-specific install instructions are described in the corresponding documentation:

### Red Hat Enterprise Linux (RHEL) and derivatives

- [RHEL 9](edb-dms-reader_rhel_9)

- [Oracle Linux (OL) 9](edb-dms-reader_rhel_9)
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ Select a link to access the applicable installation instructions:

## Linux [AArch64 (ARM64)](linux_arm64)

### Red Hat Enterprise Linux (RHEL) and derivatives

- [RHEL 9](linux_arm64/postgresql_rhel_9)

- [Oracle Linux (OL) 9](linux_arm64/postgresql_rhel_9)

### Debian and derivatives

- [Debian 12](linux_arm64/postgresql_debian_12)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,18 @@ navTitle: "On Linux ARM64"
indexCards: none

navigation:
- postgresql_rhel_9
- postgresql_debian_12
---

Operating system-specific install instructions are described in the corresponding documentation:

### Red Hat Enterprise Linux (RHEL) and derivatives

- [RHEL 9](postgresql_rhel_9)

- [Oracle Linux (OL) 9](postgresql_rhel_9)

### Debian and derivatives

- [Debian 12](postgresql_debian_12)
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
navTitle: RHEL 9 or OL 9
title: Installing PostgreSQL on RHEL 9 or OL 9 arm64
---

## Prerequisites

Before you begin the installation process:

- Set up the EDB repository.

!!! Note
Rather than use the EDB repository, you can obtain PostgreSQL installers and installation packages from the [PostgreSQL community downloads page](https://www.postgresql.org/download/).
!!!

Setting up the repository is a one-time task. If you have already set up your repository, you don't need to perform this step.

To determine if your repository exists, enter this command:

`dnf repolist | grep enterprisedb`

If no output is generated, the repository isn't installed.

To set up the EDB repository:

1. Go to [EDB repositories](https://www.enterprisedb.com/repos-downloads).

1. Select the button that provides access to the EDB repository.

1. Select the platform and software that you want to download.

1. Follow the instructions for setting up the EDB repository.

- Install the EPEL repository:

```shell
sudo dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
```

- Enable additional repositories to resolve dependencies:
```shell
ARCH=$( /bin/arch ) subscription-manager repos --enable "codeready-builder-for-rhel-9-${ARCH}-rpms"
```
- Disable the built-in PostgreSQL module:
```shell
dnf -qy module disable postgresql
```

## Install the package

```shell
sudo dnf -y install postgresql<xx>-server postgresql<xx>-contrib
```

Where `<xx>` is the version of PostgreSQL you are installing. For example, if you are installing version 16, the package name would be `postgresql16-server postgresql16-contrib`.
62 changes: 61 additions & 1 deletion install_template/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ products:
- name: RHEL 9 or OL 9
arch: x86_64
supported versions: [2]
- name: RHEL 9 or OL 9
arch: arm64
supported versions: [2]
- name: Debian 11
arch: x86_64
supported versions: [2]
Expand Down Expand Up @@ -39,6 +42,9 @@ products:
- name: RHEL 9
arch: ppc64le
supported versions: [42.7.3.2]
- name: RHEL 9 or OL 9
arch: arm64
supported versions: [42.7.3.2]
- name: AlmaLinux 9 or Rocky Linux 9
arch: x86_64
supported versions: [42.7.3.2]
Expand Down Expand Up @@ -77,6 +83,9 @@ products:
- name: RHEL 9 or OL 9
arch: x86_64
supported versions: [55]
- name: RHEL 9 or OL 9
arch: arm64
supported versions: [55]
- name: AlmaLinux 9 or Rocky Linux 9
arch: x86_64
supported versions: [55]
Expand Down Expand Up @@ -127,6 +136,9 @@ products:
- name: RHEL 9 or OL 9
arch: x86_64
supported versions: [14, 15, 16, 17]
- name: RHEL 9 or OL 9
arch: arm64
supported versions: [14, 15, 16, 17]
- name: Debian 11
arch: x86_64
supported versions: [14, 15, 16, 17]
Expand Down Expand Up @@ -168,6 +180,9 @@ products:
- name: RHEL 9 or OL 9
arch: x86_64
supported versions: [13, 16]
- name: RHEL 9 or OL 9
arch: arm64
supported versions: [13, 16]
- name: Debian 11
arch: x86_64
supported versions: [13, 16]
Expand Down Expand Up @@ -208,7 +223,10 @@ products:
supported versions: [1]
- name: RHEL 9 or OL 9
arch: x86_64
supported versions: [1]
supported versions: [1]
- name: RHEL 9 or OL 9
arch: arm64
supported versions: [1]
- name: Debian 11
arch: x86_64
supported versions: [1]
Expand Down Expand Up @@ -250,6 +268,9 @@ products:
- name: RHEL 9 or OL 9
arch: x86_64
supported versions: [4]
- name: RHEL 9 or OL 9
arch: arm64
supported versions: [4]
- name: Debian 11
arch: x86_64
supported versions: [4]
Expand Down Expand Up @@ -291,6 +312,9 @@ products:
- name: RHEL 9 or OL 9
arch: x86_64
supported versions: [4]
- name: RHEL 9 or OL 9
arch: arm64
supported versions: [4]
- name: Debian 11
arch: x86_64
supported versions: [4]
Expand Down Expand Up @@ -326,6 +350,9 @@ products:
- name: RHEL 9 or OL 9
arch: x86_64
supported versions: [11, 12, 13, 14, 15, 16, 17]
- name: RHEL 9 or OL 9
arch: arm64
supported versions: [13, 14, 15, 16, 17]
- name: RHEL 9
arch: ppc64le
supported versions: [11, 12, 13, 14, 15, 16, 17]
Expand Down Expand Up @@ -367,6 +394,9 @@ products:
- name: RHEL 9 or OL 9
arch: x86_64
supported versions: [15, 16, 17]
- name: RHEL 9 or OL 9
arch: arm64
supported versions: [15, 16, 17]
- name: Debian 12
arch: x86_64
supported versions: [16, 17]
Expand Down Expand Up @@ -396,6 +426,9 @@ products:
- name: RHEL 9 or OL 9
arch: x86_64
supported versions: [41]
- name: RHEL 9 or OL 9
arch: arm64
supported versions: [41]
- name: RHEL 9
arch: ppc64le
supported versions: [41]
Expand Down Expand Up @@ -440,6 +473,9 @@ products:
- name: RHEL 9
arch: ppc64le
supported versions: [4]
- name: RHEL 9 or OL 9
arch: arm64
supported versions: [4]
- name: RHEL 8
arch: ppc64le
supported versions: [4]
Expand Down Expand Up @@ -478,6 +514,9 @@ products:
- name: RHEL 9 or OL 9
arch: x86_64
supported versions: [2]
- name: RHEL 9 or OL 9
arch: arm64
supported versions: [2]
- name: RHEL 9
arch: ppc64le
supported versions: [2]
Expand Down Expand Up @@ -519,6 +558,9 @@ products:
- name: RHEL 9 or OL 9
arch: x86_64
supported versions: [5]
- name: RHEL 9 or OL 9
arch: arm64
supported versions: [5]
- name: RHEL 9
arch: ppc64le
supported versions: [5]
Expand Down Expand Up @@ -560,6 +602,9 @@ products:
- name: RHEL 9 or OL 9
arch: x86_64
supported versions: [2]
- name: RHEL 9 or OL 9
arch: arm64
supported versions: [2]
- name: Ubuntu 22.04
arch: x86_64
supported versions: [2]
Expand Down Expand Up @@ -601,6 +646,9 @@ products:
- name: RHEL 9 or OL 9
arch: x86_64
supported versions: [3.4.2]
- name: RHEL 9 or OL 9
arch: arm64
supported versions: [3.4.2]
- name: Ubuntu 22.04
arch: x86_64
supported versions: [3.4.2]
Expand Down Expand Up @@ -642,6 +690,9 @@ products:
- name: RHEL 9 or OL 9
arch: x86_64
supported versions: [9]
- name: RHEL 9 or OL 9
arch: arm64
supported versions: [9]
- name: RHEL 9
arch: ppc64le
supported versions: [9]
Expand Down Expand Up @@ -683,6 +734,9 @@ products:
- name: RHEL 9 or OL 9
arch: x86_64
supported versions: [9]
- name: RHEL 9 or OL 9
arch: arm64
supported versions: [9]
- name: RHEL 9
arch: ppc64le
supported versions: [9]
Expand Down Expand Up @@ -730,6 +784,9 @@ products:
- name: RHEL 9 or OL 9
arch: x86_64
supported versions: [15, 16]
- name: RHEL 9 or OL 9
arch: arm64
supported versions: [15, 16]
- name: Debian 12
arch: x86_64
supported versions: [15, 16]
Expand Down Expand Up @@ -765,6 +822,9 @@ products:
- name: RHEL 9 or OL 9
arch: x86_64
supported versions: [7]
- name: RHEL 9 or OL 9
arch: arm64
supported versions: [7]
- name: Debian 11
arch: x86_64
supported versions: [7]
Expand Down
2 changes: 1 addition & 1 deletion install_template/templates/platformBase/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Select a link to access the applicable installation instructions:

{{archInstall("IBM Power (ppc64le)", "ppc64le", ["RHEL", "SLES"])}}

{{archInstall("AArch64 (ARM64)", "arm64", ["Debian"])}}
{{archInstall("AArch64 (ARM64)", "arm64", ["RHEL", "OL", "Debian"])}}
{% endblock linuxinstall %}

{% block otherosinstall %}
Expand Down
3 changes: 3 additions & 0 deletions install_template/templates/products/edb*plus/rhel-9_arm64.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{% extends "products/edb*plus/base.njk" %}
{% set platformBaseTemplate = "rhel-9-or-ol-9" %}
{% block prerequisites %}{% endblock prerequisites %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{% extends "platformBase/arm64_index.njk" %}
{% set productShortname="edb-dms-reader" %}

{% block frontmatter %}
deployPath: advocacy_docs/edb-postgres-ai/migration-etl/data-migration-service/getting_started/installing/linux_arm64/index.mdx
indexCards: none
{% endblock frontmatter %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{% extends "products/edb-data-migration-service-reader/rhel-9-or-ol-9.njk" %}

Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
{% block frontmatter %}
deployPath: jdbc_connector/{{ product.version }}/installing/linux_arm64/index.mdx
{% endblock frontmatter %}

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{% extends "products/edb-jdbc-connector/base.njk" %}
{% set platformBaseTemplate = "rhel-9-or-ol-9" %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{% extends "products/edb-ocl-connector/base.njk" %}
{% set platformBaseTemplate = "rhel-9-or-ol-9" %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{% extends "products/edb-odbc-connector/base.njk" %}
{% set platformBaseTemplate = "rhel-9-or-ol-9" %}
Loading

1 comment on commit 29d0f2d

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.