Building local mirrors of the EDB repositories
Suggest editsThese instructions are for yum-based systems, such as RHEL, AlmaLinux, Rocky Linux, and other RPM packaged systems.
Create the local yum repository
Install the packages yum-utils
and createrepo
:
Set up the enterprisedb repository on the server using the instructions in Getting started using repositories with the CLI.
Once the repository is configured, you can check the existence of the repository using dnf repolist
.
The output looks similar to:
After the successful setup of the repository that you want to mirror, you can use dnf reposync
to copy the repository to a local directory. You can pass a number of useful options to dnf reposync
:
--repoid