因为 RHEL 5.4 trial 到期不能 yum,一些安全 BUG 看着不能升级真的感到很疼。于是试着将 RHEL 5.4 转换为 CentOS 5。首先用 root 登录
yum clean all mkdir ~/centos cd ~/centos/ wget wget wget wget wget wget rpm –import RPM-GPG-KEY-CentOS-5 rpm -e –nodeps RedHat-release rpm -e –nodeps yum-rhn-plugin rpm -Uvh –force *.rpm yum clean all rpm –rebuilddb yum update
重启一下,应该就是 CentOS 5.5 咯。
,长江后浪催前浪,一辈新人换旧人。