Prerequisites to install the PEM server on Linux v9
To install a Postgres Enterprise Manager server on Linux, you may need to perform some preliminary configuration:
Configure authentication on the Postgres server by updating the
pg_hba.conf
file. Thepg_hba.conf
file manages connections. Verify that thepg_hba.conf
file allows connections from the PEM server, the monitoring PEM agent, and the host of the Apache web server server. Pointers for configuring access:PEM server connects to the PEM backend database as a superuser using password authentication. On Linux platforms, this requires you to add a new superuser that authenticates using a password.
To allow the new superuser to connect using password authentication, add a line
pg_hba.conf
that allowshost
connections usingmd5
orscram-sha-256
authentication.If you're using EDB Postgres Advanced Server, see Modifying the pg_hba.conf file.
If you're using PostgreSQL, see Client Authentication.
Verify that the
sslutils
extension andhstore contrib
module are installed on your Postgres server.If you're using EDB Postgres Advanced Server, the
hstore contrib
module is installed by default. You can install thesslutils
extension:For RHEL/AlmaLinux/Rocky Linux 8:
Where
<x>
is the EDB Postgres Advanced server version.For RHEL/OL/CentOS 7:
Where
<x>
is the EDB Postgres Advanced server version.For Debian/Ubuntu:
Where
<x>
is the EDB Postgres Advanced server version.For SLES:
Where
<x>
is the EDB Postgres Advanced server version.If you're using PostgreSQL, make sure you have access to the PostgreSQL community repository (yum, apt), and then install the
sslutils
extension and thehstore contrib
module:For RHEL/AlmaLinux/Rocky Linux 8:
Where
<x>
is the Postgres server version.For RHEL/OL/CentOS 7:
Where
<x>
is the Postgres server version.For Debian/Ubuntu:
Where
<x>
is the Postgres server version.For SLES:
Where
<x>
is the Postgres server version.
For Debian and Ubuntu users
The postgres community repository for apt (used by Debian and Ubuntu) does not include
sslutils
and therefore this must be installed from the EDB repository along with PEM.Debian 10 and Ubuntu 20 changed the requirements for accepting certificates.
- If you want to install the PEM agent on a machine with an old version of sslutils, then you must upgrade sslutils to 1.3. Version 1.3 has a 4096-bit RSA key and sha256 signature algorithm support added to it.
- If you don't upgrade sslutils to 1.3, then PEM agent might fail to connect to the PEM backend database server, and it might log the error "ca md too weak."
If you're using a firewall, allow access to port 8443 on the Postgres server:
For RHEL/Rocky Linux/AlmaLinux/OL/CentOS/SLES:
For Debian/Ubuntu:
Make sure the components Postgres Enterprise Manager depends on, such as python3, libboost, openssl (1.0.2k or later), snmp++, and libcurl, are up to date:
For RHEL/AlmaLinux/Rocky Linux 8:
For RHEL/OL/CentOS 7:
For Debian/Ubuntu:
For SLES:
Supported locales
Currently, the Postgres Enterprise Manager server and web interface support a locale of English(US) en_US
and use of a period (.) as a language separator character. Using an alternate locale or a separator character other than a period might cause errors.
- On this page
- Supported locales