How to create a remote repository for Inline with Upstream Stable (IUS) repository?

Sankar Kumar D
2020-08-27 11:06

Subject:

It is possible to configure the IUS remote repository in Artifactory, however, IUS remote repository does not support native browsing, hence tree browser in Artifactory can not list the files from this remote repository. You can refer to below steps and screenshots which shows detailed information for configuring and resolving packages:

Steps to configuring IUS repository:

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

                

 2) Then add the Client configuration like below (We 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) Now, try installing a package, for example:       ~]$ sudo yum install httpd24u

      We can track the logs while installing package which shows info related to downloading packages from the target repository. Once the package is downloaded using client, then we should be able to view downloaded packages from the Artifactory tree browser, like below: