Re: CentOS 5.0 - Yum install using the install cd's as the RPM source

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, 2007-11-07 at 10:51 -0800, Mark Pryor wrote:
> Keith,
> --- Keith Christian <keithchristian@xxxxxxxxx> wrote:
> 
> > What is the mechanism or procedure for installing
> > additional packages from the six CentOS 5.0 CD's
> > using Yum, assuming a secured server with no outside
> > internet connection?
> > 
> ><snip>

> Checkout the file
> /etc/yum.repos.d/CentOS-Media.repo
> 
> there are several pre-set mount points for your ISO
> mounts. For my DVD I use /mnt/repo
> 
> I see above you have the right mount for an ISO. Then
> to point YUM to your media repo use
> #yum install SomeRPM --disablerepo=\*
> --enablerepo=c5-media
> 
> if you want to ban external access, the disablerepo
> token is the key.
> 

IIRC, it's not that simple with the 6 CDs. Search the CentOS
forums/lists (google site:centos.org argument IIRC). ISTM that you need
to combine the CDs into a single image.

If so, and network capacity/cost is not an issue, it might be better to
download the DVD image and then loop mount it. Then all works as Mark
wrote.

All this from hazy memory remaining after months of extensive work
hours, so there may be mis-info here, but I hope not.

HTH
--
Bill

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux