cat /etc/yum.repos.d/local.repo
[localrepos]
name=Local Repository
baseurl=file://///mnt/disk
enabled=1
gpgcheck=0
#Here consider that RHEL ISO file being mounted in /mnt/disk directory
#Either we can mount using NFS too to configure Yum Path
Command to mount ISO file in linux
mount -o loop file.iso /mnt/disk
[localrepos]
name=Local Repository
baseurl=file://///mnt/disk
enabled=1
gpgcheck=0
#Here consider that RHEL ISO file being mounted in /mnt/disk directory
#Either we can mount using NFS too to configure Yum Path
Command to mount ISO file in linux
mount -o loop file.iso /mnt/disk
No comments:
Post a Comment