Friday, August 21, 2015

RHEL7 - Redhat YUM Repo

create a repo with content located at http://192.168.10.110/RHEL7


1. Edit the config file
# vi /etc/yum.repos.d/rhel7.repo

[RHEL7repo]
name = RHEL7 Repo
baseurl = http://192.168.10.110/RHEL7
gpgcheck = 0
enabled = 1


2. List the repo content
# yum clean all
# yum list all
# yum repolist

No comments:

Post a Comment