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:

[dvdmedia]
name=Red Hat 5 DVD
baseurl=file:///path/to/mounted/DVD/rpms/
enabled=1


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 openoffice.org-libs-1.1.5-10.6.0.2.EL4.i386.rpm is not installed
[root@taz isoCDs]# rpm --import /mounted_RHEL4.6-i386-ES-disc4/RPM-GPG-KEY
[root@taz isoCDs]# yum install openoffice.org.i386

giovedì 14 febbraio 2013

Configure the Router to Cisco ios 12.0 Automatically Boot from an Image in Flash Memory


Router# configure terminal
Router(config)# boot system flash gsnew-image
Router(config)# config-register 0x010F
Router(config)# end
Router# copy system:running-config nvram:startup-config
[ok]
Router# reload
[confirm]

%SYS-5-RELOAD: Reload requested
System Bootstrap, Version 4.6(0.16), BETA SOFTWARE
Copyright (c) 1986-1995 by cisco Systems
RP1 processor with 16384 Kbytes of memory
F3: 1871404+45476+167028 at 0x1000