3.2 Using an RPM Package to Install the PEM Server

Table of Contents Previous Next


3 Installing Postgres Enterprise Manager™ : 3.2 Using an RPM Package to Install the PEM Server

When using an RPM package to install the PEM server, you must first manually install a backing database and create the database cluster. The server's backing database must be installed via an RPM package. The database must be one of the following versions:
The pg_hba.conf file on the backing database must be configured to use trust authentication for connections. For information about modifying the pg_hba.conf file, visit:
You must also install the hstore contrib module; for more information, visit:
Before installing the PEM server, you must create the repository configuration file (edb.repo). The repository configuration file contains connection and authentication information for the EnterpriseDB repository. To prepare your system to perform an RPM installation, assume superuser privileges and use yum to create the repository configuration file:
You must also install the epel-release package. If you are using a CentOS host, use the command:
Please note: If you are a Red Hat Network user you must also enable the rhel-7-server-optional-rpms repository to use EPEL packages; you can make the repository accessible by enabling the RHEL optional subchannel for RHN-Classic. If you have a certificate-based subscription, please see the Red Hat Subscription Management Guide. You must also enable the rhel-7-server-extras-rpms repository.
After creating the repository configuration file, use your choice of editor to enable the repository entries from which you will install packages. The repository configuration file is named edb.repo, and resides in /etc/yum.repos.d. To enable a repository, change the value of the enabled parameter to 1 and replace the username and password placeholders in the baseurl specification with your user name and the repository password.
Before configuring the PEM server, ensure that the sslutils extension is installed for your backing database. For an Advanced Server backing database, enable the repository that corresponds to your server version, and use the command:
yum install edb-asX-server-sslutils
Where X is the server version. If you are using a PostgreSQL backing database, ensure you have access to the PostgreSQL community repository, and use the command:
yum install sslutils_X postgresqlX-contrib
The PEM server installer includes a script (configure-pem-server.sh) to help automate the configuration process for RPM installations. The script is installed in the /usr/edb/pem/bin directory. To invoke the script, use the command:
The data directory path for the PEM backing database.
The directory for the database server installation. For example, /usr/edb/as10 for Advanced Server or /usr/pgsql-10 for PostgreSQL.
The installation type: Specify 1 if the configuration is for web services and backing database, 2 if you are configuring web services, or 3 if you are configuring the backing database. If you specify 3, please note that the database must reside on the local host.
Please note that if the web server and the backing database reside on separate hosts, configure the database server first (option 3), and then web services (option 2). The script will exit if the backing database is not configured before web services.
https://ip_address_of_PEM_server:8443

3 Installing Postgres Enterprise Manager™ : 3.2 Using an RPM Package to Install the PEM Server

Table of Contents Previous Next