Installing on Linux using a local repository v17
If the server on which you want to install EDB Postgres Advanced Server or the supporting components can't directly access the EDB repository, you can create a local repository to act as a host for the EDB Postgres Advanced Server native packages. For your network, modify this process from these high-level steps.
To create and use a local repository, you must:
Use
dnf
to install theepel-release
,yum-utils
, andcreaterepo
packages.On RHEL or Rocky Linux or AlmaLinux 8.x:
Create a directory in which to store the repository:
Copy the RPM installation packages to your local repository. You can download the individual packages or use a tarball to populate the repository. The packages are available from the EDB repository.
Sync the RPM packages, and create the repository.
Install your preferred webserver on the host that acts as your local repository, and ensure that the repository directory is accessible to the other servers on your network.
On each isolated database server, configure yum or dnf to pull updates from the mirrored repository on your local network. For example, you might create a repository configuration file called
/etc/yum.repos.d/edb-repo
with connection information that specifies:
After specifying the location and connection information for your local repository, you can use the dnf command to install EDB Postgres Advanced Server and its supporting components on the isolated servers. For example, on RHEL or Rocky Linux or AlmaLinux 8:
For more information about creating a local yum repository, see the Centos wiki.