标签:
HP 4411s Install Red Hat Enterprise Linux 5.8)
pick up from http://blog.chinaunix.net/uid-423637-id-3387338.html
cd /etc/yum.repos.d/
cp rhel-debuginfo.repo rhel-debuginfo.repo.bk
gedit rhel-debuginfo.repo
[base]
name=Red Hat Enterprise Linux 5.8 -Base
baseurl=http://mirrors.163.com/centos/5/os/$basearch/
gpgcheck=1
[update]
name=Red Hat Enterprise Linux 5.8 -Updates
baseurl=http://mirrors.163.com/centos/5/updates/$basearch/
gpgcheck=1
[extras]
name=Red Hat Enterprise Linux 5.8 -Extras
baseurl=http://mirrors.163.com/centos/5/extras/$basearch/
gpgcheck=1
[addons]
name=Red Hat Enterprise Linux 5.8 -Addons
baseurl=http://mirrors.163.com/centos/5/addons/$basearch/
gpgcheck=1
cd /etc/pki/rpm-gpg
wget http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-5
rpm -import /etc/pki/rpm-gpg/RPM-GPG-KEY*
变更RHEL(Red Hat Enterprise Linux 5.8)更新源使之自动更新
标签:
原文地址:http://www.cnblogs.com/rgqancy/p/4375585.html