After configuring the rpm-local
repository in Artifactory, you need to configure your local machine to install software packages from it by executing the following steps:
Edit the
artifactory.repo
file with root privilegessudo vi /etc/yum.repos.d/artifactory.repo
Paste the following configuration into the
artifactory.repo
file:[Artifactory] name=Artifactory baseurl=http://localhost:8081/artifactory/rpm-local/ enabled=1 gpgcheck=0
Now, every RPM file deployed to the root of the rpm-local
repository can be installed using:
yum install <package_name>