+1 vote
in Linux by
How can we create a local Yum repository in the location /media with the use of mounted Linux ISO image?

1 Answer

0 votes
by

To create the local yum repository you have to create the files ending with extension .repo in the location /etc/yum.repos.d

  • Syntax: [root@localhost yum.repos.d]# cat local.repo
  • [local]
  • name=RHEL6.5
  • baseurl=file:///media
  • enabled=1
  • gpgcheck=1
  • gpgkey=file:///media/RPM-GPG-KEY-redhat-release

Related questions

+1 vote
asked Feb 18, 2021 in Linux by SakshiSharma
...