解决redhat关于使用yum时RHN注册失败问题

The easy method make a local repository:


[root@ceping yum.repos.d]# cat cdrom.repo
[cdrom]
name=Red Hat Enterprise Linux $releasever cdrom
#baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo/
baseurl=file:///mnt/Server
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[root@ceping yum.repos.d]# yum update


你可能感兴趣的:(解决redhat关于使用yum时RHN注册失败问题)