Friday, 27 April 2012


How to Add RHEL 6 iso as Repository


 1. Mount iso

[root@sheraz ~]# mount -o loop /home/rhel-server-6.0-x86_64-dvd.iso /mnt/

2. Create DVD.repo in /etc/yum.repos.d/ with the following content


[root@sheraz ~]# vi /etc/yum.repos.d/DVD.repo

[DVDREPO]
name=RHEL6 DVD
baseurl=file:///mnt/
enabled=1
gpgcheck=0