[转载]在线升级CentOS4F到CentOS5F(翻译)
信息来源:邪恶八进制信息安全团队([url]www.eviloctal.com[/url])#rpm -Uvh [url]http://mirror.centos.org/centos/5/os/i386/CentOS/centos-release-notes-5.0.0-2.i386.rpm[/url]
#rpm -Uvh [url]http://mirror.centos.org/centos/5/os/i386/CentOS/centos-release-5-0.0.el5.centos.2.i386.rpm[/url]
#yum clean all
#yum -y upgrade
一下是官方给出的
-----------------------------------------------
Online Upgrade from CentOS-4/Final
The best way to move from CentOS-4 to CentOS-5 is via an installer
upgrade. However if you must do it online, here are some tips to help:
- Remove as many packages as you can, strip it right back to the
original OS if possible
- Backup everything
- Disable all repositories, except the centos-5 OS and Updates repos
- init 3
- shutdown as many services as possible
- download and install the centos-release-5.x rpm, which will update
your yum configs
- run a yum upgade ( not update )
注:升级有危险,备份好重要内容
页:
[1]
