Preparing the configuration file for Rocky Linux
The patch downloader utility for Rocky Linux runs only on the Rocky Linux server. The utility uses the configuration file that includes the following details:
- Definition of a proxy server (if one is used)
- Temporary directory on the server that is used by the utility during download
- Filter definitions
The utility downloads the metadata and payloads for Rocky Linux based on the information specified in the configuration file.
Before you begin
Make sure that the repository server is of the same version (Rocky Linux 8 or Rocky Linux 9) while creating the (Rocky Linux 8 or Rocky Linux 9) repository respectively.
To prepare the configuration file
- Log in to the Rocky Linux system.
- Edit the sample XML configuration file (sample-rpmlinux-downloader.config) for use as the configuration file.
(Optional) Add the proxy server information using the following XML tags:
The [confluence_table-plus] macro is a standalone macro and it cannot be used inline.
Add download information using the following XML tags:
The [confluence_table-plus] macro is a standalone macro and it cannot be used inline.
Modify filters in the <subscription> tag. These filters define patches that are included for download.
Save the file.
The following file shows some sample data and parameter descriptions (sample-rpmlinux-downloader.config):
What's next
Run the patch downloader utility that uses the configuration file to download the patches. For details, see Running the Patch Downloader utility for rpmLinux.