Creating an Offline Repository
The pgedge
repository provides packages that provide a simplified way to install pgEdge Enterprise Postgres and its supporting components. You can use a copy of the repository to create an offline repository for use on systems with restricted internet access.
Creating an offline repository requires two systems:
-
One system with internet access to download and create a live model of the repository.
-
One system with access to the machine with internet access; after creating the model on the first host, you will copy the repository to the system without internet access.
You must ensure that both systems have the same OS version and architecture.
- Create a temporary repository on the online machine with the command:
dnf install -y https://dnf.pgedge.com/reporpm/pgedge-release-latest.noarch.rpm
-
Install prerequisite software on the both the host with access and the repository host. For platform-specific details, visit here (opens in a new tab).
-
Download the content of the
pgedge
repository:
sudo dnf -y install --downloadonly --downloaddir=<target_directory>/pgedge-enterprise-all_17 pgedge-*
- After creating the model of the repository on the temporary host, you can transfer the entire repo to the offline repository host.
Using the Repository
Then, to use your local repository, include the localinstall
clause when you invoke dnf
to install packages. For example, to install all of the pgEdge Enterprise Postgres packages:
sudo dnf localinstall pgedge-enterprise-all_17*
To install just the pgEdge Enterprise Postgres packages:
sudo dnf localinstall pgedge-enterprise-postgres_17*
Or, to install each pgEdge component individually, specify a component name; for example, to install Spock, use the command:
sudo dnf localinstall pgedge-spock50_17*