我是CentOS的新手,主要和FreeBSD合作过。
如何将CentOS从4.4版升级到4.8版?
# yum upgrade这个升级只是次要的,还是会升级到5.x?
发布于 2011-01-28 10:19:01
从4.4升级到4.8是一个小的升级,这应该是相当直接的,只要使用yum,实际上,对于您的CentOS发行版附带的默认yum repos,它应该是开箱即用的yum upgrade。
对勇敢的灵魂来说,从4.4升级到5.x是一项比较困难的任务;)在启动这种升级之前,一定要用一个你并不真正需要的盒子来练习它。
发布于 2011-01-28 10:08:23
以上链接中的http://wiki.centos.org/HowTos/MigrationGuide/ServerCD_4.4_至_5尝试:)
或者如果您有4.8dvd然后如下所示
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/RPMShttps://serverfault.com/questions/228028
复制相似问题