miércoles, 16 de mayo de 2012
Installing RPMs on a good old Red Hat
I don't have a subscription for RHEL anymore and I want to update my server. What can I do?
CentOs claims to be "binary-compatible" with every RH release. Well, this is not really true, but can be a nice solution for little packages upgrades.
So, I created a file /etc/yum.repos.d/CentOs.repo with the following contents
[CentOS-Base]
name=CentOS-Base
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=os
gpgcheck=1
enabled=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
[CentOS-Updates]
name=CentOS-Updates
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=updates
gpgcheck=1
enabled=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
[CentOS-Plus]
name=CentOS-Plus
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=centosplus
gpgcheck=1
enabled=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
Watch out!!! If you install so many packages, it becomes on a CentOs! :D
Suscribirse a:
Enviar comentarios (Atom)
No hay comentarios:
Publicar un comentario