Chen Sheng

岂曰无错 与子偕论 岂曰无正 与子偕证

« SQLite的原子提交原理

利用centos 安装文件(iso)升级到新版本

利用CentOS的DVD安装文件本地更新现有的Centos,速度非常快。

1 将CentOS-4.6-x86_64-binDVD.iso 下载到一个目录
(因为有多台机器需要升级,可以采用nfs)
2 mkdir /mnt/iso
3 mount -t iso9660 -o loop CentOS-4.6-x86_64-binDVD.iso /mnt/iso
4 修改/etc/yum.repos.d/CentOS-Base.repo
将所有mirrorlist改成baseurl=file:///mnt/iso/
5 将gpgcheck=1 改成gpgcheck=0
6 yum remove srptools
(上面那步解决:Error: Missing Dependency: kernel-ib is needed by package srptools)
7 yum upgrade


8 一路选择yes
9 最后# cat /etc/redhat-release
>CentOS release 4.6 (Final)
 

初步升级完成

 

  • 相关文章:

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

最新评论及回复

最近发表

Powered By Z-Blog 1.8 Devo Build 80108

Copyright 2000-2008 @ chensheng.net. All Rights Reserved.
浙ICP备05087059号