Installing on Linux using a local repository v15
You can create a local repository to act as a host for the EDB Postgres Advanced Server native packages if the server on which you want to install EDB Postgres Advanced Server or supporting components can't directly access the EDB repository. This is a high-level listing of the steps required. Modify the process for your network.
To create and use a local repository, you must:
Use
yum
ordnf
to install theepel-release
,yum-utils
, andcreaterepo
packages.On RHEL or CentOS 7.x:
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 at https://repos.enterprisedb.com/.
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
ordnf
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 yum
or dnf
commands to install EDB Postgres Advanced Server and its supporting components on the isolated servers. For example:
On RHEL or CentOS 7:
On RHEL or Rocky Linux or AlmaLinux 8:
For more information about creating a local yum
repository, see the Centos wiki.