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
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