国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統 > Linux > 正文

Rhel 5 升級為centos 5 并配置 yum源

2024-08-28 00:11:04
字體:
來源:轉載
供稿:網友

我的電腦平臺是dell的d620,安裝了rehhat5 client 和windows xp雙系統。

但是感覺rhel 5 使用本地源更新設置比較繁瑣,而且不能更新到最新的包。

在網上搜到了一篇相關的帖子,便按照指導安裝并成功。記錄下安裝過程。

以便備用。

1.配置yum

先把RHEL5自帶的yum包刪除,rpm -qa | grep yum,出來4個包,全部rpm -e 掉,還有一個RedHat-release,這個要—nodeps。然后從http://CentOS.ermly.com/centos/5.1/os/下載CentOS的4個與yum有關的包及centos-release-5-0.0安裝。安裝后的包如下

yum-metadata-parser-1.0-8.fc6

yum-3.0.5-1.el5.centos.5

yum-updatesd-3.0.5-1.el5.centos.5

修改yum的配置文件,vi /etc/yum.repos.d/CentOS-Base.repo

# CentOS-Base.repo

#

# This file uses a new mirrorlist system developed by Lance Davis for CentOS.

# The mirror system uses the connecting IP address of the client and the

# update status of each mirror to pick mirrors that are updated to and

# geographically close to the client.  You should use this for CentOS updates

# unless you are manually picking other mirrors.

#

# If the mirrorlist= does not work for you, as a fall back you can try the

# remarked out baseurl= line instead.

#

#

[base]

name=CentOS-5.1 - Base

baseurl=http://mirror.tini4u.net/centos/5.1/os/$basearch/

http://centos.ustc.edu.cn/centos/5.1/os/$basearch/

http://ftp.daum.net/centos/5.1/os/$basearch/

http://mirror.secuidc.com/centos/5.1/os/$basearch/

http://centos.ermly.com/centos/5.1/os/$basearch/

http://ftp.hostrino.com/pub/centos/5.1/os/$basearch/

gpgcheck=1

gpgkey=http://centos.ermly.com/centos/5.1/os/i386/RPM-GPG-KEY-CentOS-5

#released updates

[updates]

name=CentOS-5.1 - Updates

baseurl=http://mirror.tini4u.net/centos/5.1/os/$basearch/

http://centos.ustc.edu.cn/centos/5.1/os/$basearch/

http://ftp.daum.net/centos/5.1/os/$basearch/

http://mirror.secuidc.com/centos/5.1/os/$basearch/

http://centos.ermly.com/centos/5.1/updates/$basearch/

http://ftp.hostrino.com/pub/centos/5.1/os/$basearch/

gpgcheck=1

gpgkey=http://centos.ermly.com/centos/5.1/os/i386/RPM-GPG-KEY-CentOS-5

#packages used/produced in the build but not released

[addons]

name=CentOS-5.1 - Addons

baseurl=http://mirror.tini4u.net/centos/5.1/os/$basearch/

http://centos.ustc.edu.cn/centos/5.1/os/$basearch/

http://ftp.daum.net/centos/5.1/os/$basearch/

http://mirror.secuidc.com/centos/5.1/os/$basearch/

http://centos.ermly.com/centos/5.1/addons/$basearch/

http://ftp.hostrino.com/pub/centos/5.1/os/$basearch/

gpgcheck=1

gpgkey=http://centos.ermly.com/centos/5.1/os/i386/RPM-GPG-KEY-CentOS-5

#additional packages that may be useful

[extras]

name=CentOS-5.1 - Extras

baseurl=http://mirror.tini4u.net/centos/5.1/os/$basearch/

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 安义县| 漳浦县| 雷州市| 彰武县| 吴桥县| 怀柔区| 孝义市| 德清县| 建昌县| 邢台市| 明水县| 阳原县| 华安县| 穆棱市| 兴城市| 利辛县| 临泉县| 普洱| 九寨沟县| 松潘县| 滁州市| 金乡县| 云和县| 达日县| 海伦市| 成安县| 大同县| 凤凰县| 曲靖市| 铅山县| 澎湖县| 阿拉善右旗| 新乐市| 崇明县| 宣武区| 景德镇市| 榕江县| 桂阳县| 札达县| 股票| 二连浩特市|