首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >将CentOS 4.4升级到4.8

将CentOS 4.4升级到4.8
EN

Server Fault用户
提问于 2011-01-28 10:00:53
回答 2查看 864关注 0票数 2

我是CentOS的新手,主要和FreeBSD合作过。

如何将CentOS从4.4版升级到4.8版?

更新

代码语言:javascript
复制
# yum upgrade

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

EN

回答 2

Server Fault用户

回答已采纳

发布于 2011-01-28 10:19:01

从4.4升级到4.8是一个小的升级,这应该是相当直接的,只要使用yum,实际上,对于您的CentOS发行版附带的默认yum repos,它应该是开箱即用的yum upgrade

对勇敢的灵魂来说,从4.4升级到5.x是一项比较困难的任务;)在启动这种升级之前,一定要用一个你并不真正需要的盒子来练习它。

票数 4
EN

Server Fault用户

发布于 2011-01-28 10:08:23

以上链接中的http://wiki.centos.org/HowTos/MigrationGuide/ServerCD_4.4_至_5尝试:)

或者如果您有4.8dvd然后如下所示

代码语言:javascript
复制
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
票数 1
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/228028

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档