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]



I have a php script which can make the contents of the DVD available via http. With one download and one lot of disk space, you can have the DVD image and a web install (without the hassle of loop mounting the image).

If you are interested let me know.

John.

Keith Christian wrote:

----- Original Message ----
From: Mark Pryor <tlviewer@xxxxxxxxx>
To: centos@xxxxxxxxxx
Sent: Wednesday, November 7, 2007 11:51:56 AM
Subject: Re:  CentOS 5.0 - Yum install using the install cd's as the RPM source

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?

Debian based distributions are able to use the
package manager to search for and install from the
CD's, and I'm looking for the CentOS equivalent.

Obviously, it's possible to install "manually" from
a CD with:

      mount -t iso9660 /dev/hdc /media/cdrom
      cd /media/cdrom/CentOS
      rpm -U foobar-1.2.3.-4.5.el5.i386.rpm

Yum has such good dependency checking I'd like to
know of a way to use it if possible.



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.



--
John Newbigin
ITS Senior Analyst / Programmer
Faculty of Information and Communication Technologies
Swinburne University of Technology
Melbourne, Australia
http://www.ict.swin.edu.au/staff/jnewbigin
_______________________________________________
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