Thursday 18 October 2012

How To Configure Yum in Linux

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


No comments:

Post a Comment