giovedì 21 febbraio 2013

RedHat Use CDROM as repository

Try the following To install using yum / DVD:

Mount Redhat 5 DVD on your server/workstation. 

Create a new file xxx.repo in /etc/yum.repos.d/ with the following contents to update directly from the RPMs on the disk:

name=Red Hat 5 DVD

yum groupinstall "GNOME Desktop Environment"

After the installation either remove the created file from /etc/yum.repod.d  or disable it with "enabled=0"

Let me know if this worked for you.

For future use I recommend you to get the license for RHEL (for updates), or installing Fedora Core which is in all ways same product without the paid(license)  support from Red Hat.

in case you get a problem with public key:

In case someone hit this thread like I did:

The provider of your .rpm signed it with its private key to proove it is a genuine file from them.
We can verify it with the public key (but not sign, see wikipedia RSA PKI about public/private keys FYI)

Practically that means you need to find the public key and import it
in my case it was a file named: RPM-GPG-KEY ( from Red HAt distro)

suggestion: find / -name "*GPG*" 

then import the public key with: rpm --import *GPG*
and it should be ok.

In my case:
Public key for is not installed
[root@taz isoCDs]# rpm --import /mounted_RHEL4.6-i386-ES-disc4/RPM-GPG-KEY
[root@taz isoCDs]# yum install

Nessun commento: