升级CentOS 4.4到4.8

我是CentOS新手,主要使用FreeBSD。

我如何从版本4.4更新/升级CentOS到4.8?

更新

# yum upgrade 

这次升级只是次要的,还是会升级到5.x?

从4.4升级到4.8只是一个小小的升级,而这只是简单地使用yum来做的事情,事实上,你的CentOS发行版带有默认的yum repos,它应该可以在开箱即用yum upgrade

对于勇敢的灵魂来说,从4.4升级到5.x是一件比较困难的任务;)只要确保在开始在活箱上进行这种升级之前,用一个你并不需要的盒子来练习它。

http://wiki.centos.org/HowTos/MigrationGuide/ServerCD_4.4_to_5试试上面的链接:)

或者如果你有4.8 DVD然后

 Create a dvd.repo text file in /etc/yum.repos.d/ with the following content: [dvd] mediaid=1170972069.396645* name=DVD for RHEL5 baseurl=file:///media/RHEL_5%20i386%20DVD/Server (For example for RHEL 5.5 version baseurl line should look like 'baseurl=file:///media/RHEL_5.5%20i386%20DVD/Serverenabled=1') gpgcheck=0 For Red Hat Enterprise Linux 4.8 In /etc/sysconfig/rhn/sources, comment out the following line: #up2date default This line needs to be commented out otherwise up2date will keep on looking for information using the Red Hat Network first. Next, in the same file, create a line like the following: dir mydvdrepo /media/cdrom/RedHat/RPMS