How to Create a Remote Repository for an Inline with Upstream Stable (IUS) Repository

Sankar Kumar D
2021-11-02 17:48

It's possible to configure the IUS remote repository in Artifactory. However, IUS remote repositories do not support native browsing. Accordingly, your Artifactory tree browser won't be able to list IUS files. You can refer to the below steps and screenshots which shows detailed information for configuring and resolving packages.

 

 1) Create an rpm remote repository by pointing to the target URL i.e https://repo.ius.io/ instead of the complete path to the repodata folder.

                User-added image

 2) Add the client configuration, as follows (you can grab this configuration from remote repository Set Me Up page):

         ~]$ cat /etc/yum.repos.d/artifactory.repo 
           [Artifactory]
           name=Artifactory
           baseurl=http://<ART_URL>:8081/artifactory/Test-rpm-remote/7/x86_64
           enabled=1
           gpgcheck=0
           #Optional - if you have GPG signing keys installed, use the below flags to verify the repository metadata signature:
          #gpgkey=http://<ART_URL>:8081/artifactory/Test-rpm-remote/7/x86_64/repomd.xml.key

 3) Try to install a package. For example:   ~]$ sudo yum install httpd24u

You can track your logs while installing a package. They will show information related to downloading packages from your target repository. When a package has been downloaded using the client, you should be able to see it in your Artifactory tree browser, as below:

              User-added image