Chitika

Friday, October 9, 2015

How to Create Local YUM repository on RHEL 7 using DVD

In Previous post we have installed RHEL7 64bit on WMware Workstation 11. To install, update and configure more packages we need YUM repository. YUM is a package management tool. In this How-To we are going to use RHEL7 DVD as local Repository. 

First we need to configure the source. 

Mount the CD-ROM to any directory you wish to use. Open Terminal and run following commands.


Now Create a new repo file cdrom.repo under /etc/yum.repos.d directory.


Add the Following lines in local.repo file


Save the file and exit.
Lets test it by installing DHCP


Type Y and Press Enter


All is well. We have successfully created Local Repository and installed a package from Local Repository using YUM.

Cheers :-)


No comments:

Post a Comment