---
title: "CentOS5.4 升级到 5.5 "
author: "menjoy"
date: "2010-06-12T18:05:41Z"
tags: []
categories: ["操作系统"]
slug: "centos5-4-5-5"
draft: false
lastmod: "2010-06-12T18:05:41Z"
id: 690783
url: "https://menjoy.iteye.com/blog/690783"
---

[CentOS5.4 升级到 5.5](http://www.blogjava.net/bukebushuo/archive/2010/06/03/322632.html)

1、先修改更新源为国内的更新源  
\# cd /etc/yum.repos.d  
\# mv CentOS-Base.repo CentOS-Base.repo.save  
\# wget [http://centos.ustc.edu.cn/CentOS-Base.repo](http://centos.ustc.edu.cn/CentOS-Base.repo)  
2、清理残留文件然后更新标准库，再升级

```
# yum clean all

# yum update glibc\*

# yum update yum\* rpm\* python\*

# yum clean all

# yum update

# reboot
```