---
title: "RedHat linux5.X 替换更新源"
author: "ybbkd2"
date: "2014-11-07T15:26:20Z"
tags: []
categories: ["操作系统"]
slug: "redhat-linux5-x"
draft: false
lastmod: "2014-11-07T15:26:20Z"
id: 2153446
url: "https://ybbkd2.iteye.com/blog/2153446"
---

- cd /etc/yum.repos.d
- wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo
- mv CentOS-Base.repo rhel-debuginfo.repo
- rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5