Prerequisites to install the PEM server on Linux

Prerequisites to install the PEM server on Linux#

1つのサーバーにPEMをインストールするか、Webアプリケーションサーバーとバックエンドデータベースを2つの別のサーバーにインストールできます。 PEMインストールのためにサーバーを準備する必要があります。

前提条件を完了した後、 Installing and Upgrading および メール通知を設定する PEM。 2つのサーバーを使用している場合は、両方のサーバーにPEMをインストールして構成します。

LinuxにPEMサーバーをインストールするには、次の事前構成を実行します。

  1. バックエンドデータベースとして使用するPEMの supported Postgres instance をインストールします。このインスタンスは、PEM Webアプリケーションに使用するのと同じサーバーまたは別のサーバーにインストールできます。以下の手順2および3で説明するように構成されている場合、既存のPostgresインスタンスを使用することもできます。

  2. pg_hba.conf ファイルを更新することにより、Postgresバックエンドデータベースで認証を構成します。構成する前に、次の変更を手動で行う必要があります。 Managing configuration settings の実行中にこのファイルに追加の変更が行われます。これには、選択したスーパーユーザーにパスワードを使用した認証を許可する必要があります。このユーザーは、構成スクリプトを実行する任意の場所から接続できる必要があります。実際、これは、バックエンドデータベースが存在するサーバーとPEM Webアプリケーションをインストールするサーバーを意味します。それらが異なる場合。

    • 選択したスーパーユーザーがパスワード認証を使用して接続できるようにするには、次の行を追加しますmd5 またはscram-sha-256 認証を使用したhost 接続を許可するpg_hba.conf host all superusername 127.0.0.1/32 scram-sha-256 など。

注釈

EDB Postgres Advanced Serverを使用している場合、 pg_hba.confファイルの変更 を参照してください。

PostgreSQLを使用している場合、 Client Authentication を参照してください。

  1. sslutils 拡張機能がPostgresサーバーにインストールされていることを確認します。 RHEL/AlmaLinux/Rocky LinuxまたはSLESでPostgreSQLまたはEDB Postgres Extended Serverを使用している場合は、hstore contrib モジュールをインストールする必要があります。

    • EDB Postgres Advanced Serverを使用している場合、次のようにsslutils 拡張機能をインストールできます。 <x> は、 EDB Postgres Advancedサーバーバージョンです。

RHEL / AlmaLinux / Rocky Linux 8/9の場合

dnf install edb-as<x>-server-sslutils

RHEL / OL / CentOS 7の場合

yum install edb-as<x>-server-sslutils

Debian / Ubuntuの場合

apt install edb-as<x>-server-sslutils

SLESの場合

edb_notranlate_3

  • PostgreSQLを使用している場合、次のようにsslutils と、必要に応じてhstore モジュールをインストールできます。<x> はPostgreSQLバージョンです。

RHEL / AlmaLinux / Rocky Linux 8/9の場合

dnf install sslutils_<x> postgresql<x>-contrib

RHEL / OL / CentOS 7の場合

yum install sslutils_<x> postgresql<x>-contrib

Debian / Ubuntuの場合

apt install postgresql-<x>-sslutils

SLESの場合

        zypper install sslutils_<x> postgresql<x>-contrib

    -   If youre using EDB Postgres Extended Server, you can install the `sslutils` and, if required, `hstore` modules as follows, where `<x>` is the EDB Postgres Extended Server version.

        For RHEL/AlmaLinux/Rocky Linux 8/9:
```shell dnf install edb-postgresextended<x>-sslutils edb-postgresextended<x>-contrib
For RHEL/OL/CentOS 7:

```shell yum install edb-postgresextended-sslutils edb-postgresextended-contrib

        For Debian/Ubuntu:
``` Shell apt install edb-postgresextended-sslutils-<x>
For SLES:

```shell zypper install edb-postgresextended-sslutils edb-postgresextended-contrib

edb_notranlate_11shell firewall-cmd –permanent –zone=public –add-port=8443/tcp firewall-cmd –reload

edb_notranlate_12shell iptables -t filter -A INPUT -p TCP –dport 8443 -j ACCEPT

5. Make sure the components Postgres Enterprise Manager depends on are up to date on all servers. You can do this by updating the whole system using your package manager as shown below.
   If you prefer to update individual packages, a full list of dependencies is provided in [Dependencies of the PEM Server and Agent on Linux](dependencies.md).

     For RHEL/AlmaLinux/Rocky Linux 8:

```シェルdnfアップグレード
For RHEL/OL/CentOS 7:
For Debian/Ubuntu:

```shell apt-get update

edb_notranlate_16shell zypper update ```

サポートされているロケール#

現在、Postgres Enterprise ManagerサーバーとWebインターフェイスは、 English(US) en_US ロケールと言語区切り文字としてのピリオド.の使用をサポートしています。代替ロケールまたはピリオド以外の区切り文字を使用すると、エラーが発生する場合があります。