Can Redhat's 6.0 ".iso" image be used for obtaining the packages folder from it.
I don't have Redhats CD but I have its image in ISO format. Can it be used for obtaining the 'Packages' folder required to create a yum server. Please help.
I dont have CD Rom in my LAPTOP, therefore I cant write a CD from that image. Thus Help me with some option. |
You can mount the iso image using the -o loop option, then act as it would be a mounted CD. You need to edit the /etc/yum.repos.d/Redhat-Media.repo (not sure about the name, since I have CentOS 6) and set the baseurl key to point to the correct location. You can leave enabled=0 in the configuration file above and use
Code:
yum --enablerepo=r6-media install package |
Thank you for the earliest response. I'll try.
|
All times are GMT -5. The time now is 04:22 AM. |