Yum:Configurando repositorios
Buscando do DVD da RedHat
Crie o arquivo
vi /etc/yum.repos.d/rhel-dvd.repo
Adicione as seguintes entradas
[rhel-dvd] name=Red Hat Enterprise Linux $releasever - $basesearch - DVD baseurl=file:///media/RHEL_6.2\ x86_64\ Disc\ 1/Server/ enabled=1 gpgcheck=1 gpgkey=file:///media/RHEL_6.2\ x86_64\ Disc\ 1/RPM-GPG-KEY-redhat-release
Salve e Feche o arquivo
Buscando de um servidor
vi /etc/yum.repos.d/server.repo
[RHEL_6.0_x86_64_DVD_Server_Repo] name=RHEL $releasever - $basearch baseurl=http://192.168.1.10/RHEL60_x86_64/iso/Server enabled=1 metadata_expire=7d gpgcheck=0
Salve e feche o arquivo